/*
 * Shared foundation for the standard modern product-detail surface.
 * Keep every rule behind body.pdp-modern-page so legacy purchase contracts
 * retain their existing layout and typography.
 * The released goods surface consumes the same identity and purchase tokens.
 */
html:has(> body.pdp-modern-page) {
    overflow-x: clip;
}

@media (max-width: 767px) {
    /* Keep the full-bleed gallery and the page in the same viewport width. */
    html:has(> body.pdp-modern-page) {
        scrollbar-width: none;
    }

    html:has(> body.pdp-modern-page)::-webkit-scrollbar {
        display: none;
    }
}

/*
 * 2026 premium commerce coherence pass
 * Shared visual contract for product identity, lower sections and responsive
 * product storytelling. The purchase model and legacy business behavior remain
 * untouched; this layer only owns hierarchy and presentation.
 */
body.pdp-modern-page {
    --pdp-page-gutter: 24px;
    --pdp-rail-wide: 1000px;
    --pdp-rail-story: 800px;
    --pdp-rail-portrait: var(--pdp-rail-story);
    --pdp-rail-copy: 720px;
    --pdp-reading-width: var(--pdp-rail-copy);
    --pdp-section-width: var(--pdp-rail-wide);
    --pdp-copy-width: var(--pdp-rail-copy);
    --pdp-portrait-width: var(--pdp-rail-portrait);
    --pdp-shadow-card: 0 8px 24px rgba(36, 31, 26, .045);
}

body.pdp-modern-page .pdp-hero-grid {
    display: grid;
    width: 100%;
    grid-template-columns: var(--pdp-hero-media-width) minmax(0, var(--pdp-hero-purchase-width));
    gap: var(--pdp-grid-gutter);
    align-items: start;
}

body.pdp-modern-page .pdp-hero-gallery,
body.pdp-modern-page .pdp-hero-purchase {
    min-width: 0;
}

body.pdp-modern-page .pdp-hero-purchase .product_detail_right_all_wrapper {
    width: 100% !important;
    max-width: 100%;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-product-eyebrow {
    margin: 0 0 6px;
    color: var(--pdp-subtle);
    font-size: var(--pdp-type-meta-size);
    font-weight: 500;
    line-height: var(--pdp-type-meta-line);
    letter-spacing: 0;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-product-title {
    font-weight: 700;
    letter-spacing: -.04em;
}

body.pdp-modern-page .pdp-product-shell--with-back {
    padding-top: 16px !important;
}

body.pdp-modern-page .pdp-product-back-link {
    display: inline-flex;
    height: 34px;
    width: 36px;
    min-width: 36px;
    margin: 0 0 8px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 6px;
    color: var(--pdp-ink);
    line-height: 1;
    text-decoration: none;
    box-sizing: border-box;
    transition: background-color 120ms ease, color 120ms ease;
}

body.pdp-modern-page .pdp-product-back-link svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

body.pdp-modern-page .pdp-product-back-link:hover {
    background: #f1f3f5;
    color: var(--pdp-ink);
}

body.pdp-modern-page .pdp-product-back-link:focus-visible {
    border-radius: 4px;
    outline: 2px solid var(--pdp-color-focus);
    outline-offset: 4px;
}

body.pdp-modern-page .pdp-product-back-row {
    width: min(var(--pdp-shell-width, 1000px), calc(100% - (var(--pdp-page-gutter, 24px) * 2)));
    height: 34px;
    margin: 16px auto 8px;
}

body.pdp-modern-page .pdp-product-back-row .pdp-product-back-link {
    margin: 0;
}

@media (max-width: 768px) {
    body.pdp-modern-page .pdp-product-shell--with-back {
        padding-top: 0 !important;
    }

    body.pdp-modern-page .pdp-product-back-link {
        display: none !important;
    }

    body.pdp-modern-page .pdp-product-back-row {
        display: none !important;
    }
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-product-meta-row {
    margin: var(--pdp-space-8) 0 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-product-code {
    margin: 0;
    color: var(--pdp-subtle);
    font-size: var(--pdp-type-body-size);
    font-weight: var(--pdp-type-body-weight);
    line-height: var(--pdp-type-body-line);
    letter-spacing: -.01em;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-product-meta-row .pd_prod_icon_group {
    gap: 4px;
    margin: 0 !important;
    padding: 0 !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdDesc {
    max-width: 42em;
    color: var(--pdp-muted);
    font-size: var(--pdp-type-body-size);
    line-height: var(--pdp-type-body-line);
}

body.pdp-modern-page .pdp-purchase-actions__grid [data-pdp-action="order"]::after,
body.pdp-modern-page .pdp-purchase-dock [data-pdp-action="order"]::after {
    width: 7px;
    height: 7px;
    margin-left: 8px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    content: '';
    transform: rotate(45deg);
}

body.pdp-modern-page .pdp-section-nav {
    min-height: 54px;
    margin-top: 40px;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

body.pdp-modern-page .pdp-section-nav__back {
    width: 54px;
    min-width: 54px;
    min-height: 54px;
    flex-basis: 54px;
}

body.pdp-modern-page .pdp-section-nav a {
    min-height: 54px;
    font-size: var(--pdp-type-action-size, 16px);
}

body.pdp-modern-page .pdp-section-nav a.is-active::after,
body.pdp-modern-page .pdp-section-nav a[aria-current="location"]::after {
    width: 34px;
    height: 2px;
}

body.pdp-modern-page .pdp-semantic-section > .pdp-section-heading {
    padding-top: var(--pdp-section-top, 72px);
    padding-bottom: var(--pdp-section-title-gap, 12px);
    border-bottom: 0;
    font-size: var(--pdp-type-section-size, 24px);
    line-height: var(--pdp-type-section-line, 34px);
    letter-spacing: -.02em;
}

body.pdp-modern-page .pdp-section-description {
    width: var(--pdp-section-width);
    max-width: calc(100% - 40px);
    margin: 0 auto 32px;
    padding-right: min(280px, 24vw);
    color: var(--pdp-muted);
    font-size: var(--pdp-type-body-size, 15px);
    line-height: var(--pdp-type-body-line, 24px);
    letter-spacing: -.015em;
    box-sizing: border-box;
}

body.pdp-modern-page .pdp-section-heading__meta {
    display: inline-flex;
    min-width: 24px;
    min-height: 24px;
    margin-left: 10px;
    padding: 0 8px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--pdp-accent);
    background: #f3eef4;
    font-size: var(--pdp-type-meta-size);
    font-weight: 700;
    line-height: var(--pdp-type-meta-line);
    vertical-align: 3px;
    box-sizing: border-box;
}

body.pdp-modern-page #pdp-detail > .pdp-section-description {
    margin-bottom: 28px;
}

body.pdp-modern-page #pdp-reviews > :is(
    .pdp-review-overview,
    .prd_review_gallery,
    .after_list_write_group
) {
    width: var(--pdp-section-width);
    max-width: calc(100% - 40px);
    margin-right: auto;
    margin-left: auto;
}

body.pdp-modern-page .pdp-review-overview {
    display: grid;
    min-height: 78px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 16px 0;
    border-top: 1px solid var(--pdp-line);
    border-bottom: 1px solid var(--pdp-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    box-sizing: border-box;
}

body.pdp-modern-page .pdp-review-overview__score {
    min-width: 0;
}

body.pdp-modern-page .pdp-review-overview__rating {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

body.pdp-modern-page .pdp-review-overview__rating svg {
    width: 19px;
    height: 19px;
    align-self: center;
    fill: var(--pdp-accent);
}

body.pdp-modern-page .pdp-review-overview__rating strong {
    color: var(--pdp-ink);
    font-size: var(--pdp-type-section-size);
    font-weight: 700;
    line-height: var(--pdp-type-section-line);
    letter-spacing: -.045em;
}

body.pdp-modern-page .pdp-review-overview__rating span,
body.pdp-modern-page .pdp-review-overview__score > span {
    color: var(--pdp-muted);
    font-size: var(--pdp-type-body-size);
    font-weight: var(--pdp-type-value-weight);
    line-height: var(--pdp-type-body-line);
}

body.pdp-modern-page .pdp-review-overview__count {
    display: grid;
    gap: 2px;
    padding-right: 22px;
    border-right: 1px solid var(--pdp-line);
}

body.pdp-modern-page .pdp-review-overview__count strong {
    color: var(--pdp-ink);
    font-size: var(--pdp-type-section-size);
    font-weight: var(--pdp-type-section-weight);
    line-height: var(--pdp-type-section-line);
    letter-spacing: -.045em;
}

body.pdp-modern-page .pdp-review-overview__count span,
body.pdp-modern-page .pdp-review-overview__copy span {
    color: var(--pdp-muted);
    font-size: var(--pdp-type-body-size);
    line-height: var(--pdp-type-body-line);
}

body.pdp-modern-page .pdp-review-overview__copy {
    min-width: 0;
}

body.pdp-modern-page .pdp-review-overview__copy strong {
    color: var(--pdp-ink);
    font-size: var(--pdp-type-body-size);
    font-weight: var(--pdp-type-value-weight);
    line-height: var(--pdp-type-body-line);
}

body.pdp-modern-page .pdp-review-overview__copy span {
    font-size: var(--pdp-type-body-size);
    line-height: var(--pdp-type-body-line);
}

body.pdp-modern-page .pdp-review-overview__signals {
    display: flex;
    margin-top: 7px;
    flex-wrap: wrap;
    gap: 7px;
}

body.pdp-modern-page .pdp-review-overview__signals span {
    display: inline-flex;
    min-height: 26px;
    padding: 0 10px;
    align-items: center;
    border: 0;
    border-radius: 999px;
    color: #59636f;
    background: #fff;
    font-size: var(--pdp-type-body-size);
    font-weight: 600;
    line-height: var(--pdp-type-body-line);
}

body.pdp-modern-page .pdp-review-overview__action {
    display: inline-flex;
    min-width: 104px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--pdp-color-control);
    border-radius: 8px;
    background: #fff;
    color: var(--pdp-ink);
    font-size: var(--pdp-type-action-size);
    font-weight: var(--pdp-type-action-weight);
    text-decoration: none;
}

body.pdp-modern-page .pdp-review-overview__action:hover {
    border-color: var(--pdp-color-control-hover);
    background: #fff;
}

body.pdp-modern-page #pdp-reviews .prd_review_gallery {
    margin-top: 28px;
}

body.pdp-modern-page #pdp-reviews .after_list_write_group {
    margin-top: 24px;
}

body.pdp-modern-page .sampleBasketDock {
    display: none !important;
}

body.pdp-modern-page #pdp-events .pdp-events__header {
    display: flex;
    width: var(--pdp-section-width, 1000px);
    max-width: calc(100% - (var(--pdp-page-gutter, 20px) * 2));
    margin: 0 auto 32px;
    padding-top: var(--pdp-section-top, 72px);
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

body.pdp-modern-page #pdp-events .pdp-events__heading-copy {
    display: grid;
    min-width: 0;
    gap: 7px;
}

body.pdp-modern-page #pdp-events .pdp-events__header :is(.pdp-section-heading, .pdp-section-description) {
    width: auto;
    max-width: none;
    margin: 0;
}

body.pdp-modern-page #pdp-events .pdp-events__header .pdp-section-heading {
    padding: 0;
    border-bottom: 0;
}

body.pdp-modern-page #pdp-events .pdp-events__all {
    display: inline-flex;
    min-height: 32px;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    color: var(--pdp-ink);
    font-size: var(--pdp-type-action-size);
    font-weight: var(--pdp-type-action-weight);
    text-decoration: none;
}

body.pdp-modern-page #pdp-events .pdp-events__all::after {
    width: 6px;
    height: 6px;
    border-top: 1.4px solid currentColor;
    border-right: 1.4px solid currentColor;
    content: '';
    transform: rotate(45deg);
}

body.pdp-modern-page #pdp-events > .tab_content {
    width: var(--pdp-reading-width);
    max-width: calc(100% - 40px);
    margin-right: auto;
    margin-left: auto;
}

body.pdp-modern-page #pdp-events .tab_event_info {
    display: flex;
    width: 100%;
    flex-wrap: nowrap;
    gap: 14px;
    padding-top: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: none;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
}

body.pdp-modern-page #pdp-events .tab_event_info::-webkit-scrollbar {
    display: none;
}

body.pdp-modern-page #pdp-events .tab_event_info a {
    display: flex;
    width: calc((100% - 28px) / 3);
    min-height: 0;
    padding: 0;
    overflow: hidden;
    flex: 0 0 calc((100% - 28px) / 3);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    border: 1px solid var(--pdp-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: none;
    text-decoration: none;
    scroll-snap-align: start;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

body.pdp-modern-page #pdp-events .tab_event_info a:hover {
    border-color: #cfd3d8;
    box-shadow: var(--pdp-shadow-card);
    transform: translateY(-2px);
}

/* Block surface focus: reuse the hover border and underline the event title; no outer box. */
body.pdp-modern-page #pdp-events .tab_event_info a:focus-visible {
    border-color: #cfd3d8;
    outline: none;
}

body.pdp-modern-page #pdp-events .tab_event_info a:focus-visible .pdp-event-card__body strong {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

body.pdp-modern-page #pdp-events .tab_event_info a::before,
body.pdp-modern-page #pdp-events .tab_event_info a::after {
    content: none;
}

body.pdp-modern-page #pdp-events .pdp-event-card__media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--pdp-soft);
}

body.pdp-modern-page #pdp-events .tab_event_info .pdp-event-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.pdp-modern-page #pdp-events .pdp-event-card__body {
    display: grid;
    min-height: 128px;
    gap: 5px;
    padding: 17px 18px 19px;
    box-sizing: border-box;
}

body.pdp-modern-page #pdp-events .pdp-event-card__body small {
    color: var(--pdp-accent);
    font-size: var(--pdp-type-micro-size);
    font-weight: 700;
    line-height: var(--pdp-type-micro-line);
    letter-spacing: .06em;
}

body.pdp-modern-page #pdp-events .pdp-event-card__body strong {
    color: var(--pdp-ink);
    font-size: var(--pdp-type-body-size);
    font-weight: var(--pdp-type-value-weight);
    line-height: var(--pdp-type-body-line);
}

body.pdp-modern-page #pdp-events .pdp-event-card__body > span {
    color: var(--pdp-muted);
    font-size: var(--pdp-type-body-size);
    font-weight: var(--pdp-type-body-weight);
    line-height: var(--pdp-type-body-line);
}

body.pdp-modern-page .pdp-related-products {
    padding-top: var(--pdp-section-top, 72px);
    padding-bottom: var(--pdp-section-top, 72px);
}

body.pdp-modern-page .pdp-related-products__header {
    align-items: flex-end;
}

body.pdp-modern-page .pdp-related-products__heading-copy {
    display: grid;
    gap: 5px;
}

body.pdp-modern-page .pdp-related-products__all {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    gap: 8px;
    color: var(--pdp-ink);
    font-size: var(--pdp-type-action-size);
    font-weight: var(--pdp-type-action-weight);
    text-decoration: none;
}

body.pdp-modern-page .pdp-related-products__all::after {
    width: 6px;
    height: 6px;
    border-top: 1.4px solid currentColor;
    border-right: 1.4px solid currentColor;
    content: '';
    transform: rotate(45deg);
}

body.pdp-modern-page .ui-similar-product-card {
    border-color: var(--pdp-line);
    border-radius: 12px;
}

body.pdp-modern-page .ui-similar-product-card__body {
    min-height: 82px;
}

body.pdp-modern-page .ui-similar-product-card__price {
    color: var(--pdp-muted);
    font-size: var(--pdp-type-body-size);
}

@media (min-width: 768px) and (max-width: 1099px) {
    body.pdp-modern-page .pdp-hero-grid {
        width: min(520px, 100%);
        margin-right: auto;
        margin-left: auto;
        grid-template-columns: minmax(0, 520px);
        gap: 32px;
    }
}

@media (max-width: 767px) {
    body.pdp-modern-page .pdp-hero-grid {
        display: block;
    }

    body.pdp-modern-page .tbl1_wrapper #product_detail_price_area {
        padding-top: 26px !important;
    }

    body.pdp-modern-page .pdp-modern-purchase-surface .pdp-product-eyebrow {
        margin-bottom: 6px;
        font-size: var(--pdp-type-body-size);
        line-height: var(--pdp-type-body-line);
    }

    body.pdp-modern-page .pdp-modern-purchase-surface .product_view_name {
        padding-bottom: 20px;
    }

    body.pdp-modern-page .pdp-mobile-section-heading {
        padding: var(--pdp-section-top, 56px) 20px var(--pdp-section-title-gap, 8px);
        font-size: var(--pdp-type-section-size);
        line-height: var(--pdp-type-section-line);
        letter-spacing: -.035em;
    }

    body.pdp-modern-page .pdp-mobile-section-description {
        margin: 0;
        padding: 0 20px 24px;
        color: var(--pdp-muted);
        font-size: var(--pdp-type-body-size);
        line-height: var(--pdp-type-body-line);
        letter-spacing: -.015em;
        box-sizing: border-box;
    }

    body.pdp-modern-page .pdp-mobile-review-reward {
        display: block;
        width: 100%;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    body.pdp-modern-page .pdp-mobile-review-reward__cta {
        display: flex;
        width: 100%;
        min-height: 64px;
        padding: 12px 16px;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        border: 1px solid var(--pdp-color-control);
        border-radius: 10px;
        color: var(--pdp-ink);
        background: #fff;
        box-sizing: border-box;
    }

    body.pdp-modern-page .pdp-mobile-review-reward__cta-copy {
        display: flex;
        min-width: 0;
        flex: 1 1 auto;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        text-align: left;
    }

    body.pdp-modern-page .pdp-mobile-review-reward__cta-copy small {
        max-width: 100%;
        overflow: hidden;
        color: var(--pdp-muted);
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.pdp-modern-page #pd_event.pdp-mobile-semantic-section > article > .article_content {
        padding-right: 0;
        padding-left: 0;
    }

    body.pdp-modern-page #pd_event.pdp-mobile-semantic-section .pd_event_list {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        gap: 12px;
        padding: 0 20px 8px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-padding-inline: 20px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        box-sizing: border-box;
    }

    body.pdp-modern-page #pd_event.pdp-mobile-semantic-section .pd_event_list::-webkit-scrollbar {
        display: none;
    }

    body.pdp-modern-page #pd_event.pdp-mobile-semantic-section .pdp-mobile-event-card {
        flex: 0 0 min(82vw, 310px);
        overflow: hidden;
        border: 1px solid var(--pdp-line);
        border-radius: 12px;
        scroll-snap-align: start;
    }

    body.pdp-modern-page #pd_event.pdp-mobile-semantic-section .pdp-mobile-event-card__media {
        border-radius: 0;
    }

    body.pdp-modern-page #pd_event.pdp-mobile-semantic-section .pdp-mobile-event-card__body {
        padding: 15px 16px 18px;
    }

    body.pdp-modern-page #pd_event.pdp-mobile-semantic-section .pd_event_more {
        margin: 14px 20px 0;
    }

    body.pdp-modern-page .pdp-related-products {
        margin-top: 0;
        padding-top: var(--pdp-section-top, 56px);
        padding-bottom: var(--pdp-section-top, 56px);
    }

    body.pdp-modern-page .pdp-related-products__header {
        display: flex;
        margin-bottom: 18px;
        align-items: flex-end;
        gap: 16px;
    }

    body.pdp-modern-page .pdp-related-products__all {
        flex: 0 0 auto;
        font-size: var(--pdp-type-action-size);
    }

    body.pdp-modern-page .pdp-related-products__description {
        font-size: var(--pdp-type-body-size);
        line-height: var(--pdp-type-body-line);
    }

    body.pdp-modern-page .pdp-section-nav {
        min-height: 50px;
        margin-top: 24px;
    }

    body.pdp-modern-page .pdp-section-nav a {
        min-height: 50px;
        padding-right: 8px;
        padding-left: 8px;
        font-size: var(--pdp-type-action-size);
    }
}

@media (max-width: 520px) {
    body.pdp-modern-page .pdp-review-overview {
        min-height: 0;
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        padding: 22px 20px;
    }

    body.pdp-modern-page .pdp-review-overview__score {
        display: flex;
        padding: 0 0 18px;
        align-items: center;
        justify-content: space-between;
        border-right: 0;
        border-bottom: 1px solid var(--pdp-line);
    }

    body.pdp-modern-page .pdp-review-overview__rating strong {
        font-size: var(--pdp-type-section-size);
        line-height: var(--pdp-type-section-line);
    }

    body.pdp-modern-page .pdp-review-overview__action {
        grid-column: 1 / -1;
    }
}

body.pdp-modern-page {
    --pdp-font-family: var(--bj-font-family);

    --pdp-color-ink: #181817;
    --pdp-color-muted: #66635e;
    --pdp-color-subtle: #726e69;
    --pdp-color-quiet: #726e69;
    --pdp-color-line: var(--bj-line, #ece9e6);
    --pdp-color-control: var(--bj-line-strong, #938d86);
    --pdp-color-control-hover: #726e69;
    --pdp-color-control-open: #726e69;
    --pdp-color-soft: #f5f5f3;
    --pdp-color-panel: #f5f5f3;
    --pdp-color-information-surface: var(--bj-information-surface);
    --pdp-color-accent: #5b554f;
    --pdp-color-focus: #735e77;
    --pdp-color-badge-neutral-bg: #f2f4f6;
    --pdp-color-badge-neutral-ink: #626b75;
    --pdp-color-badge-selpick-bg: #f4eef5;
    --pdp-color-badge-selpick-ink: #735e77;
    --pdp-color-badge-new-bg: #edf6f3;
    --pdp-color-badge-new-ink: #356d64;
    --pdp-color-badge-warm-bg: #f8f0eb;
    --pdp-color-badge-warm-ink: #87533f;
    --pdp-color-badge-soldout-bg: #f8ecef;
    --pdp-color-badge-soldout-ink: #a44355;

    --pdp-ink: var(--pdp-color-ink);
    --pdp-muted: var(--pdp-color-muted);
    --pdp-subtle: var(--pdp-color-subtle);
    --pdp-line: var(--pdp-color-line);
    --pdp-soft: var(--pdp-color-soft);
    --pdp-accent: var(--pdp-color-accent);

    --pdp-radius-control: 6px;
    --pdp-radius-card: 8px;
    --pdp-radius-modal: 18px;
    --pdp-radius-pill: 999px;
    --pdp-shadow-card: 0 8px 24px rgba(36, 31, 26, .045);
    --pdp-shadow-dock: 0 -8px 28px rgba(36, 31, 26, .08);

    --pdp-space-4: 4px;
    --pdp-space-8: 8px;
    --pdp-space-12: 12px;
    --pdp-space-16: 16px;
    --pdp-space-20: 20px;
    --pdp-space-24: 24px;
    --pdp-space-32: 32px;
    --pdp-space-40: 40px;
    --pdp-space-48: 48px;
    --pdp-space-56: 56px;
    --pdp-space-64: 64px;

    --pdp-page-gutter: 24px;
    --pdp-rail-wide: 1000px;
    --pdp-rail-story: 800px;
    --pdp-rail-portrait: var(--pdp-rail-story);
    --pdp-rail-copy: 720px;
    --pdp-shell-width: var(--pdp-rail-wide);
    --pdp-section-width: var(--pdp-rail-wide);
    --pdp-reading-width: var(--pdp-rail-copy);
    --pdp-copy-width: var(--pdp-rail-copy);
    --pdp-portrait-width: var(--pdp-rail-portrait);
    --pdp-grid-columns: 12;
    --pdp-grid-gutter: 48px;
    --pdp-hero-media-width: 520px;
    --pdp-hero-purchase-width: 432px;
    --pdp-field-label-width: 112px;
    --pdp-field-gap: 16px;
    --pdp-control-height: 44px;
    --pdp-thumbnail-selection-width: 1.5px;
    --pdp-thumbnail-selection-color: #514e4a;
    --pdp-thumbnail-selection-radius: 8px;
    --pdp-section-top: 72px;
    --pdp-section-title-gap: 8px;

    /*
     * Product detail uses a denser desktop editorial scale than catalog pages.
     * Mobile returns to the shared touch-first scale in the responsive override.
     */
    --pdp-type-page-scale: 26px;
    --pdp-type-section-scale: 26px;
    --pdp-type-subsection-scale: 18px;
    --pdp-type-body-scale: 15px;
    --pdp-type-action-scale: 15px;
    --pdp-type-decision-size: var(--pdp-type-page-scale);
    --pdp-type-decision-line: var(--bj-type-page-line);
    --pdp-type-purchase-content-size: var(--pdp-type-body-scale);
    --pdp-type-purchase-content-line: var(--bj-type-body-line);
    --pdp-type-purchase-action-size: var(--pdp-type-action-scale);
    --pdp-type-purchase-action-line: var(--bj-type-action-line);
    --pdp-type-utility-size: var(--pdp-type-body-scale);
    --pdp-type-utility-line: var(--bj-type-body-line);
    --pdp-type-badge-size: 12px;
    --pdp-type-badge-line: 18px;
    --pdp-type-product-size: var(--bj-type-product-name, 24px);
    --pdp-type-product-line: var(--bj-type-product-name-line, 1.4);
    --pdp-type-section-size: var(--pdp-type-section-scale);
    --pdp-type-section-line: var(--bj-type-section-line);
    --pdp-type-subsection-size: var(--pdp-type-subsection-scale);
    --pdp-type-subsection-line: var(--bj-type-subsection-line);
    --pdp-type-action-size: var(--pdp-type-action-scale);
    --pdp-type-action-line: var(--bj-type-action-line);
    --pdp-type-body-size: var(--pdp-type-body-scale);
    --pdp-type-body-line: var(--bj-type-body-line);
    --pdp-type-label-size: var(--pdp-type-body-size);
    --pdp-type-label-line: var(--pdp-type-body-line);
    --pdp-type-caption-size: var(--pdp-type-body-size);
    --pdp-type-caption-line: var(--pdp-type-body-line);
    --pdp-type-meta-size: var(--pdp-type-body-size);
    --pdp-type-meta-line: var(--pdp-type-body-line);
    --pdp-type-micro-size: var(--pdp-type-body-size);
    --pdp-type-micro-line: var(--pdp-type-body-line);
    --pdp-type-local-nav-size: 16px;
    --pdp-type-local-nav-line: 24px;
    --pdp-type-total-price-size: var(--pdp-type-decision-size);
    --pdp-type-total-price-line: var(--pdp-type-decision-line);
    --pdp-type-total-price-unit-size: 14px;
    --pdp-type-button-size: var(--pdp-type-action-scale);
    --pdp-type-button-line: var(--bj-type-action-line);
    --pdp-type-product-weight: var(--bj-type-page-weight);
    --pdp-type-section-weight: var(--bj-type-section-weight);
    --pdp-type-subsection-weight: var(--bj-type-subsection-weight);
    --pdp-type-body-weight: var(--bj-type-body-weight);
    --pdp-type-value-weight: var(--bj-type-control-weight);
    --pdp-type-nav-weight: var(--bj-type-nav-weight);
    --pdp-type-action-weight: var(--bj-type-action-weight);
    --pdp-icon-chevron-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%23726e69' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    --pdp-icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m3.5 8.2 2.8 2.8 6.2-6.2' stroke='%23735e77' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

    background-color: #fff;
    color: var(--pdp-ink);
    font-family: var(--pdp-font-family);
    font-weight: var(--pdp-type-body-weight);
    font-synthesis: none;
    overflow-x: clip;
    overflow-y: visible;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.pdp-modern-page .pdp-modern-purchase-surface {
    --pdp-type-body-size: var(--pdp-type-purchase-content-size);
    --pdp-type-body-line: var(--pdp-type-purchase-content-line);
    --pdp-type-utility-size: var(--pdp-type-body-scale);
    --pdp-type-utility-line: var(--bj-type-body-line);
    --pdp-type-label-size: var(--pdp-type-utility-size);
    --pdp-type-label-line: var(--pdp-type-utility-line);
    --pdp-type-caption-size: var(--pdp-type-utility-size);
    --pdp-type-caption-line: var(--pdp-type-utility-line);
    --pdp-type-meta-size: var(--pdp-type-utility-size);
    --pdp-type-meta-line: var(--pdp-type-utility-line);
    --pdp-type-micro-size: var(--pdp-type-utility-size);
    --pdp-type-micro-line: var(--pdp-type-utility-line);
}

body.pdp-modern-page #document_middle,
body.pdp-modern-page #document_middle *,
body.pdp-modern-page .tbl1_wrapper,
body.pdp-modern-page .tbl1_wrapper *,
body.pdp-modern-page .product_photo_slide,
body.pdp-modern-page .product_photo_slide *,
body.pdp-modern-page #productTabMenu,
body.pdp-modern-page #productTabMenu *,
body.pdp-modern-page .pdp-purchase-dock,
body.pdp-modern-page .pdp-purchase-dock * {
    font-family: var(--pdp-font-family) !important;
}

body.pdp-modern-page #product_detail_bottom_area {
    font-family: var(--pdp-font-family) !important;
}

body.pdp-modern-page :is(
    .pdp-semantic-lower-content,
    #product_detail_bottom_area,
    #productTabMenu,
    #pdp-mobile-similar-products
) :where(h1, h2, h3, h4, p, span, strong, em, small, a, button, li, dt, dd, th, td, summary, label) {
    font-family: var(--pdp-font-family) !important;
}

body.pdp-modern-page .pdp-product-shell {
    width: var(--pdp-shell-width) !important;
    max-width: 100%;
}

body.pdp-modern-page .pdp-semantic-section > .pdp-section-heading {
    width: var(--pdp-section-width);
    max-width: calc(100% - 40px);
    margin-right: auto;
    margin-left: auto;
}

body.pdp-modern-page .pdp-production-process {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
    border-bottom: 0;
}

/* Legacy detail tabs span the viewport; their process rail has no constrained
   parent. Direct-child unified sections already own their rail and stay fluid. */
body.pdp-modern-page #pdp-production > .tab_content > .pdp-production-process {
    width: var(--pdp-section-width, 1000px);
    max-width: calc(100% - (var(--pdp-page-gutter, 24px) * 2));
    margin-right: auto;
    margin-left: auto;
}

body.pdp-modern-page #document_middle *,
body.pdp-modern-page .tbl1_wrapper *,
body.pdp-modern-page .pdp-purchase-dock * {
    box-sizing: border-box;
}

body.pdp-modern-page #header_top_fixed_banner_bar_area,
body.pdp-modern-page #header_top_fixed_banner_bar_area .header_top_fixed_banner_bar_box {
    background: #f5f4f3;
}

body.pdp-modern-page #header_top_fixed_banner_bar_area {
    border-bottom: 1px solid #ecebea;
}

body.pdp-modern-page #header_top_fixed_banner_bar_area .bannerText {
    color: #555b63;
    font-family: var(--pdp-font-family);
    font-size: var(--pdp-type-caption-size);
    font-weight: 600;
    line-height: var(--pdp-type-caption-line);
}

body.pdp-modern-page #header_top_fixed_banner_bar_area .closeBtn {
    opacity: .6;
    filter: invert(1);
}

/* Shared purchase hierarchy */
body.pdp-modern-page .pdp-modern-purchase-surface .product_view_name {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 0 18px;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdNameGroup,
body.pdp-modern-page .pdp-modern-purchase-surface .pdNameGroup > ul,
body.pdp-modern-page .pdp-modern-purchase-surface .consumerPriceRow,
body.pdp-modern-page .pdp-modern-purchase-surface .consumerPriceRow > ul {
    width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdNameGroup li:first-of-type {
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdNameGroup > ul {
    align-items: flex-start;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pd_prod_icon_group {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding-top: 0;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-product-title {
    margin: 0;
    color: var(--pdp-ink);
    font-size: var(--pdp-type-product-size);
    font-weight: 700;
    line-height: var(--pdp-type-product-line);
    letter-spacing: -.04em;
}

body.pdp-modern-page .pdp-product-badge {
    display: inline-flex;
    height: var(--pdp-type-badge-line);
    align-items: center;
    padding: 0 6px;
    border: 0;
    border-radius: 999px;
    background: var(--pdp-color-badge-neutral-bg);
    color: var(--pdp-color-badge-neutral-ink);
    font-size: var(--pdp-type-badge-size);
    font-weight: 500;
    line-height: var(--pdp-type-badge-line);
    letter-spacing: .01em;
    box-sizing: border-box;
    white-space: nowrap;
}

body.pdp-modern-page .pdp-product-badge--selpick {
    background: var(--pdp-color-badge-selpick-bg);
    color: var(--pdp-color-badge-selpick-ink);
}

body.pdp-modern-page .pdp-product-badge--new {
    background: var(--pdp-color-badge-new-bg);
    color: var(--pdp-color-badge-new-ink);
}

body.pdp-modern-page .pdp-product-badge--sale,
body.pdp-modern-page .pdp-product-badge--order {
    background: var(--pdp-color-badge-warm-bg);
    color: var(--pdp-color-badge-warm-ink);
}

body.pdp-modern-page .pdp-product-badge--soldout {
    background: var(--pdp-color-badge-soldout-bg);
    color: var(--pdp-color-badge-soldout-ink);
}

body.pdp-modern-page .pdp-participation-benefits {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding: 8px 10px;
    border: 0;
    border-radius: 6px;
    /* 참여 혜택과 구매 혜택은 같은 정보 표면 색을 사용한다. */
    background: var(--pdp-color-information-surface);
    color: var(--pdp-ink, #26323c);
    font-size: 12px;
    line-height: 18px;
}

body.pdp-modern-page .pdp-participation-benefits__label {
    flex: 0 0 auto;
    color: var(--pdp-muted, #6d747b);
    font-weight: 600;
}

body.pdp-modern-page .pdp-participation-benefits__actions {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

body.pdp-modern-page .pdp-participation-benefits__actions::-webkit-scrollbar {
    display: none;
}

body.pdp-modern-page .pdp-participation-benefits__action {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    color: inherit;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

body.pdp-modern-page .pdp-participation-benefits__action + .pdp-participation-benefits__action::before {
    width: 1px;
    height: 12px;
    margin: 0 6px;
    background: var(--pdp-line, #ded9d2);
    content: '';
}

body.pdp-modern-page .pdp-participation-benefits__action--coupon {
    color: var(--pdp-color-badge-selpick-ink, #735e77);
}

body.pdp-modern-page .pdp-participation-benefits__action:is(:hover, :focus-visible) span:first-child {
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 767px) {
    body.pdp-modern-page .pdp-participation-benefits {
        gap: 8px;
        margin-top: 10px;
        padding: 7px 9px;
    }

    body.pdp-modern-page .pdp-participation-benefits__action + .pdp-participation-benefits__action::before {
        margin: 0 5px;
    }
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdDesc {
    max-width: 100%;
    margin-top: 8px;
    color: var(--pdp-muted);
    font-size: var(--pdp-type-utility-size);
    font-weight: 400;
    line-height: var(--pdp-type-utility-line);
    letter-spacing: -.01em;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-product-eyebrow {
    margin: 0 0 6px;
    color: var(--pdp-subtle);
    font-size: var(--pdp-type-body-size);
    font-weight: var(--pdp-type-body-weight);
    line-height: var(--pdp-type-body-line);
    letter-spacing: 0;
}

body.pdp-modern-page .pdp-modern-purchase-surface .consumerPriceRow > ul {
    display: grid !important;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: var(--pdp-space-16) 0;
    border-top-color: var(--pdp-line);
}

body.pdp-modern-page .pdp-modern-purchase-surface .consumerPriceRow li:first-of-type {
    display: flex;
    width: 100% !important;
    min-width: 0;
    align-items: center;
}

body.pdp-modern-page .pdp-modern-purchase-surface .consumerPriceRow li:last-of-type {
    display: flex;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    align-items: baseline;
    gap: var(--pdp-space-4);
    justify-self: end;
    text-align: right !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface :is(.orderQtyRow, .consumerPhotoEditRow, #productSpecArea > div[class*="Row"]) > ul > li:first-child {
    color: var(--pdp-muted);
    font-size: var(--pdp-type-label-size);
    font-weight: var(--pdp-type-body-weight);
    line-height: var(--pdp-type-label-line);
}


body.pdp-modern-page .pdp-modern-purchase-surface .productDeliveryRow.ompFamRow > ul > li:first-child {
    color: var(--pdp-ink);
    font-size: var(--pdp-type-label-size);
    font-weight: var(--pdp-type-body-weight);
    line-height: var(--pdp-type-label-line);
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-sticker-composition {
    display: grid;
    gap: 8px;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-sticker-composition-row > ul {
    align-items: start;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-sticker-composition__summary {
    color: var(--pdp-ink);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-sticker-composition__details > summary {
    width: fit-content;
    color: var(--pdp-muted);
    font-size: 13px;
    line-height: 1.5;
    cursor: pointer;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-sticker-composition__details > p {
    margin: 8px 0 0;
    color: var(--pdp-muted);
    font-size: 13px;
    line-height: 1.65;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-quantity-block > ul {
    align-items: start !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-quantity-block__body {
    display: grid;
    min-width: 0;
    gap: var(--pdp-space-8);
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-quantity-block__summary {
    width: 100%;
    overflow: hidden;
    border-radius: var(--pdp-radius-control);
    background: var(--pdp-color-information-surface);
}

body.pdp-modern-page .pdp-modern-purchase-surface :is(.orderQtyRow, .consumerPhotoEditRow) > ul,
body.pdp-modern-page .pdp-modern-purchase-surface #productSpecArea > div[class*="Row"] > ul {
    display: grid !important;
    width: 100% !important;
    min-height: 0;
    margin-right: 0 !important;
    margin-left: 0 !important;
    grid-template-columns: var(--pdp-field-label-width) minmax(0, 1fr);
    column-gap: var(--pdp-field-gap);
    align-items: center;
    padding-top: var(--pdp-space-12);
    padding-bottom: var(--pdp-space-12);
}

body.pdp-modern-page .pdp-modern-purchase-surface :is(.orderQtyRow, .consumerPhotoEditRow) {
    width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

/*
 * Some invitation designs use a custom design picker instead of a native
 * select. Keep that picker in the same purchase-field system as quantity:
 * one grid rhythm, one control shape, and one option-menu treatment.
 */
body.pdp-modern-page .pdp-modern-purchase-surface #design_choice_group_div {
    width: 100%;
}

body.pdp-modern-page .pdp-modern-purchase-surface #design_choice_group_div .designChoiceGroup > ul {
    display: grid !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    grid-template-columns: var(--pdp-field-label-width) minmax(0, 1fr);
    column-gap: var(--pdp-field-gap);
    align-items: center !important;
    padding: var(--pdp-space-12) 0 !important;
    border-top: 0 !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface #design_choice_group_div .designChoiceGroup > ul > li {
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    color: var(--pdp-muted) !important;
    font-size: var(--pdp-type-label-size) !important;
    font-weight: var(--pdp-type-body-weight) !important;
    line-height: var(--pdp-type-label-line) !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface #design_choice_group_div .designChoiceGroup > ul > li:last-child {
    width: 100% !important;
    color: var(--pdp-ink) !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface #design_select_wrap {
    width: 100%;
    font-size: var(--pdp-type-body-size);
    font-weight: 500;
    line-height: var(--pdp-type-body-line);
}

body.pdp-modern-page .pdp-modern-purchase-surface #design_select {
    display: flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    padding: 0 38px 0 12px;
    border: 1px solid var(--pdp-color-control);
    border-radius: var(--pdp-radius-control);
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%23726e69' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-position: right 12px center;
    background-size: 16px 16px;
    color: var(--pdp-ink);
    font-size: var(--pdp-type-body-size);
    font-weight: 500;
    line-height: var(--pdp-type-body-line);
    cursor: pointer;
}

body.pdp-modern-page .pdp-modern-purchase-surface #design_select:hover {
    border-color: var(--pdp-ink);
}

body.pdp-modern-page .pdp-modern-purchase-surface #design_select:focus-visible {
    outline: 2px solid var(--pdp-ink);
    outline-offset: 2px;
}

body.pdp-modern-page .pdp-modern-purchase-surface #design_select[aria-expanded="true"] {
    border-color: var(--pdp-ink);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 10 4-4 4 4' stroke='%23726e69' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

body.pdp-modern-page .pdp-modern-purchase-surface #design_select .design_select_obj {
    width: 100%;
}

body.pdp-modern-page .pdp-modern-purchase-surface #design_select .design_select_obj_name {
    justify-content: flex-start;
    text-align: left !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface #design_select .design_select_obj_name > div {
    color: var(--pdp-ink);
    font-size: var(--pdp-type-body-size);
    font-weight: 500;
    line-height: var(--pdp-type-body-line);
}

body.pdp-modern-page .pdp-modern-purchase-surface #design_select_div {
    top: calc(100% + 6px);
    overflow: hidden;
    border: 1px solid var(--pdp-color-control);
    border-radius: var(--pdp-radius-control);
    background: #fff;
    box-shadow: 0 10px 24px rgba(38, 50, 60, 0.14);
}

body.pdp-modern-page .pdp-modern-purchase-surface #design_select_ul {
    max-height: 240px;
    overflow-y: auto;
    border: 0 !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface #design_select_ul > li {
    min-height: 64px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--pdp-line);
    color: var(--pdp-ink) !important;
    cursor: pointer;
}

body.pdp-modern-page .pdp-modern-purchase-surface #design_select_ul > li:last-child {
    border-bottom: 0;
}

body.pdp-modern-page .pdp-modern-purchase-surface #design_select_ul > li:hover,
body.pdp-modern-page .pdp-modern-purchase-surface #design_select_ul > li:focus-visible {
    background: var(--pdp-color-panel);
    outline: 0;
}

body.pdp-modern-page .pdp-modern-purchase-surface #design_select_ul .design_select_obj {
    gap: 12px;
}

body.pdp-modern-page .pdp-modern-purchase-surface #design_select_ul .design_select_obj_name,
body.pdp-modern-page .pdp-modern-purchase-surface #design_select_ul .design_select_obj_name > div {
    color: var(--pdp-ink);
    font-size: var(--pdp-type-body-size);
    font-weight: 500;
    line-height: var(--pdp-type-body-line);
}

@media (max-width: 767px) {
    body.pdp-modern-page .pdp-modern-purchase-surface #design_choice_group_div .designChoiceGroup > ul {
        grid-template-columns: minmax(0, 1fr);
        row-gap: var(--pdp-space-8);
    }

    body.pdp-modern-page .pdp-modern-purchase-surface #design_select {
        min-height: 52px;
    }
}

body.pdp-modern-page .pdp-modern-purchase-surface :is(.orderQtyRow, .consumerPhotoEditRow, #productSpecArea > div[class*="Row"]) > ul > li {
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface :is(.orderQtyRow, .consumerPhotoEditRow, #productSpecArea > div[class*="Row"]) > ul > li:last-child {
    width: 100% !important;
    color: var(--pdp-ink);
    font-size: var(--pdp-type-body-size) !important;
    font-weight: 400 !important;
    line-height: var(--pdp-type-body-line) !important;
    text-align: left !important;
    justify-self: stretch;
}

body.pdp-modern-page .pdp-modern-purchase-surface #productSpecArea > div[class*="Row"]:not(.productDeliveryRow) > ul > li:last-child {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

body.pdp-modern-page .pdp-included-benefits {
    width: 100%;
    overflow: visible;
    border: 0;
    border-radius: var(--pdp-radius-control);
    background: var(--pdp-color-information-surface);
}

body.pdp-modern-page .pdp-included-benefits > summary {
    display: grid;
    min-height: 58px;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: var(--pdp-space-8);
    padding: var(--pdp-space-16) 12px var(--pdp-space-16) 14px;
    color: var(--pdp-ink);
    cursor: pointer;
    list-style: none;
    border-radius: inherit;
    transition: background-color 160ms ease;
}

body.pdp-modern-page .pdp-included-benefits > summary::-webkit-details-marker {
    display: none;
}

/* Block surface focus: the benefits disclosure row underlines its title; no box. */
body.pdp-modern-page .pdp-included-benefits > summary:focus-visible {
    outline: none;
}

body.pdp-modern-page .pdp-included-benefits > summary:focus-visible strong {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

body.pdp-modern-page .pdp-included-benefits > summary:hover {
    background: #f4f5f4;
}

body.pdp-modern-page .pdp-included-benefits__copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

body.pdp-modern-page .pdp-included-benefits__copy strong {
    color: var(--pdp-ink);
    font-size: var(--pdp-type-utility-size);
    font-weight: var(--pdp-type-subsection-weight);
    line-height: var(--pdp-type-utility-line);
    word-break: keep-all;
    text-wrap: balance;
}

body.pdp-modern-page .pdp-included-benefits__copy > span {
    min-width: 0;
    overflow: hidden;
    color: var(--pdp-color-quiet);
    font-size: var(--pdp-type-micro-size);
    font-weight: var(--pdp-type-body-weight);
    line-height: var(--pdp-type-micro-line);
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.pdp-modern-page .pdp-included-benefits__meta,
body.pdp-modern-page .pdp-included-benefits__item-tail {
    display: inline-flex;
    align-items: center;
    gap: var(--pdp-space-8);
}

body.pdp-modern-page .pdp-included-benefits__free {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    color: var(--pdp-color-muted);
    font-size: var(--pdp-type-micro-size);
    font-weight: var(--pdp-type-value-weight);
    line-height: var(--pdp-type-micro-line);
    white-space: nowrap;
}

body.pdp-modern-page .pdp-included-benefits__chevron {
    width: 7px;
    height: 7px;
    border-right: 1.5px solid var(--pdp-subtle);
    border-bottom: 1.5px solid var(--pdp-subtle);
    transform: rotate(45deg) translateY(-2px);
    transition: transform 160ms ease;
}

body.pdp-modern-page .pdp-included-benefits[open] .pdp-included-benefits__chevron {
    transform: rotate(225deg) translate(-1px, -1px);
}

body.pdp-modern-page .pdp-included-benefits[open] > summary {
    color: var(--pdp-ink);
    border-radius: var(--pdp-radius-control) var(--pdp-radius-control) 0 0;
}

body.pdp-modern-page .pdp-included-benefits__list {
    display: flex;
    margin: 0 !important;
    padding: var(--pdp-space-8) 14px var(--pdp-space-12) !important;
    border-top: 1px solid var(--pdp-line);
    flex-direction: column;
    gap: 2px;
    list-style: none;
}

body.pdp-modern-page .pdp-included-benefits__list > li {
    display: grid;
    width: 100%;
    min-height: 28px;
    margin: 0 !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: var(--pdp-space-8);
    color: var(--pdp-ink);
    font-size: var(--pdp-type-meta-size);
    font-weight: var(--pdp-type-body-weight);
    line-height: var(--pdp-type-meta-line);
}

body.pdp-modern-page .pdp-included-benefits__item-copy {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    align-items: baseline;
    gap: var(--pdp-space-4);
}

body.pdp-modern-page .pdp-included-benefits:not([open]) .pdp-included-benefits__copy > span {
    display: none;
}

body.pdp-modern-page .pdp-included-benefits__item-copy > span:first-child {
    font-weight: var(--pdp-type-body-weight);
}

@media (min-width: 768px) {
    body.pdp-modern-page .pdp-included-benefits__item-tail {
        min-width: 112px;
        justify-content: flex-end;
    }

    body.pdp-modern-page .pdp-included-benefits__item-tail > span:first-child:not(.pdp-included-benefits__free) {
        min-width: 68px;
        text-align: right;
    }

    body.pdp-modern-page .pdp-included-benefits__free {
        min-width: 28px;
    }
}

body.pdp-modern-page .pdp-included-benefits__item-copy > span:last-child:not(:first-child),
body.pdp-modern-page .pdp-included-benefits__item-tail > span:first-child:not(.pdp-included-benefits__free) {
    color: var(--pdp-color-quiet);
    font-size: var(--pdp-type-micro-size);
    font-weight: 400;
    line-height: var(--pdp-type-micro-line);
    white-space: nowrap;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-quantity-block__body > .pdp-included-benefits {
    margin: 0;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-quantity-block__summary .pdp-included-benefits {
    border-radius: 0;
    background: transparent;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-quantity-block__summary .pdp-included-benefits > summary {
    min-height: 56px;
    padding: 12px 12px 12px 14px;
}

body.pdp-modern-page .pdp-modern-purchase-surface :is(.etaPrintMakingRow, .processingMethodRow) > ul > li:last-child > span {
    color: var(--pdp-ink) !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface :is(.etaPrintMakingRow, .processingMethodRow) > ul > li:last-child {
    padding-left: 0;
    box-sizing: border-box;
}

/* Commerce hierarchy: the delivery promise is the value; its weekday basis is supporting context. */
body.pdp-modern-page .pdp-modern-purchase-surface :is(.etaPrintMakingRow, .processingMethodRow) > ul > li:first-child {
    color: var(--pdp-muted) !important;
    font-weight: var(--pdp-type-body-weight) !important;
}

/* 제작 정보도 수량·기본 옵션과 같은 필드 그리드와 우측 아이콘 레일을 사용한다.
   행별 들여쓰기나 문장 뒤 아이콘 배치는 위아래 컨트롤 축을 깨뜨리므로 두지 않는다. */
/* 가공 방법 위 구분선은 제작 기간을 **펼쳤을 때만** 둔다.
   접혀 있으면 두 행이 같은 높이의 한 줄짜리라 선 없이도 구분되지만, 펼치면 패널이 길어져
   가공 방법이 그 꼬리처럼 붙어 보인다.
   !important 는 상위에서 border-style: none 이 !important 로 걸려 있어 필요하다. */
body.pdp-modern-page .pdp-modern-purchase-surface #productSpecArea
    > .etaPrintMakingRow:has([data-pdp-eta-toggle][aria-expanded="true"])
    + .processingMethodRow {
    margin-top: var(--pdp-space-8) !important;
    padding-top: var(--pdp-space-8) !important;
    border-top: 1px solid var(--pdp-line) !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface .processingMethodRow .pdp-inline-guide-button {
    color: var(--pdp-ink);
}

body.pdp-modern-page .pdp-modern-purchase-surface .processingMethodRow .pdp-inline-guide-button > span {
    flex: 1 1 auto;
    font-size: var(--pdp-type-utility-size) !important;
    font-weight: var(--pdp-type-value-weight) !important;
    line-height: var(--pdp-type-utility-line) !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface .processingMethodRow .pdp-inline-guide-button > svg {
    margin-left: auto;
    color: var(--pdp-subtle);
}

body.pdp-modern-page .pdp-modern-purchase-surface :is(.pdp-inline-guide-button--schedule, .pdp-eta-summary) {
    display: grid;
    width: 100%;
    grid-template-columns: max-content minmax(0, 1fr) 16px;
    align-items: center;
    justify-content: stretch;
    column-gap: var(--pdp-space-8);
    padding-right: var(--pdp-space-12);
    color: var(--pdp-ink);
    box-sizing: border-box;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-inline-guide-button--schedule .pdp-inline-guide-button__value {
    color: var(--pdp-ink);
    font-size: var(--pdp-type-utility-size);
    font-weight: var(--pdp-type-value-weight);
    line-height: var(--pdp-type-utility-line);
    letter-spacing: -.015em;
    white-space: nowrap;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-inline-guide-button--schedule .pdp-inline-guide-button__meta {
    color: var(--pdp-muted) !important;
    font-size: var(--pdp-type-meta-size);
    font-weight: var(--pdp-type-value-weight) !important;
    line-height: var(--pdp-type-meta-line);
    white-space: nowrap;
}

body.pdp-modern-page .pdp-modern-purchase-surface :is(.pdp-inline-guide-button--schedule, .pdp-eta-summary) > svg {
    margin-left: 0;
    justify-self: end;
    color: var(--pdp-subtle);
}

body.pdp-modern-page .pdp-modern-purchase-surface .processingMethodRow .pdp-inline-guide-button {
    padding-right: var(--pdp-space-12);
    box-sizing: border-box;
}

body.pdp-modern-page .pdp-modern-purchase-surface .productDeliveryRow.ompFamRow > ul > li:last-child {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-align: right !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow > ul {
    display: block !important;
    width: 100% !important;
    min-height: 0;
    margin: 0 !important;
    padding: var(--pdp-space-8) 0;
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow {
    width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

/* 접힘 상태에서는 display:none 이라 안 보이던 하단선이, 펼치면 마지막 옵션 행의 선과
   다음 섹션(제작 기간)의 시작선 사이에 끼어 구분선이 하나 더 그어진 것처럼 보였다 (QA #1110).
   섹션 경계는 다음 섹션이 자기 상단선으로 이미 그리므로 여기서는 긋지 않는다. */
body.pdp-modern-page .pdp-modern-purchase-surface .omp_foldable_wrapper {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: #fff !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-additional-options {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-additional-options.is-expanded .ompProductRow {
    background: transparent !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow > ul > li:first-child {
    display: none !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow > ul > li:last-child {
    width: 100% !important;
    margin: 0 !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow .orderOptionContent {
    display: grid !important;
    width: 100%;
    min-height: var(--pdp-control-height);
    grid-template-columns: var(--pdp-field-label-width) minmax(0, 1fr);
    column-gap: var(--pdp-field-gap);
    align-items: center;
    padding: 0 !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow .optionTitle {
    display: grid !important;
    width: 100% !important;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--pdp-muted);
    font-size: var(--pdp-type-label-size);
    font-weight: 500;
    line-height: var(--pdp-type-label-line);
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow .optionTitle > li {
    position: static !important;
    float: none !important;
    width: auto !important;
    min-width: 0;
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow .optionTitle > li:nth-child(2) {
    display: flex;
    min-width: 0;
    margin: 0 !important;
    align-items: baseline;
    gap: var(--pdp-space-4);
    color: var(--pdp-muted) !important;
    font-size: var(--pdp-type-label-size) !important;
    font-weight: var(--pdp-type-body-weight) !important;
    line-height: var(--pdp-type-label-line) !important;
    text-align: left !important;
    white-space: nowrap;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-option-status {
    color: var(--pdp-subtle);
    font-size: var(--pdp-type-body-size);
    font-weight: var(--pdp-type-body-weight);
    line-height: var(--pdp-type-body-line);
    white-space: nowrap;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-option-status::before {
    margin-right: var(--pdp-space-4);
    color: #a0a7b2;
    content: '\00b7';
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-option-status[data-state="required"] {
    color: #9a5f35;
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow .optionTitle > li:first-child {
    display: none !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow .optionTitle > li:last-child {
    margin: 2px 0 0 !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompProductDetailLink {
    display: inline-flex;
    width: auto;
    height: auto;
    align-items: center;
    gap: 4px;
    background: none;
    color: var(--pdp-subtle);
    font-size: var(--pdp-type-action-size);
    font-weight: var(--pdp-type-nav-weight);
    line-height: var(--pdp-type-action-line);
    text-decoration: none;
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompProductDetailLink::after {
    width: 5px;
    height: 5px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    content: '';
    transform: rotate(45deg);
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow .optionSelectBox,
body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow .ompChoice,
body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow .ompChoice1 {
    width: 100% !important;
    min-width: 0;
    margin: 0 !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow .ompChoice1 {
    display: flex;
    min-height: var(--pdp-control-height);
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
    font-size: var(--pdp-type-body-size);
    font-weight: 400;
    line-height: var(--pdp-type-body-line);
}

body.pdp-modern-page .pdp-modern-purchase-surface :is(select, input[type="text"], input[type="number"]) {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: var(--pdp-control-height) !important;
    min-height: var(--pdp-control-height);
    padding: 0 38px 0 var(--pdp-space-12);
    border: 1px solid var(--pdp-color-control);
    border-radius: var(--pdp-radius-control);
    appearance: none;
    background-color: #fff;
    background-position: right 10px center;
    background-repeat: no-repeat;
    background-size: 20px auto;
    color: var(--pdp-ink);
    font-family: var(--pdp-font-family) !important;
    font-size: var(--pdp-type-body-size) !important;
    font-weight: var(--pdp-type-value-weight) !important;
    line-height: var(--pdp-type-body-line) !important;
    box-sizing: border-box;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

body.pdp-modern-page .pdp-modern-purchase-surface select {
    background-image: url(/m/img/select_arrow.png) !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface :is(select, input[type="text"], input[type="number"]):hover {
    border-color: var(--pdp-color-control-hover);
}

body.pdp-modern-page .pdp-modern-purchase-surface :is(select, input[type="text"], input[type="number"]):focus-visible {
    border-color: var(--pdp-accent);
    box-shadow: 0 0 0 3px var(--pdp-color-focus);
    outline: 0;
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow .ompChoice1 {
    min-height: var(--pdp-control-height);
    padding: 0 38px 0 var(--pdp-space-12) !important;
    border: 1px solid var(--pdp-color-control) !important;
    border-radius: var(--pdp-radius-control) !important;
    background-color: #fff;
    background-position: right 10px center;
    background-size: 20px auto;
    color: var(--pdp-ink) !important;
    font-size: var(--pdp-type-body-size) !important;
    font-weight: 400 !important;
    line-height: var(--pdp-type-body-line) !important;
    cursor: pointer;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow .ompChoice1:hover {
    border-color: var(--pdp-color-control-hover) !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow .ompChoice1:focus-visible {
    border-color: var(--pdp-accent) !important;
    box-shadow: 0 0 0 3px var(--pdp-color-focus);
    outline: 0;
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompChoice2 li > div:first-child {
    display: flex;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--pdp-line);
    border-radius: 8px;
    background: #fff;
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompChoice2 li img {
    width: 30px !important;
    height: 30px !important;
    max-width: 30px;
    max-height: 30px;
    object-fit: contain;
}

body.pdp-modern-page .pdp-modern-purchase-surface :is(.orderQtyRow, .consumerPhotoEditRow, .ompProductRow) > ul,
body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow .orderOptionContent {
    border-top: 0 !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface #productSpecArea {
    border-top: 0;
}

body.pdp-modern-page .pdp-modern-purchase-surface #productSpecArea > div {
    width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface #productSpecArea > div[class*="Row"]:not(.productDeliveryRow) > ul {
    border-top: 0 !important;
    border-bottom: 0 !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface :is(.scheduleToggleRow, .processingMethodToggleRow) .pd_pop_btn {
    width: 16px !important;
    height: 16px !important;
    border-radius: 50%;
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7.25' fill='white' stroke='%23B8C0CC' stroke-width='1.5'/%3E%3Cpath d='M6.3 6.1a1.8 1.8 0 1 1 2.4 1.7c-.6.3-.7.6-.7 1.2' fill='none' stroke='%2369707D' stroke-width='1.2' stroke-linecap='round'/%3E%3Ccircle cx='8' cy='11.7' r='.7' fill='%2369707D'/%3E%3C/svg%3E");
    opacity: 1;
    transition: transform 160ms ease;
}

body.pdp-modern-page .pdp-modern-purchase-surface :is(.scheduleToggleRow, .processingMethodToggleRow) .pd_pop_btn:hover {
    transform: translateY(-1px);
}

body.pdp-modern-page .pdp-modern-customizer {
    width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding: 0;
    border-top: 0;
    border-bottom: 1px solid var(--pdp-line);
    background: #fff;
}

body.pdp-modern-page .pdp-modern-purchase-surface :is(#card_customizer_group_div, #card_customizer_group, .pdp-modern-customizer .sc-customizer-option-wrapper) {
    width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

body.pdp-modern-page .pdp-modern-customizer .sc-customizer-option-wrapper {
    border-top: 0 !important;
    background: #fff !important;
}

body.pdp-modern-page .pdp-modern-customizer .pdp-customizer-menu-shell {
    border-bottom: 1px solid var(--pdp-line);
    background: #fff;
}

body.pdp-modern-page .pdp-modern-customizer .ui-tab-menu-btn {
    min-width: 44px;
    min-height: 44px;
    padding: 0 var(--pdp-space-8);
}

body.pdp-modern-page .pdp-modern-customizer .swiper.menu-swiper,
body.pdp-modern-page .pdp-modern-customizer .ui-menu-bar {
    width: 100% !important;
}

body.pdp-modern-page .pdp-modern-customizer .ui-menu-bar {
    display: flex !important;
    width: max-content !important;
    min-width: 100%;
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 0;
}

body.pdp-modern-page .pdp-modern-customizer .ui-tab-menu-btn {
    width: auto !important;
    min-width: 52px;
    flex: 0 0 auto !important;
    border: 0 !important;
    outline: 0;
}

body.pdp-modern-page .pdp-modern-customizer .pdp-customizer-menu-arrow {
    display: none !important;
}

body.pdp-modern-page .pdp-modern-customizer .pdp-customizer-menu-shell:not(.is-at-end)::after,
body.pdp-modern-page .pdp-modern-customizer .pdp-customizer-menu-shell:not(.is-at-start)::before {
    position: absolute;
    top: 0;
    bottom: 1px;
    z-index: 4;
    display: block;
    width: 24px;
    pointer-events: none;
    content: '';
}

body.pdp-modern-page .pdp-modern-customizer .pdp-customizer-menu-shell:not(.is-at-end)::after {
    right: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0), #fff 78%);
}

body.pdp-modern-page .pdp-modern-customizer .pdp-customizer-menu-shell:not(.is-at-start)::before {
    left: 0;
    background: linear-gradient(270deg, rgba(255,255,255,0), #fff 78%);
}

body.pdp-modern-page .pdp-modern-customizer .ui-tab-menu-btn:focus-visible {
    background: var(--pdp-color-panel);
    box-shadow: inset 0 -3px 0 var(--pdp-accent);
    outline: 0 !important;
}

body.pdp-modern-page .pdp-modern-customizer .ui-preview-apply-btn {
    font-size: var(--pdp-type-label-size);
    font-weight: 600;
    line-height: var(--pdp-type-label-line);
}

body.pdp-modern-page .pdp-modern-customizer .ui-tab-menu-btn .ui-tab-menu-label {
    color: var(--pdp-muted);
    font-size: var(--pdp-type-label-size);
    font-weight: var(--pdp-type-value-weight);
    line-height: var(--pdp-type-label-line);
    white-space: nowrap;
}

body.pdp-modern-page .pdp-modern-customizer .ui-tab-menu-btn.active .ui-tab-menu-label {
    color: var(--pdp-ink);
    font-weight: var(--pdp-type-nav-weight);
}

body.pdp-modern-page .pdp-modern-customizer .ui-tab-menu-btn .pc_br {
    display: none;
}

body.pdp-modern-page .pdp-modern-customizer .ui-article-wrapper {
    padding-top: var(--pdp-space-4);
    padding-bottom: var(--pdp-space-4);
    background: #fff;
}

body.pdp-modern-page .pdp-modern-customizer .ui-customizer-row {
    min-height: 48px !important;
    padding: var(--pdp-space-4) 0 !important;
}

body.pdp-modern-page .pdp-modern-customizer .ui-customizer-row-body {
    width: 100%;
}

body.pdp-modern-page .pdp-modern-customizer .ui-customizer-row-body.swiper-container,
body.pdp-modern-page .pdp-modern-customizer .ui-picker-box {
    height: 40px !important;
}

body.pdp-modern-page .pdp-modern-customizer .pdp-picker-rail {
    display: grid;
    width: 100%;
    min-height: 40px;
    grid-template-columns: 28px minmax(0, 1fr) 28px;
    align-items: center;
    background: #fff;
    box-sizing: border-box;
}

body.pdp-modern-page .pdp-modern-customizer .pdp-picker-nav {
    display: inline-flex;
    width: 28px;
    height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--pdp-subtle);
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease, opacity 160ms ease;
}

body.pdp-modern-page .pdp-modern-customizer .pdp-picker-nav svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.pdp-modern-page .pdp-modern-customizer .pdp-picker-nav:hover:not(:disabled) {
    background: var(--pdp-color-soft);
    color: var(--pdp-ink);
}

body.pdp-modern-page .pdp-modern-customizer .pdp-picker-nav:focus-visible {
    background: var(--pdp-color-soft);
    box-shadow: inset 0 0 0 2px var(--pdp-color-focus);
    color: var(--pdp-ink);
    outline: 0;
}

body.pdp-modern-page .pdp-modern-customizer .pdp-picker-nav:disabled {
    opacity: 0;
    pointer-events: none;
}

body.pdp-modern-page .pdp-modern-customizer .ui-customizer-row-body.swiper-container {
    position: relative;
    min-width: 0;
    cursor: grab;
}

body.pdp-modern-page .pdp-modern-customizer .ui-customizer-row-body.swiper-container:active {
    cursor: grabbing;
}

body.pdp-modern-page .pdp-modern-customizer .ui-picker-box {
    gap: var(--pdp-space-8);
    margin: 0 !important;
}

body.pdp-modern-page .pdp-modern-customizer .ui-picker-box-inner {
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    flex: 0 0 40px !important;
    align-items: center;
    justify-content: center;
}

body.pdp-modern-page .pdp-modern-customizer .ui-picker-preview {
    display: grid !important;
    place-items: center;
    position: relative;
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    border: 1px solid transparent !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-sizing: border-box;
    box-shadow: none !important;
    transition: background-color 160ms ease, border-color 160ms ease;
}

body.pdp-modern-page .pdp-modern-customizer .ui-picker-preview > span {
    flex: 0 0 28px;
    width: 28px !important;
    height: 28px !important;
    border: 0 !important;
    border-radius: 4px !important;
}

body.pdp-modern-page .pdp-modern-customizer .ui-customizer-row[data-row_type="imgbox"] .ui-picker-preview > span::after {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    transform: none !important;
}

body.pdp-modern-page .pdp-modern-customizer .ui-picker-preview:hover {
    background: var(--pdp-color-soft) !important;
}

body.pdp-modern-page .pdp-modern-customizer .ui-picker-preview.active {
    border-width: 2px !important;
    border-color: var(--pdp-accent) !important;
    background: #fff !important;
    box-shadow: none !important;
}

body.pdp-modern-page .pdp-modern-customizer .ui-customizer-row[data-row_type="palette"] .ui-picker-preview > span {
    box-shadow: inset 0 0 0 1px rgba(23, 35, 47, .10);
}

body.pdp-modern-page .pdp-modern-customizer
    .ui-customizer-row[data-row_type="palette"] .ui-picker-preview > span::after {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    transform: none !important;
}

body.pdp-modern-page .pdp-modern-customizer
    .ui-customizer-row[data-row_type="palette"] .ui-picker-preview.active > span::before {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) rotate(-45deg) !important;
}

body.pdp-modern-page .pdp-modern-customizer .ui-picker-preview[data-main_type="photo_pick"][data-no="upload"],
body.pdp-modern-page .pdp-modern-customizer .ui-picker-preview[data-main_type="photo_pick"][data-no="modify"] {
    border-color: var(--pdp-color-control) !important;
}

body.pdp-modern-page .pdp-modern-customizer .ui-picker-preview.active[data-main_type="photo_pick"][data-no="upload"],
body.pdp-modern-page .pdp-modern-customizer .ui-picker-preview.active[data-main_type="photo_pick"][data-no="modify"] {
    border-color: rgba(116, 90, 122, .28) !important;
}

body.pdp-modern-page .pdp-modern-customizer .ui-picker-preview[data-main_type="photo_pick"][data-no="upload"] > span::after,
body.pdp-modern-page .pdp-modern-customizer .pdp-photo-entry__icon::after {
    width: 20px !important;
    height: 20px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Crect x='2.5' y='3.5' width='10.5' height='11' rx='1.5' stroke='%2317232F' stroke-width='1.25'/%3E%3Ccircle cx='5.75' cy='6.75' r='1' stroke='%2317232F' stroke-width='1.1'/%3E%3Cpath d='m3.75 12 2.5-2.5 1.75 1.75 1.25-1.25 2.5 2.5' stroke='%2317232F' stroke-width='1.15' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M14.5 3.5v4M12.5 5.5h4' stroke='%2317232F' stroke-width='1.25' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: 20px 20px !important;
}

body.pdp-modern-page .pdp-modern-customizer .ui-picker-preview[data-main_type="photo_pick"][data-no="modify"] > span::after,
body.pdp-modern-page .pdp-modern-customizer .ui-modify-btn > span::after {
    width: 18px !important;
    height: 18px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='m11.92 3.52 2.56 2.56M4.25 13.75l.72-3.25 7.38-7.38a1.13 1.13 0 0 1 1.6 0l.93.93a1.13 1.13 0 0 1 0 1.6L7.5 13.03l-3.25.72Z' stroke='%2317232F' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M10.85 4.62 13.4 7.17' stroke='%2317232F' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: 18px 18px !important;
}

body.pdp-modern-page .pdp-modern-customizer .ui-picker-name {
    display: none !important;
}




body.pdp-modern-page .pdp-modern-customizer .ui-btn-wrapper {
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: center;
    gap: var(--pdp-space-12);
}

body.pdp-modern-page .pdp-modern-customizer #customizer-panel-upload {
    min-height: 72px !important;
    padding: var(--pdp-space-4) 0 !important;
}

body.pdp-modern-page .pdp-modern-customizer .pdp-photo-entry {
    width: 100% !important;
    height: auto !important;
    min-height: 64px;
    margin: 0 !important;
    overflow: visible !important;
}

body.pdp-modern-page .pdp-modern-customizer .pdp-photo-entry__content,
body.pdp-modern-page .pdp-modern-customizer .pdp-photo-entry__actions {
    width: 100%;
    min-width: 0;
}

body.pdp-modern-page .pdp-modern-customizer .pdp-photo-entry__actions {
    display: grid;
    min-height: 64px;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: var(--pdp-space-8);
}

body.pdp-modern-page .pdp-modern-customizer .pdp-photo-entry button.ui-preview-apply-btn {
    display: grid;
    width: 100%;
    min-width: 0;
    min-height: 64px;
    margin: 0;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
    column-gap: var(--pdp-space-12);
    padding: var(--pdp-space-8) var(--pdp-space-12);
    border: 0;
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
    text-align: left;
}

body.pdp-modern-page .pdp-modern-customizer .pdp-photo-entry button.ui-preview-apply-btn:hover {
    background: var(--pdp-color-soft);
    box-shadow: none;
}

body.pdp-modern-page .pdp-modern-customizer .pdp-photo-entry button.ui-preview-apply-btn > span {
    padding: 0;
    background: transparent;
}

body.pdp-modern-page .pdp-modern-customizer .pdp-photo-entry__icon {
    position: relative;
    display: inline-flex !important;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--pdp-line);
    border-radius: 8px;
    background-color: #f3f5f6 !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    box-sizing: border-box;
}

body.pdp-modern-page .pdp-modern-customizer .pdp-photo-entry__icon::after {
    position: static;
    display: block;
    content: '';
}

body.pdp-modern-page .pdp-modern-customizer .pdp-photo-entry__icon.has-image::after {
    display: none;
}

body.pdp-modern-page .pdp-modern-customizer .pdp-photo-entry__icon.has-image {
    background-color: #fff !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
}

body.pdp-modern-page .pdp-modern-customizer .pdp-photo-entry__copy::after,
body.pdp-modern-page .pdp-modern-customizer .pdp-customizer-photo-status::after {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: none !important;
    content: none !important;
}

body.pdp-modern-page .pdp-modern-customizer .pdp-photo-entry__copy {
    display: flex !important;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    align-items: flex-start !important;
    gap: 1px !important;
}

body.pdp-modern-page .pdp-modern-customizer .pdp-photo-entry__copy strong {
    width: 100%;
    overflow: hidden;
    color: var(--pdp-ink);
    font-size: var(--pdp-type-body-size);
    font-weight: var(--pdp-type-value-weight);
    line-height: var(--pdp-type-body-line);
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.pdp-modern-page .pdp-modern-customizer .pdp-photo-entry__action {
    display: inline-flex !important;
    align-items: center;
    min-width: 68px;
    justify-content: flex-end;
    gap: 7px !important;
    color: var(--pdp-ink);
    font-size: var(--pdp-type-action-size);
    font-weight: var(--pdp-type-nav-weight);
    line-height: var(--pdp-type-action-line);
    white-space: nowrap;
}

body.pdp-modern-page .pdp-modern-customizer .pdp-photo-entry__action::after {
    width: 6px;
    height: 6px;
    border-top: 1.4px solid currentColor;
    border-right: 1.4px solid currentColor;
    background: none !important;
    content: '';
    transform: rotate(45deg);
}

body.pdp-modern-page .pdp-modern-customizer .pdp-photo-entry button.ui-modify-btn {
    min-width: 96px;
    min-height: 64px;
    align-self: stretch;
    flex: 0 0 auto;
}

body.pdp-modern-page .pdp-modern-customizer .pdp-photo-entry button.ui-modify-btn.active {
    display: inline-flex;
}

body.pdp-modern-page .pdp-modern-customizer .pdp-photo-entry button.ui-modify-btn > span {
    width: 100%;
    min-height: 62px;
    justify-content: center;
}

body.pdp-modern-page .pdp-modern-customizer button.ui-preview-apply-btn,
body.pdp-modern-page .pdp-modern-customizer button.ui-modify-btn {
    appearance: none;
    flex: 0 0 auto;
    margin: 0;
    font-family: var(--pdp-font-family) !important;
    cursor: pointer;
}

body.pdp-modern-page .pdp-modern-customizer button.ui-preview-apply-btn > span,
body.pdp-modern-page .pdp-modern-customizer button.ui-modify-btn > span {
    display: inline-flex;
    align-items: center;
    gap: var(--pdp-space-8);
    padding: 0;
    background: transparent;
}

body.pdp-modern-page .pdp-modern-customizer button.ui-preview-apply-btn {
    min-height: 40px;
    padding: 0 var(--pdp-space-12);
    border: 1px solid var(--pdp-color-control);
    border-radius: var(--pdp-radius-control);
    background: #fff;
    color: var(--pdp-ink);
    box-shadow: 0 1px 2px rgba(23, 35, 47, .04);
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

body.pdp-modern-page .pdp-modern-customizer button.ui-preview-apply-btn:hover {
    border-color: var(--pdp-color-control-hover);
    background: #fff;
    box-shadow: 0 2px 6px rgba(23, 35, 47, .07);
}

body.pdp-modern-page .pdp-modern-customizer button.ui-modify-btn {
    min-height: 40px;
    padding: 0 var(--pdp-space-12);
    border: 0;
    border-radius: 8px;
    background: var(--pdp-color-soft);
    color: var(--pdp-ink);
    transition: background-color 160ms ease, color 160ms ease;
}

body.pdp-modern-page .pdp-modern-customizer button.ui-modify-btn:hover,
body.pdp-modern-page .pdp-modern-customizer button.ui-modify-btn.is-editing {
    background: #f5f4f2;
    color: var(--pdp-ink);
}

body.pdp-modern-page .pdp-modern-customizer button.ui-modify-btn:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 3px var(--pdp-color-focus);
}

body.pdp-modern-page #self_custom_area:not(.is-photo-editing) .controls-binder-wrapper {
    display: none !important;
}

body.pdp-modern-page .ui-photo-action_wrapper {
    right: 18px;
    bottom: 56px;
}

body.pdp-modern-page.pdp-photo-editing .ui-photo-action_wrapper {
    display: none !important;
}

body.pdp-modern-page .ui-photo-action_wrapper > a.ui-selpick-download-btn {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--pdp-ink);
}

body.pdp-modern-page .ui-photo-action_wrapper > a.ui-selpick-download-btn:hover {
    background: transparent;
}

body.pdp-modern-page .ui-photo-action_wrapper > a.ui-selpick-download-btn:focus-visible {
    outline: 2px solid var(--pdp-ink);
    outline-offset: 3px;
}

body.pdp-modern-page .ui-selpick-download-btn > span::before {
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M9 2.5v8m0 0 3-3m-3 3-3-3M3.5 12v2.5h11V12' stroke='%23201F1D' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

body.pdp-modern-page .pdp-modern-customizer .pdp-customizer-photo-status {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    color: var(--pdp-color-quiet);
    font-size: var(--pdp-type-caption-size);
    font-weight: 400;
    line-height: var(--pdp-type-caption-line);
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.pdp-modern-page .pdp-modern-customizer .pdp-customizer-photo-status[data-state="uploaded"],
body.pdp-modern-page .pdp-modern-customizer .pdp-customizer-photo-status[data-state="applied"] {
    color: var(--pdp-color-quiet);
}

body.pdp-modern-page .pdp-modern-customizer .pdp-customizer-photo-status[data-state="error"] {
    color: #a33f3f;
}

body.pdp-modern-page .pdp-modern-purchase-surface .btn_omp_toggle {
    display: grid !important;
    width: 100% !important;
    min-height: var(--pdp-control-height);
    margin: 0;
    grid-template-columns: var(--pdp-field-label-width) var(--pdp-field-gap) minmax(0, 1fr) 16px;
    align-items: center;
    column-gap: 0;
    padding: 0;
    border: 0 !important;
    border-top: 1px solid var(--pdp-line) !important;
    border-bottom: 0 !important;
    border-radius: 0;
    background: transparent;
    color: var(--pdp-ink);
    font-family: var(--pdp-font-family) !important;
    font-size: var(--pdp-type-label-size);
    font-weight: 600;
    line-height: var(--pdp-type-label-line);
    text-align: left;
}

body.pdp-modern-page .pdp-modern-purchase-surface .btn_omp_toggle:hover {
    background: transparent;
    color: var(--pdp-ink);
}

body.pdp-modern-page .pdp-modern-purchase-surface .btn_omp_toggle:focus-visible {
    background: var(--pdp-color-panel);
    box-shadow: inset 0 0 0 1px rgba(116, 90, 122, .16);
    outline: 0;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-additional-options.is-expanded .btn_omp_toggle {
    border-bottom: 0 !important;
    background: #fff;
}

body.pdp-modern-page .pdp-modern-purchase-surface .btn_omp_toggle > span {
    color: inherit;
    font-size: inherit;
    font-weight: var(--pdp-type-body-weight);
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-additional-options__heading,
body.pdp-modern-page .pdp-modern-purchase-surface .pdp-additional-options__summary {
    display: inline-flex;
    min-width: 0;
    align-items: center;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-additional-options__heading {
    grid-column: 1;
    gap: 6px;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-additional-options__heading strong {
    color: var(--pdp-muted);
    font-size: var(--pdp-type-label-size);
    font-weight: 500;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-additional-options__heading [data-pdp-option-count],
body.pdp-modern-page .pdp-modern-purchase-surface .pdp-additional-options__summary {
    color: var(--pdp-color-quiet);
    font-size: var(--pdp-type-micro-size);
    font-weight: var(--pdp-type-body-weight);
    line-height: var(--pdp-type-micro-line);
    white-space: nowrap;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-additional-options__heading [data-pdp-option-count] {
    padding: 0;
    border-radius: 0;
    background: transparent;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-additional-options__summary {
    grid-column: 3;
    justify-content: flex-start;
    padding-left: 0;
    color: var(--pdp-ink);
    font-size: var(--pdp-type-body-size);
    font-weight: var(--pdp-type-value-weight);
    line-height: 20px;
}

body.pdp-modern-page .pdp-modern-purchase-surface .btn_omp_view_more {
    width: 16px;
    height: 16px;
    grid-column: 4;
    margin-right: var(--pdp-space-12);
    align-self: center;
    justify-self: end;
}

/* 펼친 추가 옵션은 헤더와 각 옵션 행이 자기 아래 경계를 소유한다.
   마지막 옵션까지 같은 규칙을 써야 옵션 수가 달라져도 묶음이 명확하게 끝난다. */
body.pdp-modern-page .pdp-modern-purchase-surface .pdp-additional-options.is-expanded .omp_foldable_wrapper {
    display: grid !important;
    gap: 0;
    padding: 0 !important;
    border-bottom: 0 !important;
    background: #fff !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-additional-options.is-expanded .ompProductRow {
    padding: 18px 0 !important;
    border: 0 !important;
    border-radius: 0;
    background: #fff !important;
    box-sizing: border-box;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-additional-options .ompProductRow > ul {
    padding: 0 !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-additional-options .ompProductRow .orderOptionContent {
    grid-template-columns: var(--pdp-field-label-width) minmax(0, 1fr);
    column-gap: var(--pdp-field-gap);
    row-gap: var(--pdp-space-8);
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-additional-options .ompProductRow .optionTitle {
    display: grid !important;
    align-self: start;
    padding-top: 11px !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-additional-options .ompProductRow .optionTitle > li:last-child {
    margin: 0 !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-additional-options .ompProductRow .optionSelectBox {
    grid-column: 2;
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow .ompQtyPadRow {
    display: grid !important;
    width: 100%;
    min-height: 36px;
    margin-top: var(--pdp-space-8) !important;
    grid-template-columns: 104px minmax(0, 1fr);
    align-items: center;
    gap: var(--pdp-space-12);
    box-sizing: border-box;
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow .ompQtyPadRow.hiddenElement {
    display: none !important;
}

/* The shared order module uses inExpose as a hidden state. Its absolute row
   otherwise keeps a viewport-wide width and causes horizontal page overflow. */
body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow .ompQtyPadRow.inExpose {
    display: none !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow .ompQtyPad {
    display: grid;
    width: 104px;
    height: 36px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    grid-template-columns: 32px 40px 32px;
    border: 1px solid var(--pdp-color-control);
    border-radius: var(--pdp-radius-control);
    background: #fff;
    list-style: none;
    box-sizing: border-box;
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow .ompQtyPad > li {
    display: flex;
    width: auto !important;
    height: 34px !important;
    min-width: 0;
    align-items: center;
    justify-content: center;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: var(--pdp-ink);
    font-size: var(--pdp-type-body-size);
    line-height: 34px !important;
    box-sizing: border-box;
    user-select: none;
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow .ompQtyPad > li + li {
    border-left: 1px solid var(--pdp-line) !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow .ompQtyPad > li:not(.qty) {
    color: var(--pdp-subtle);
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease;
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow .ompQtyPad > li:not(.qty):hover {
    background: var(--pdp-color-soft) !important;
    color: var(--pdp-ink);
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow .ompQtyPad > li.qty {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    cursor: default;
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow .ompPriceSubTotal {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
    gap: 6px;
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow .ompQtyPad_price_txt {
    color: var(--pdp-ink);
    font-size: var(--pdp-type-body-size);
    font-weight: var(--pdp-type-value-weight);
    line-height: var(--pdp-type-body-line);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow .ompQtyPadDcTxt {
    display: inline-flex;
    min-height: 20px;
    align-items: center;
    padding: 0 6px;
    border-radius: 999px;
    background: #fff3ec;
    color: #a45c3b;
    font-size: var(--pdp-type-body-size);
    font-weight: 600;
    line-height: var(--pdp-type-body-line);
    white-space: nowrap;
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow .ompQtyPadDcTxt:empty {
    display: none !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow .ompQtyPadDcTxt::before,
body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow .ompQtyPadDcTxt::after {
    content: none !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow .ompQtyPad_close_btn {
    position: relative;
    display: inline-flex;
    width: 32px;
    min-width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: transparent;
    font-family: var(--pdp-font-family);
    font-size: 0;
    cursor: pointer;
    transition: background-color 160ms ease;
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow .ompQtyPad_close_btn::before,
body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow .ompQtyPad_close_btn::after {
    position: absolute;
    width: 13px;
    height: 1px;
    border-radius: 1px;
    background: var(--pdp-subtle);
    content: '';
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow .ompQtyPad_close_btn::before {
    transform: rotate(45deg);
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow .ompQtyPad_close_btn::after {
    transform: rotate(-45deg);
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow .ompQtyPad_close_btn:hover {
    background: var(--pdp-color-soft);
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow .ompQtyPad_close_btn:focus-visible {
    box-shadow: 0 0 0 3px var(--pdp-color-focus);
    outline: 0;
}

body.pdp-modern-page .pdp-modern-purchase-surface .smallQtyPricingRow {
    margin: var(--pdp-space-8) 0 0;
}

body.pdp-modern-page .pdp-modern-purchase-surface .smallQtyPricingRow > ul {
    display: grid !important;
    width: 100% !important;
    min-height: 0;
    margin: 0 !important;
    padding: 0 !important;
    grid-template-columns: var(--pdp-field-label-width) minmax(0, 1fr) !important;
    align-items: center;
    column-gap: var(--pdp-field-gap);
    border-top: 0 !important;
    border-bottom: 0 !important;
    border-radius: 0;
    background: transparent;
    box-sizing: border-box;
}

body.pdp-modern-page .pdp-modern-purchase-surface .smallQtyPricingRow > ul > li {
    width: auto !important;
    min-width: 0;
    padding: 0 !important;
    color: var(--pdp-ink);
    font-size: var(--pdp-type-caption-size) !important;
    font-weight: var(--pdp-type-body-weight);
    line-height: var(--pdp-type-caption-line) !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-price-adjustment__field-label {
    color: var(--pdp-muted) !important;
    font-size: var(--pdp-type-label-size) !important;
    font-weight: var(--pdp-type-body-weight);
    line-height: var(--pdp-type-label-line) !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-price-adjustment__control {
    display: block !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-price-adjustment__card {
    display: grid;
    width: 100%;
    min-height: 52px;
    padding: var(--pdp-space-8) 14px;
    grid-template-columns: minmax(0, 1fr) max-content;
    align-items: center;
    gap: var(--pdp-space-12);
    border: 0;
    border-radius: var(--pdp-radius-control);
    background: var(--pdp-color-information-surface);
    box-sizing: border-box;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-price-adjustment__copy {
    display: flex;
    min-width: 0;
    align-items: baseline;
    gap: 4px;
    white-space: nowrap;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-price-adjustment__copy strong {
    color: var(--pdp-ink);
    font-size: var(--pdp-type-utility-size);
    font-weight: var(--pdp-type-body-weight);
    line-height: var(--pdp-type-utility-line);
    letter-spacing: -.01em;
    word-break: keep-all;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-price-adjustment__copy small {
    color: var(--pdp-color-quiet);
    font-size: var(--pdp-type-micro-size);
    font-weight: var(--pdp-type-body-weight);
    line-height: var(--pdp-type-micro-line);
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-price-adjustment__copy small::before {
    margin-right: 4px;
    content: '·';
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-price-adjustment__amount {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: var(--pdp-ink);
    font-size: var(--pdp-type-body-size) !important;
    font-weight: var(--pdp-type-body-weight);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

body.pdp-modern-page .pdp-modern-purchase-surface
    .pdp-price-adjustment[data-order-option-code="editing_small_qty"]
    .pdp-price-adjustment__copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0;
    white-space: normal;
}

body.pdp-modern-page .pdp-modern-purchase-surface
    .pdp-price-adjustment[data-order-option-code="editing_small_qty"]
    .pdp-price-adjustment__copy small {
    min-width: 0;
    word-break: keep-all;
}

body.pdp-modern-page .pdp-modern-purchase-surface
    .pdp-price-adjustment[data-order-option-code="editing_small_qty"]
    .pdp-price-adjustment__copy small::before {
    margin-right: 0;
    content: '';
}

body.pdp-modern-page .pdp-modern-purchase-surface
    .pdp-price-adjustment[data-order-option-code="editing_small_qty"]
    .pdp-price-adjustment__amount {
    align-self: end;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-price-adjustment__sign {
    margin-right: 2px;
    color: var(--pdp-subtle);
    font-weight: var(--pdp-type-body-weight);
}

body.pdp-modern-page .pdp-modern-purchase-surface .smallQtyPricingRow .priceAffectingText {
    color: inherit;
    font: inherit;
}

@media (max-width: 767px) {
    body.pdp-modern-page .pdp-modern-purchase-surface .smallQtyPricingRow > ul {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.pdp-modern-page .pdp-modern-purchase-surface .pdp-price-adjustment__field-label {
        display: none;
    }

}

@media (max-width: 340px) {
    body.pdp-modern-page .pdp-modern-purchase-surface .pdp-price-adjustment__card {
        padding-right: 10px;
        padding-left: 10px;
        gap: 8px;
    }

    body.pdp-modern-page .pdp-modern-purchase-surface .pdp-price-adjustment__copy strong,
    body.pdp-modern-page .pdp-modern-purchase-surface .pdp-price-adjustment__copy small,
    body.pdp-modern-page .pdp-modern-purchase-surface .pdp-price-adjustment__amount {
        font-size: var(--pdp-type-meta-size) !important;
    }
}

body.pdp-modern-page .pdp-modern-purchase-surface .productDeliveryRow.ompFamRow > ul {
    min-height: 64px;
    margin-top: var(--pdp-space-12);
    padding: var(--pdp-space-16) 0 0;
    align-items: baseline;
    border-top: 1px solid var(--pdp-line) !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface .productDeliveryRow.ompFamRow > ul > li:last-child {
    align-items: baseline;
}

body.pdp-modern-page .pdp-modern-purchase-surface .productDeliveryRow.ompFamRow .priceBox {
    align-items: baseline;
    gap: var(--pdp-space-8);
}

body.pdp-modern-page .pdp-modern-purchase-surface .taxFreePopUpBox {
    width: 320px;
    transform: translate(-12px, -50%) !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface .taxFreePopUp {
    max-height: min(76vh, 620px);
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid var(--pdp-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(18, 28, 38, .16);
}

body.pdp-modern-page .pdp-modern-purchase-surface .taxFreePopUp::before {
    right: -5px;
    border-color: var(--pdp-line);
    background: #fff;
}

body.pdp-modern-page .pdp-modern-purchase-surface .taxFreePopUp .popupTitleBox {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--pdp-space-16);
    border-bottom: 1px solid var(--pdp-line);
    background: #fff;
    box-sizing: border-box;
}

body.pdp-modern-page .pdp-modern-purchase-surface .taxFreePopUp .popupTitle {
    color: var(--pdp-ink);
    font-size: var(--pdp-type-subsection-size);
    font-weight: 700;
    line-height: var(--pdp-type-subsection-line);
}

body.pdp-modern-page .pdp-modern-purchase-surface .taxFreePopUp .popupCloseBtn {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

body.pdp-modern-page .pdp-modern-purchase-surface .taxFreePopUp .popupContentBox {
    gap: var(--pdp-space-12);
    padding: var(--pdp-space-16);
}

body.pdp-modern-page .pdp-modern-purchase-surface .taxFreePopUp .popUpConTextTop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--pdp-space-8);
    color: var(--pdp-subtle);
    font-size: var(--pdp-type-body-size);
    line-height: var(--pdp-type-body-line);
}

body.pdp-modern-page .pdp-modern-purchase-surface .taxFreePopUp .taxFreeTable {
    width: 100%;
    border: 0;
    border-collapse: collapse;
    table-layout: fixed;
}

body.pdp-modern-page .pdp-modern-purchase-surface .taxFreePopUp .taxFreeTable td {
    height: auto;
    padding: 7px 10px;
    border-color: var(--pdp-line);
    color: var(--pdp-ink);
    font-size: var(--pdp-type-body-size);
    line-height: var(--pdp-type-body-line);
}

body.pdp-modern-page .pdp-modern-purchase-surface .taxFreePopUp .popUpConTextBottom {
    display: flex;
    flex-direction: column;
    gap: var(--pdp-space-4);
    color: var(--pdp-subtle);
    font-size: var(--pdp-type-body-size);
    line-height: var(--pdp-type-body-line);
}

/* Modern gallery: preserve the complete artwork and use state, never dimming. */
body.pdp-modern-page #photoz_area {
    background-position: center !important;
    background-size: contain !important;
    transform: none !important;
}

body.pdp-modern-page .pdp-thumbnail-gap {
    height: var(--pdp-space-16);
    clear: both;
}

body.pdp-modern-page .pdp-thumbnail-rail {
    width: 520px;
    max-width: 100%;
    margin: 0 auto;
}

body.pdp-modern-page .pdp-thumbnail-rail__tools {
    display: flex;
    min-height: 40px;
    margin-top: var(--pdp-space-12);
    align-items: center;
    gap: var(--pdp-space-16);
}

body.pdp-modern-page .pdp-thumbnail-rail__tools[hidden] {
    display: none !important;
}

body.pdp-modern-page .pdp-thumbnail-rail__progress {
    position: relative;
    flex: 1 1 auto;
    height: 1px;
    overflow: hidden;
    background: var(--pdp-line);
}

body.pdp-modern-page .pdp-thumbnail-rail__progress-value {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 0;
    background: var(--pdp-ink);
    transition: left 160ms ease, width 160ms ease;
}

body.pdp-modern-page .pdp-thumbnail-rail__buttons {
    display: flex;
    flex: 0 0 auto;
    gap: var(--pdp-space-8);
}

body.pdp-modern-page .pdp-thumbnail-rail__button {
    position: relative;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid var(--pdp-line-strong);
    border-radius: 50%;
    background: #fff;
    color: var(--pdp-ink);
    cursor: pointer;
}

body.pdp-modern-page .pdp-thumbnail-rail__button::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    content: "";
}

body.pdp-modern-page .pdp-thumbnail-rail__button--prev::before {
    transform: translate(-35%, -50%) rotate(-135deg);
}

body.pdp-modern-page .pdp-thumbnail-rail__button--next::before {
    transform: translate(-65%, -50%) rotate(45deg);
}

body.pdp-modern-page .pdp-thumbnail-rail__button:disabled {
    color: var(--pdp-muted);
    cursor: default;
    opacity: .38;
}

body.pdp-modern-page .pdp-thumbnail-rail__button:focus-visible {
    outline: 2px solid var(--pdp-color-focus, #735e77);
    outline-offset: 2px;
}

body.pdp-modern-page #product_detail_photo_e_slide .swiper-slide {
    position: relative;
    width: 112px !important;
    height: 132px !important;
    flex: 0 0 112px;
    overflow: hidden;
    border: 0 !important;
    border-radius: 8px;
    background: var(--pdp-product-media-bg, #f1f0ee);
    box-shadow: none !important;
}

body.pdp-modern-page #product_detail_photo_e_slide {
    width: 100% !important;
    height: 132px !important;
    min-height: 132px;
    min-width: 0;
    overflow: hidden;
    cursor: grab;
    touch-action: pan-y;
}

body.pdp-modern-page #product_detail_photo_e_slide .swiper-wrapper {
    height: 132px !important;
    align-items: stretch;
}

body.pdp-modern-page #product_detail_photo_e_slide:active {
    cursor: grabbing;
}

body.pdp-modern-page #product_detail_photo_e_slide.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none !important;
    user-select: none;
}

body.pdp-modern-page #product_detail_photo_e_slide[data-pdp-native-rail="true"] {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-padding-inline: 0 40px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    touch-action: pan-x pan-y;
}

body.pdp-modern-page #product_detail_photo_e_slide[data-pdp-native-rail="true"]::-webkit-scrollbar {
    display: none;
}

body.pdp-modern-page #product_detail_photo_e_slide[data-pdp-native-rail="true"] .swiper-wrapper {
    display: flex;
    width: max-content !important;
    max-width: none !important;
    gap: 12px;
    margin-inline: 0 !important;
    padding-right: 0;
    transform: none !important;
    transition: none !important;
}

/* The thumbnail frame follows the same aspect as the product image. */
body.pdp-modern-page #product_detail_photo_e_slide[data-pdp-gallery-shape="square"],
body.pdp-modern-page #product_detail_photo_e_slide[data-pdp-gallery-shape="square"] .swiper-wrapper,
body.pdp-modern-page #product_detail_photo_e_slide[data-pdp-gallery-shape="square"] .swiper-slide {
    height: 112px !important;
    min-height: 112px;
}

@media (min-width: 768px) and (max-width: 1023px) {
    body.pdp-modern-page #product_detail_photo_e_slide[data-pdp-gallery-shape="square"],
    body.pdp-modern-page #product_detail_photo_e_slide[data-pdp-gallery-shape="square"] .swiper-wrapper,
    body.pdp-modern-page #product_detail_photo_e_slide[data-pdp-gallery-shape="square"] .swiper-slide {
        height: 92px !important;
        min-height: 92px;
    }
}

@media (max-width: 767px) {
    body.pdp-modern-page #product_detail_photo_e_slide[data-pdp-gallery-shape="square"],
    body.pdp-modern-page #product_detail_photo_e_slide[data-pdp-gallery-shape="square"] .swiper-wrapper,
    body.pdp-modern-page #product_detail_photo_e_slide[data-pdp-gallery-shape="square"] .swiper-slide {
        height: 88px !important;
        min-height: 88px;
    }
}

body.pdp-modern-page #product_detail_photo_e_slide[data-pdp-native-rail="true"] .swiper-slide {
    margin-right: 0 !important;
    scroll-snap-align: none;
}

body.pdp-modern-page #product_detail_photo_e_slide .photo_e_img[data-pdp-media-kind="image"] {
    display: block;
    width: 100%;
    height: 100%;
    opacity: 1 !important;
    object-fit: contain;
    object-position: center;
    transform: none !important;
}

body.pdp-modern-page #product_detail_photo_e_slide .set_skin_slide_btn .set_skin_img {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 44%;
    height: auto;
    max-height: calc(100% - 16px);
    margin-top: -2px;
    opacity: 1 !important;
    object-fit: contain;
    object-position: center;
    transform: translate(-50%, -50%) !important;
}

body.pdp-modern-page .set_skin_preview_wrapper {
    background: var(--pdp-product-media-bg, #f1f0ee);
}

body.pdp-modern-page .set_skin_preview_wrapper > .set_skin_img {
    width: 43%;
}

body.pdp-modern-page .pdp-set-skin-preview-link {
    position: absolute;
    bottom: 68px;
    left: 50%;
    z-index: 6;
    display: inline-flex;
    min-height: 40px;
    padding: 0 16px;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(23, 24, 25, .16);
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(23, 24, 25, .08);
    color: var(--pdp-ink);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    transform: translateX(-50%);
    cursor: pointer;
}

body.pdp-modern-page .pdp-set-skin-preview-link__arrow {
    width: 6px;
    height: 6px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(-45deg);
}

body.pdp-modern-page .pdp-set-skin-preview-link:hover {
    border-color: rgba(23, 24, 25, .34);
}

body.pdp-modern-page .pdp-set-skin-preview-link:focus-visible {
    outline: 2px solid var(--pdp-color-focus, #735e77);
    outline-offset: 3px;
}

body.pdp-modern-page #product_detail_photo_e_slide :is(.photo_e_img, .set_skin_slide_btn, .customizer_mini_wrapper) {
    box-sizing: border-box;
}

body.pdp-modern-page #product_detail_photo_e_slide button.set_skin_slide_btn,
body.pdp-modern-page #product_detail_photo_e_slide button.customizer_mini_wrapper {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: var(--pdp-product-media-bg, #f1f0ee);
    font: inherit;
}

body.pdp-modern-page #product_detail_photo_e_slide button.customizer_mini_wrapper[data-pdp-media-kind="composition"] {
    position: relative;
    padding: var(--pdp-space-8);
    overflow: hidden;
    background: var(--pdp-product-media-bg, #f1f0ee);
}

body.pdp-modern-page #product_detail_photo_e_slide .customizer_mini_preview {
    position: absolute;
    inset: var(--pdp-space-8);
    display: block;
    width: auto !important;
    height: auto !important;
    overflow: hidden;
    border: 0;
    border-radius: 4px;
    background: transparent;
    box-shadow: none;
    transform: none !important;
}

body.pdp-modern-page #product_detail_photo_e_slide .swiper-slide.mini_preview_slide {
    background: var(--pdp-product-media-bg, #f1f0ee);
}

body.pdp-modern-page #product_detail_photo_e_slide button.customizer_mini_wrapper[data-pdp-media-kind="composition"]::after {
    position: absolute;
    right: auto;
    bottom: var(--pdp-space-8);
    left: var(--pdp-space-8);
    z-index: 4;
    padding: 2px 6px;
    border: 1px solid rgba(229, 231, 235, .94);
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: var(--pdp-ink);
    content: "셀픽";
    font-size: 11px;
    font-weight: 600;
    line-height: 16px;
    white-space: nowrap;
}

body.pdp-modern-page #product_detail_photo_e_slide .customizer_mini_scene {
    position: absolute;
    display: block;
}

body.pdp-modern-page #product_detail_photo_e_slide .swiper-slide.is-selected {
    box-shadow: none;
}

body.pdp-modern-page #product_detail_photo_e_slide .swiper-slide.is-selected::after {
    position: absolute;
    z-index: 8;
    inset: 0;
    border: var(--pdp-thumbnail-selection-width) solid var(--pdp-thumbnail-selection-color);
    border-radius: var(--pdp-thumbnail-selection-radius);
    pointer-events: none;
    content: "";
}

body.pdp-modern-page #product_detail_photo_e_slide .swiper-slide.is-selected > :is(.photo_e_img, .set_skin_slide_btn, .customizer_mini_wrapper) {
    outline: 0;
}

body.pdp-modern-page #product_detail_photo_e_slide :is(.photo_e_img, .set_skin_slide_btn, .customizer_mini_wrapper):focus-visible {
    box-shadow: inset 0 0 0 var(--pdp-thumbnail-selection-width) var(--pdp-thumbnail-selection-color), inset 0 0 0 5px #fff;
    outline: 0;
}

body.pdp-modern-page #product_detail_photo_e_slide .swiper-slide.mini_preview_slide:not(.is-selected)::after {
    display: none !important;
    content: none !important;
}

body.pdp-modern-page #product_detail_photo_e_slide .swiper-slide.mini_preview_slide.is-selected::after {
    display: block !important;
    background-image: none !important;
    content: "" !important;
}

@media (max-width: 767px) {
    body.pdp-modern-page .pdp-thumbnail-rail__tools {
        display: none !important;
    }
}

body.pdp-modern-page .pdp-modern-purchase-surface .productDeliveryRow.ompFamRow {
    margin-top: 0 !important;
    border-top: 0 !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface .productDeliveryRow.ompFamRow .totalPrice .ompPriceTotal {
    color: var(--pdp-ink) !important;
    font-size: var(--pdp-type-total-price-size) !important;
    font-weight: 700 !important;
    line-height: var(--pdp-type-total-price-line) !important;
    letter-spacing: -.025em;
}

body.pdp-modern-page #productDetailOptions .productDeliveryRow.ompFamRow .totalPrice .ompPriceTotal {
    color: var(--pdp-ink) !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface .productDeliveryRow.ompFamRow .totalPrice {
    display: flex;
    align-items: baseline;
    gap: var(--pdp-space-4);
}

body.pdp-modern-page .pdp-modern-purchase-surface .productDeliveryRow.ompFamRow .priceBox {
    width: auto !important;
    max-width: 100%;
    margin-right: 0 !important;
    margin-left: auto !important;
    justify-content: flex-end;
}

body.pdp-modern-page .pdp-modern-purchase-surface .productDeliveryRow.ompFamRow .totalPrice > span:last-child {
    color: var(--pdp-ink) !important;
    font-size: var(--pdp-type-label-size) !important;
    font-weight: 600 !important;
    line-height: var(--pdp-type-label-line) !important;
}

body.pdp-modern-page .pdp-purchase-actions {
    margin-top: var(--pdp-space-12);
    padding-top: 0;
    padding-bottom: 0;
}

body.pdp-modern-page .pdp-purchase-actions__grid {
    grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1.35fr) !important;
    gap: 8px;
}

body.pdp-modern-page .pdp-purchase-action {
    min-height: 52px;
    padding: 0 var(--pdp-space-12);
    border-radius: 6px;
    font-family: var(--pdp-font-family) !important;
    font-size: var(--pdp-type-button-size);
    font-weight: var(--pdp-type-action-weight);
    line-height: var(--pdp-type-button-line);
    letter-spacing: -.01em;
}

body.pdp-modern-page .pdp-purchase-action:not(.pdp-purchase-action--primary) {
    border-color: var(--pdp-color-control);
    background: #f4f5f6;
    color: var(--pdp-ink);
}

body.pdp-modern-page .pdp-purchase-action:not(.pdp-purchase-action--primary):hover:not(:disabled) {
    border-color: var(--pdp-color-control-hover);
    background: #eceff2;
}

body.pdp-modern-page .pdp-purchase-action[data-pdp-sample-state="selected"] {
    border-color: var(--pdp-color-control);
    background: #fff;
    color: var(--pdp-ink);
    box-shadow: none;
    cursor: default;
    opacity: 1;
}

body.pdp-modern-page .pdp-purchase-action[data-pdp-sample-state="selected"] .pdp-purchase-action__icon--sample-selected {
    color: var(--pdp-ink);
    stroke: var(--pdp-ink);
}

body.pdp-modern-page .pdp-purchase-action--primary {
    border-color: var(--pdp-ink);
    background: var(--pdp-ink);
    font-size: var(--pdp-type-button-size);
    font-weight: var(--pdp-type-action-weight);
}

body.pdp-modern-page .pdp-purchase-action__icon,
body.pdp-modern-page .pdp-purchase-action__arrow {
    width: 18px;
    height: 18px;
}

body.pdp-modern-page .pdp-purchase-action--primary .pdp-purchase-action__arrow {
    color: #fff;
    stroke: #fff;
}

body.pdp-modern-page .pdp-production-process .section_prd_print_proc > article {
    padding: var(--pdp-space-32) 0 var(--pdp-space-16) !important;
}

/* The dock shares the same shell and type scale as the purchase panel. */
body.pdp-modern-page .pdp-purchase-dock__rail {
    width: min(var(--pdp-rail-wide, 1000px), calc(100% - 40px));
}

body.pdp-modern-page .pdp-purchase-dock__quantity-control > span,
body.pdp-modern-page .pdp-purchase-dock__metric dt {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

body.pdp-modern-page .pdp-purchase-dock__identity strong,
body.pdp-modern-page .pdp-purchase-dock__metric dd {
    font-size: var(--pdp-type-body-size);
    font-weight: var(--pdp-type-value-weight);
    line-height: var(--pdp-type-body-line);
}

body.pdp-modern-page .pdp-purchase-dock__identity strong {
    font-weight: 600;
}

body.pdp-modern-page .pdp-purchase-dock__identity > span {
    font-size: 12px !important;
    font-weight: 400;
    line-height: 18px !important;
}

body.pdp-modern-page #pdp-events .pdp-event-rail__controls {
    display: flex;
    min-height: 42px;
    margin-top: 22px;
    align-items: center;
    gap: 8px;
}

body.pdp-modern-page #pdp-events .pdp-event-rail__controls[hidden] {
    display: none !important;
}

body.pdp-modern-page #pdp-events .pdp-event-rail__progress {
    position: relative;
    display: block;
    height: 1px;
    flex: 1 1 auto;
    overflow: visible;
    background: var(--pdp-line);
}

body.pdp-modern-page #pdp-events .pdp-event-rail__progress i {
    position: absolute;
    top: -1px;
    left: 0;
    width: 33.333%;
    height: 3px;
    border-radius: 2px;
    background: var(--pdp-ink);
    transition: left 160ms ease, width 160ms ease;
}

body.pdp-modern-page #pdp-events .pdp-event-rail__button {
    display: inline-grid;
    width: 38px;
    height: 38px;
    padding: 0;
    flex: 0 0 38px;
    place-items: center;
    border: 1px solid var(--pdp-line);
    border-radius: 50%;
    background: #fff;
    color: var(--pdp-ink);
    cursor: pointer;
}

body.pdp-modern-page #pdp-events .pdp-event-rail__button:hover {
    border-color: var(--pdp-color-control-hover);
}

body.pdp-modern-page #pdp-events .pdp-event-rail__button:disabled {
    color: var(--pdp-muted);
    cursor: default;
    opacity: .42;
}

body.pdp-modern-page .pdp-purchase-dock__order {
    font-size: var(--pdp-type-button-size);
    font-weight: 700;
    line-height: var(--pdp-type-button-line);
}

@media (min-width: 768px) {
    body.pdp-modern-page #detail_top_btn {
        top: auto !important;
        right: max(24px, calc((100vw - var(--pdp-rail-wide, 1000px)) / 2 - 56px));
        bottom: 32px;
        left: auto !important;
        display: grid;
        width: 40px;
        height: 40px;
        margin-left: 0 !important;
        place-items: center;
        border: 1px solid var(--pdp-color-control) !important;
        border-radius: 50%;
        background: rgba(255, 255, 255, .96) !important;
        box-shadow: 0 8px 24px rgba(15, 29, 42, .1);
        opacity: 0;
        pointer-events: none;
        z-index: 38;
        transition: opacity 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
    }

    body.pdp-modern-page.pdp-purchase-dock-visible #detail_top_btn {
        bottom: calc(92px + var(--pdp-environment-banner-inset, 0px));
    }

    body.pdp-modern-page #detail_top_btn.is-visible {
        opacity: .86;
        pointer-events: auto;
    }

    body.pdp-modern-page #detail_top_btn.is-visible:hover {
        border-color: var(--pdp-color-control-hover) !important;
        box-shadow: 0 10px 28px rgba(15, 29, 42, .14);
        opacity: 1;
    }

    body.pdp-modern-page #detail_top_btn > img {
        display: none;
    }

    body.pdp-modern-page #detail_top_btn::before {
        width: 8px;
        height: 8px;
        border-top: 1.5px solid var(--pdp-ink);
        border-left: 1.5px solid var(--pdp-ink);
        content: "";
        transform: translateY(2px) rotate(45deg);
    }

    body.pdp-modern-page #menu_r2 {
        position: relative !important;
        top: auto !important;
    }

    body.pdp-modern-page #menu_r2 .fixed_header_content_box,
    body.pdp-modern-page #menu_r2.is-header-pinned > [data-header-sticky-surface] {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    body.pdp-modern-page .pdp-modern-customizer {
        padding-top: 0;
    }

    body.pdp-modern-page .pdp-modern-customizer .ui-tab-menu-btn {
        min-height: 44px;
    }

    body.pdp-modern-page .pdp-modern-customizer .ui-article-wrapper {
        padding-top: var(--pdp-space-4);
        padding-bottom: var(--pdp-space-4);
    }

    body.pdp-modern-page .pdp-modern-customizer .ui-customizer-row {
        min-height: 48px !important;
        padding: var(--pdp-space-4) 0 !important;
    }

    body.pdp-modern-page .pdp-modern-customizer #customizer-panel-upload .ui-customizer-row-body {
        width: 100% !important;
        margin-left: 0;
    }

    body.pdp-modern-page .pdp-modern-purchase-surface :is(.orderQtyRow, .consumerPhotoEditRow) > ul,
    body.pdp-modern-page .pdp-modern-purchase-surface #productSpecArea > div[class*="Row"]:not(.productDeliveryRow) > ul {
        min-height: 40px;
        padding-top: var(--pdp-space-8);
        padding-bottom: var(--pdp-space-8);
    }

    body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow > ul {
        padding-top: var(--pdp-space-8);
        padding-bottom: var(--pdp-space-8);
    }

    body.pdp-modern-page .top_r1_block_wrapper,
    body.pdp-modern-page .top_r1_block {
        height: 64px;
    }

    body.pdp-modern-page #main_logo_img {
        width: 148px;
        height: 64px;
    }

    body.pdp-modern-page #menu_r2,
    body.pdp-modern-page #menu_r2 .fixed_header_content_box,
    body.pdp-modern-page #menu_r2 .top_r2_block,
    body.pdp-modern-page #menu_r2 .top_r2_menu,
    body.pdp-modern-page #menu_r2 #top_r2_left,
    body.pdp-modern-page #menu_r2 #top_r2_right,
    body.pdp-modern-page #menu_r2 .top_r2_menu_ul {
        height: 52px;
    }

    body.pdp-modern-page #menu_r2 .top_r2_menu_ul > li > a {
        font-family: var(--pdp-font-family);
        font-weight: 600;
    }

    body.pdp-modern-page .ui-fixed_bottom_banner_free_sample {
        display: none !important;
    }

    body.pdp-modern-page #document_middle {
        width: var(--pdp-shell-width);
        max-width: 100%;
        margin-top: var(--pdp-space-4);
    }

    body.pdp-modern-page #document_middle > table,
    body.pdp-modern-page #document_middle > table > tbody {
        display: block;
        width: 100%;
    }

    body.pdp-modern-page #document_middle > table > tbody > tr:first-child {
        display: grid;
        width: 100%;
        grid-template-columns: var(--pdp-hero-media-width) var(--pdp-grid-gutter) var(--pdp-hero-purchase-width);
        align-items: start;
    }

    body.pdp-modern-page #document_middle > table > tbody > tr:first-child > td {
        display: block;
        width: auto !important;
        min-width: 0;
    }

    body.pdp-modern-page #document_middle > table > tbody > tr:first-child > td:nth-child(1) {
        grid-column: 1;
    }

    body.pdp-modern-page #document_middle > table > tbody > tr:first-child > td:nth-child(2) {
        grid-column: 2;
    }

    body.pdp-modern-page #document_middle > table > tbody > tr:first-child > td:nth-child(3) {
        grid-column: 3;
    }

    body.pdp-modern-page #document_middle > table > tbody > tr:nth-child(2):empty {
        display: none;
    }

    body.pdp-modern-page #document_middle :is(#product_photo_wrapper, #product_photo) {
        width: 100% !important;
        max-width: 100%;
    }

    body.pdp-modern-page #document_middle .sc-preview-size-base {
        width: 520px !important;
        max-width: 520px;
        height: 624px !important;
        margin-right: auto;
        margin-left: auto;
    }

    body.pdp-modern-page #document_middle #photoz_area {
        width: 520px !important;
        max-width: none;
        height: 624px !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        background-size: contain !important;
    }

    body.pdp-modern-page #product_detail_photo_e_slide {
        width: 100% !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }

    body.pdp-modern-page #document_middle .product_detail_right_all_wrapper {
        width: var(--pdp-hero-purchase-width) !important;
        max-width: 100%;
    }
}

@media (min-width: 1100px) {
    body.pdp-modern-page #document_middle > table > tbody > tr:first-child > td:nth-child(3) {
        align-self: start;
        display: block;
    }

    body.pdp-modern-page #document_middle .product_detail_right_all_wrapper {
        display: block;
        min-height: 0;
    }

    body.pdp-modern-page #document_middle .product_detail_right_all_wrapper > #product_detail_price_area {
        display: block;
        width: 100% !important;
        min-width: 0;
        margin: 0 !important;
    }

    body.pdp-modern-page #document_middle .product_detail_right_all_wrapper > #product_detail_price_area > .productOptionArea,
    body.pdp-modern-page #document_middle .product_detail_right_all_wrapper #productDetailOptions,
    body.pdp-modern-page #document_middle .product_detail_right_all_wrapper #productSpecArea {
        display: block;
        width: 100%;
        min-width: 0;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    body.pdp-modern-page #document_middle .product_detail_right_all_wrapper .productDeliveryRow.ompFamRow {
        width: 100%;
        margin: 0 !important;
    }

    body.pdp-modern-page #document_middle .product_detail_right_all_wrapper > .pdp-purchase-actions {
        margin-top: var(--pdp-space-16);
    }
}

@media (min-width: 1100px) and (max-width: 1142px) {
    body.pdp-modern-page .pdp-thumbnail-rail {
        width: 520px;
    }
}

@media (min-width: 768px) and (max-width: 959px) {
    body.pdp-modern-page {
        --pdp-hero-media-width: clamp(320px, calc(100vw - 456px), 480px);
    }

    body.pdp-modern-page .pdp-product-shell {
        width: 100% !important;
        padding-top: 20px !important;
    }

    body.pdp-modern-page .pdp-hero-grid {
        width: calc(100% - 32px);
        grid-template-columns: minmax(0, var(--pdp-hero-media-width)) minmax(0, 1fr);
        column-gap: 24px;
        row-gap: 0;
    }

    body.pdp-modern-page #document_middle {
        width: calc(100% - 32px) !important;
        margin-right: auto;
        margin-left: auto;
    }

    body.pdp-modern-page #document_middle > table > tbody > tr:first-child {
        grid-template-columns: minmax(0, var(--pdp-hero-media-width)) minmax(0, 1fr);
        column-gap: 24px;
        justify-content: center;
        row-gap: 0;
    }

    body.pdp-modern-page #document_middle > table > tbody > tr:first-child > td:nth-child(2) {
        display: none;
    }

    body.pdp-modern-page #document_middle > table > tbody > tr:first-child > td:nth-child(3) {
        grid-row: 1;
        grid-column: 2;
    }

    body.pdp-modern-page #document_middle .product_detail_right_all_wrapper {
        width: 100% !important;
        margin-right: auto;
        margin-left: auto;
    }

    body.pdp-modern-page #document_middle .sc-preview-size-base,
    body.pdp-modern-page #document_middle #photoz_area {
        width: var(--pdp-hero-media-width) !important;
        max-width: var(--pdp-hero-media-width);
        height: calc(var(--pdp-hero-media-width) * 1.2) !important;
    }

    body.pdp-modern-page .pdp-thumbnail-rail {
        width: var(--pdp-hero-media-width);
    }
}

@media (min-width: 960px) and (max-width: 1099px) {
    body.pdp-modern-page .pdp-product-shell {
        width: 100% !important;
        padding-top: 20px !important;
    }

    body.pdp-modern-page #document_middle {
        width: min(1000px, calc(100% - 48px)) !important;
        margin-right: auto;
        margin-left: auto;
    }

    body.pdp-modern-page #document_middle > table > tbody > tr:first-child {
        grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
        column-gap: 32px;
        row-gap: 0;
        justify-content: center;
    }

    body.pdp-modern-page #document_middle > table > tbody > tr:first-child > td:nth-child(2) {
        display: none;
    }

    body.pdp-modern-page #document_middle > table > tbody > tr:first-child > td:nth-child(3) {
        grid-row: 1;
        grid-column: 2;
    }
}

@media (min-width: 960px) and (max-width: 1023px) {
    body.pdp-modern-page {
        --pdp-hero-media-width: 480px;
    }

    body.pdp-modern-page .pdp-hero-grid {
        width: min(1000px, calc(100% - 48px));
        margin-right: auto;
        margin-left: auto;
        grid-template-columns: minmax(0, var(--pdp-hero-media-width)) minmax(0, 1fr);
        column-gap: 24px;
        row-gap: 0;
    }

    body.pdp-modern-page #document_middle > table > tbody > tr:first-child {
        grid-template-columns: minmax(0, var(--pdp-hero-media-width)) minmax(0, 1fr);
        column-gap: 24px;
    }

    body.pdp-modern-page #document_middle > table > tbody > tr:first-child > td:nth-child(3) {
        grid-row: 1;
        grid-column: 2;
    }

    body.pdp-modern-page #document_middle .product_detail_right_all_wrapper {
        width: 100% !important;
        margin-right: auto;
        margin-left: auto;
    }

    body.pdp-modern-page #document_middle .sc-preview-size-base,
    body.pdp-modern-page #document_middle #photoz_area {
        width: var(--pdp-hero-media-width) !important;
        max-width: var(--pdp-hero-media-width);
        height: 576px !important;
    }

    body.pdp-modern-page .pdp-thumbnail-rail {
        width: var(--pdp-hero-media-width);
    }
}

@media (min-width: 1024px) and (max-width: 1099px) {
    body.pdp-modern-page {
        --pdp-hero-media-width: 480px;
    }

    body.pdp-modern-page .pdp-product-shell {
        padding-top: 4px !important;
    }

    body.pdp-modern-page .pdp-purchase-actions {
        margin-top: 4px;
    }

    body.pdp-modern-page .pdp-modern-customizer #customizer-panel-upload {
        min-height: 48px !important;
        padding: 0 !important;
    }

    body.pdp-modern-page .pdp-modern-customizer :is(
        .pdp-photo-entry,
        .pdp-photo-entry__actions,
        .pdp-photo-entry button.ui-preview-apply-btn,
        .pdp-photo-entry button.ui-modify-btn
    ) {
        min-height: 48px;
    }

    body.pdp-modern-page .pdp-modern-customizer .pdp-photo-entry button.ui-preview-apply-btn {
        grid-template-columns: 32px minmax(0, 1fr) auto;
        column-gap: 8px;
        padding: 4px 8px;
    }

    body.pdp-modern-page .pdp-modern-customizer .pdp-photo-entry__icon {
        width: 32px;
        height: 32px;
    }

    body.pdp-modern-page .pdp-modern-customizer .pdp-photo-entry button.ui-modify-btn > span {
        min-height: 46px;
    }

    body.pdp-modern-page .pdp-modern-customizer .pdp-customizer-photo-status {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    body.pdp-modern-page .pdp-hero-grid {
        width: min(1000px, calc(100% - 48px));
        margin-right: auto;
        margin-left: auto;
        grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
        column-gap: 32px;
        row-gap: 0;
    }

    body.pdp-modern-page #document_middle .sc-preview-size-base,
    body.pdp-modern-page #document_middle #photoz_area {
        width: var(--pdp-hero-media-width) !important;
        max-width: var(--pdp-hero-media-width);
        height: 576px !important;
    }

    body.pdp-modern-page .pdp-thumbnail-rail {
        width: var(--pdp-hero-media-width);
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    body.pdp-modern-page #product_detail_photo_e_slide .swiper-slide {
        width: 92px !important;
        height: 108px !important;
        flex-basis: 92px;
    }

    body.pdp-modern-page #product_detail_photo_e_slide,
    body.pdp-modern-page #product_detail_photo_e_slide .swiper-wrapper {
        height: 108px !important;
        min-height: 108px;
    }
}

/* 폰 첫 진입 머리 줄(card/js/product-detail-entry-header.js 와 짝, 같은 미디어 조건).
   사진은 처음부터 맨 위에 그려지고 머리 줄만 그 위에 떠 있다가 위로 걷힌다 — 내용은 움직이지 않는다.
   걷힌 뒤에는 스크립트가 클래스를 떼어 머리 줄을 원래 흐름으로 돌린다. 걷히는 시간은 스크립트가 여기서 읽는다. */
@media (max-width: 768px) {
    html.pdp-entry-header-over #menu_r1 {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        transition: transform 280ms cubic-bezier(.4, 0, .2, 1);
        will-change: transform;
    }

    html.pdp-entry-header-over.pdp-entry-header-away #menu_r1 {
        transform: translate3d(0, -100%, 0);
    }
}

@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
    html.pdp-entry-header-over #menu_r1 {
        transition: none;
    }
}

@media (max-width: 767px) {
    body.pdp-modern-page #menu_r1.bojagiMobileCompactHeader::after {
        display: none !important;
    }

    body.pdp-modern-page {
        --pdp-page-gutter: 16px;
        --pdp-mobile-content-padding: 16px;
        --pdp-mobile-content-width: calc(100% - (var(--pdp-mobile-content-padding) * 2));
        --pdp-grid-columns: 4;
        --pdp-grid-gutter: 16px;
        --pdp-field-label-width: 100px;
        --pdp-field-gap: 12px;
        --pdp-control-height: 52px;
        --pdp-section-top: 56px;
        --pdp-section-title-gap: 8px;

    }

    body.pdp-modern-page.pdp-installment-plan-open {
        overflow: hidden !important;
    }

    body.pdp-modern-page #freeTax-plan {
        position: fixed;
        z-index: 12000;
        inset: 0;
        align-items: flex-end;
        padding: 0;
        background: rgba(18, 28, 38, .42);
    }

    body.pdp-modern-page #freeTax-plan.is-open {
        display: flex !important;
    }

    body.pdp-modern-page #freeTax-plan .freeTaxPlanBox {
        display: flex;
        width: 100% !important;
        max-height: min(78vh, 680px);
        margin: 0 !important;
        overflow-y: auto;
        padding: var(--pdp-space-24) var(--pdp-mobile-content-padding)
            calc(var(--pdp-space-20) + env(safe-area-inset-bottom)) !important;
        border-radius: 18px 18px 0 0;
        background: #fff;
        box-shadow: 0 -16px 48px rgba(18, 28, 38, .18);
        box-sizing: border-box;
    }

    body.pdp-modern-page #freeTax-plan .freeTaxPlanBox > li:first-child,
    body.pdp-modern-page #freeTax-plan .popupContentBox {
        width: 100% !important;
        box-sizing: border-box;
    }

    body.pdp-modern-page #freeTax-plan .popupTitle {
        display: block;
        margin-bottom: var(--pdp-space-16);
        color: var(--pdp-ink);
        font-size: var(--pdp-type-subsection-size) !important;
        font-weight: 700;
        line-height: var(--pdp-type-subsection-line) !important;
    }

    body.pdp-modern-page #freeTax-plan .popUpConTextTop {
        display: flex;
        margin-bottom: var(--pdp-space-12);
        align-items: center;
        justify-content: space-between;
        gap: var(--pdp-space-8);
        color: var(--pdp-subtle);
        font-size: var(--pdp-type-body-size);
        line-height: var(--pdp-type-body-line);
    }

    body.pdp-modern-page #freeTax-plan .taxFreeTable {
        width: 100% !important;
        border: 0 !important;
        border-collapse: collapse;
        table-layout: fixed;
    }

    body.pdp-modern-page #freeTax-plan .taxFreeTable td {
        height: auto !important;
        padding: var(--pdp-space-8) var(--pdp-space-12) !important;
        border-color: var(--pdp-line) !important;
        color: var(--pdp-ink) !important;
        font-size: var(--pdp-type-body-size) !important;
        line-height: var(--pdp-type-body-line) !important;
        box-sizing: border-box;
    }

    body.pdp-modern-page #freeTax-plan .taxFreeTable td:last-child {
        text-align: right;
    }

    body.pdp-modern-page #freeTax-plan .popUpConTextBottom {
        display: flex;
        margin-top: var(--pdp-space-12);
        flex-direction: column;
        gap: var(--pdp-space-4);
        color: var(--pdp-subtle);
        font-size: var(--pdp-type-body-size);
        line-height: var(--pdp-type-body-line);
    }

    body.pdp-modern-page #freeTaxPlanClose {
        position: sticky;
        bottom: 0;
        width: 100% !important;
        height: auto;
        margin-top: var(--pdp-space-16);
        background: #fff;
    }

    body.pdp-modern-page #freeTaxPlanClose::after {
        display: none;
    }

    body.pdp-modern-page #freeTaxPlanClose button {
        width: 100%;
        min-height: 44px;
        border: 0;
        border-radius: var(--pdp-radius-control);
        background: var(--pdp-ink);
        color: #fff;
        font-family: var(--pdp-font-family) !important;
        font-size: var(--pdp-type-button-size);
        font-weight: 700;
        cursor: pointer;
    }

    body.pdp-modern-page #main_wrapper,
    body.pdp-modern-page #main_content_wrapper,
    body.pdp-modern-page #main_content_wrapper > .window {
        width: 100% !important;
        max-width: none !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    body.pdp-modern-page :is(
        #main_header,
        #main_header .menu1_btns,
        #main_header .menu1_btns > ul
    ) {
        width: 100% !important;
        max-width: 100% !important;
        right: 0 !important;
        left: 0 !important;
        box-sizing: border-box;
    }

    body.pdp-modern-page #prd_title_positioner {
        width: 100% !important;
        max-width: 100% !important;
        right: 0 !important;
        left: 0 !important;
        transform: none !important;
    }

    body.pdp-modern-page .pdp-semantic-section > .pdp-section-heading {
        width: var(--pdp-mobile-content-width);
        padding-right: 0;
        padding-left: 0;
    }

    body.pdp-modern-page .product_photo_slide,
    body.pdp-modern-page #productTabMenu {
        width: 100%;
        max-width: none;
    }

    body.pdp-modern-page .product_photo_slide.sc-preview-size-base,
    body.pdp-modern-page #slider0 {
        height: auto !important;
    }

    body.pdp-modern-page .pdp-hero-gallery .sc-preview-size-base {
        touch-action: pan-y pinch-zoom;
    }

    body.pdp-modern-page #slider0 .swiper-wrapper {
        transition-property: transform, height;
    }

    body.pdp-modern-page #slider0 .swiper-slide {
        height: auto !important;
    }

    body.pdp-modern-page #slider0 .slider0_photo_img {
        display: block;
        width: 100% !important;
        max-width: 100%;
        height: auto !important;
        aspect-ratio: auto 5 / 6;
        object-fit: contain;
        object-position: center;
    }

    body.pdp-modern-page .pdp-mobile-thumbnail-rail,
    body.pdp-modern-page [data-pdp-mobile-thumbnail-rail] {
        display: block;
        width: 100%;
        min-height: 104px;
        padding: 10px 0;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-padding-inline: var(--pdp-mobile-content-padding);
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        overscroll-behavior-inline: contain;
        box-sizing: border-box;
        -webkit-overflow-scrolling: touch;
    }

    body.pdp-modern-page .pdp-mobile-thumbnail-rail[hidden] {
        display: none !important;
    }

    body.pdp-modern-page .pdp-mobile-thumbnail-track {
        display: flex;
        width: max-content;
        min-width: 100%;
        align-items: stretch;
        gap: 10px;
        padding: 0 max(var(--pdp-mobile-content-padding), calc(50vw - 36px)) 0 var(--pdp-mobile-content-padding);
        box-sizing: border-box;
    }

    body.pdp-modern-page .pdp-mobile-thumbnail-rail::-webkit-scrollbar,
    body.pdp-modern-page [data-pdp-mobile-thumbnail-rail]::-webkit-scrollbar {
        display: none;
    }

    body.pdp-modern-page .pdp-mobile-thumbnail {
        position: relative;
        display: block;
        width: 72px;
        height: 84px;
        flex: 0 0 72px;
        overflow: hidden;
        padding: 0;
        border: 0;
        border-radius: var(--pdp-thumbnail-selection-radius);
        background: var(--pdp-product-media-bg, #f1f0ee);
        scroll-snap-align: center;
        box-sizing: border-box;
    }

    body.pdp-modern-page .pdp-mobile-thumbnail::after {
        position: absolute;
        z-index: 2;
        inset: 0;
        border: var(--pdp-thumbnail-selection-width) solid transparent;
        border-radius: inherit;
        pointer-events: none;
        content: '';
    }

    body.pdp-modern-page .pdp-mobile-thumbnail:is(.is-selected, [aria-pressed="true"])::after {
        border-color: var(--pdp-thumbnail-selection-color);
    }

    body.pdp-modern-page .pdp-mobile-thumbnail__image {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
    }

    body.pdp-modern-page .pdp-mobile-thumbnail--composition {
        padding: 6px;
    }

    body.pdp-modern-page .pdp-mobile-thumbnail__composition {
        position: relative;
        display: block;
        width: 100%;
        height: 100%;
        overflow: hidden;
        border-radius: 4px;
        background: var(--pdp-product-media-bg, #f1f0ee);
    }

    body.pdp-modern-page .pdp-mobile-thumbnail__composition-skin,
    body.pdp-modern-page .pdp-mobile-thumbnail__composition-frame,
    body.pdp-modern-page .pdp-mobile-thumbnail__composition-hand {
        position: absolute;
        display: block;
        height: auto;
        object-fit: contain;
    }

    body.pdp-modern-page .pdp-mobile-thumbnail__composition-skin,
    body.pdp-modern-page .pdp-mobile-thumbnail__composition-frame {
        top: 7%;
        left: 50%;
        width: 38%;
        transform: translateX(-50%);
    }

    body.pdp-modern-page .pdp-mobile-thumbnail__composition-skin {
        z-index: 1;
        border-radius: 3px;
    }

    body.pdp-modern-page .pdp-mobile-thumbnail__composition-frame {
        z-index: 2;
    }

    body.pdp-modern-page .pdp-mobile-thumbnail__composition-hand {
        bottom: -7%;
        left: 50%;
        z-index: 3;
        width: 72%;
        transform: translateX(-54%);
    }

    body.pdp-modern-page .pdp-set-skin-preview-link {
        bottom: 56px;
        min-height: 38px;
        padding-inline: 14px;
        font-size: 14px !important;
    }

    body.pdp-modern-page #slider0 .pdp-mobile-fixed-ratio-slide {
        aspect-ratio: 5 / 6;
    }

    body.pdp-modern-page #slider0 .pdp-mobile-fixed-ratio-slide > :is(.set_skin_slide, #self_custom_area) {
        height: 100%;
    }

    body.pdp-modern-page .pdp-mobile-gallery-arrow {
        display: none !important;
    }

    body.pdp-modern-page .pdp-mobile-gallery-arrow--prev {
        left: var(--pdp-space-12);
    }

    body.pdp-modern-page .pdp-mobile-gallery-arrow--next {
        right: var(--pdp-space-12);
    }

    body.pdp-modern-page .pdp-mobile-gallery-arrow svg {
        width: 17px;
        height: 17px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.6;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    body.pdp-modern-page .pdp-mobile-gallery-arrow:focus-visible {
        box-shadow: 0 0 0 3px var(--pdp-color-focus), 0 3px 12px rgba(23, 35, 47, .1);
        outline: 0;
    }

    body.pdp-modern-page .pdp-mobile-gallery-counter-wrap {
        bottom: var(--pdp-space-12) !important;
        padding: 0 !important;
        pointer-events: none;
    }

    body.pdp-modern-page .pdp-mobile-gallery-counter {
        display: inline-flex;
        min-width: 44px;
        height: 24px;
        align-items: center;
        justify-content: center;
        padding: 0 var(--pdp-space-8);
        border-radius: 999px;
        background: rgba(23, 35, 47, .7);
        color: #fff;
        font-size: var(--pdp-type-body-size);
        font-weight: 600;
        line-height: 24px;
        box-sizing: border-box;
        backdrop-filter: blur(8px);
    }

    body.pdp-modern-page .swipe_touch_blocker {
        height: 100% !important;
    }

    body.pdp-modern-page .tbl1_wrapper {
        width: var(--pdp-mobile-content-width) !important;
        margin-right: var(--pdp-mobile-content-padding) !important;
        margin-left: var(--pdp-mobile-content-padding) !important;
        padding-bottom: var(--pdp-space-16) !important;
    }

    body.pdp-modern-page .tbl1_wrapper #product_detail_price_area {
        width: 100%;
        padding-top: var(--pdp-space-20, 20px) !important;
    }

    body.pdp-modern-page .pdp-modern-purchase-surface {
        display: flex;
        flex-direction: column;
    }

    body.pdp-modern-page .pdp-modern-purchase-surface > .product_view_name {
        order: 1;
        padding-top: 0;
        padding-bottom: var(--pdp-space-24);
    }

    body.pdp-modern-page .pdp-modern-purchase-surface > :is(.pdp-selpick-design-section, .pdp-modern-customizer) {
        order: 2;
    }

    body.pdp-modern-page .pdp-modern-purchase-surface > #productDetailOptions {
        order: 3;
        width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    body.pdp-modern-page .pdp-selpick-first .pdp-modern-customizer {
        border-top: 0;
    }

    body.pdp-modern-page #productTabMenu.pdp-mobile-section-nav {
        margin-top: 0;
        padding-right: 0;
        padding-left: 0;
    }

    body.pdp-modern-page #productTabMenu.pdp-mobile-section-nav .pdp-section-nav__back {
        min-height: 45px;
    }

    body.pdp-modern-page .pdp-modern-purchase-surface .product_view_name {
        padding-bottom: 24px;
    }

    body.pdp-modern-page .pdp-modern-purchase-surface .pdp-product-title {
        font-size: var(--pdp-type-product-size);
        line-height: var(--pdp-type-product-line);
    }

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-product-eyebrow {
        margin-bottom: 5px;
        font-size: var(--pdp-type-body-size);
        line-height: var(--pdp-type-body-line);
    }

    body.pdp-modern-page .pdp-modern-purchase-surface .pdDesc {
        margin-top: 6px;
        font-size: var(--pdp-type-body-size);
        line-height: var(--pdp-type-body-line);
    }

    body.pdp-modern-page .pdp-modern-purchase-surface .pdDesc {
        word-break: keep-all;
        text-wrap: pretty;
    }

    /* Mobile purchase hierarchy: primary choices stack, compact facts stay inline. */
    body.pdp-modern-page .pdp-modern-purchase-surface .pdp-quantity-block > ul {
        grid-template-columns: minmax(0, 1fr) !important;
        row-gap: var(--pdp-space-8);
        align-items: start !important;
        padding-top: 0;
        padding-bottom: var(--pdp-space-8);
    }

    body.pdp-modern-page .pdp-modern-purchase-surface .pdp-quantity-block > ul > li,
    body.pdp-modern-page .pdp-modern-purchase-surface .pdp-quantity-block__body,
    body.pdp-modern-page .pdp-modern-purchase-surface .pdp-quantity-block__summary {
        width: 100% !important;
        min-width: 0;
    }

    body.pdp-modern-page .pdp-modern-purchase-surface .pdp-primary-option-row .orderOptionContent {
        grid-template-columns: minmax(0, 1fr) !important;
        row-gap: 7px;
        align-items: start;
    }

    body.pdp-modern-page .pdp-modern-purchase-surface .pdp-primary-option-row .optionTitle {
        width: 100% !important;
        padding-top: 0 !important;
    }

    body.pdp-modern-page .pdp-modern-purchase-surface .pdp-primary-option-row .optionSelectBox {
        width: 100% !important;
        grid-column: 1;
    }

    body.pdp-modern-page .pdp-modern-purchase-surface .btn_omp_toggle {
        grid-template-columns: var(--pdp-field-label-width) var(--pdp-field-gap) minmax(0, 1fr) 16px;
        column-gap: 0;
    }

    body.pdp-modern-page .pdp-modern-purchase-surface .pdp-additional-options__heading {
        grid-column: 1;
    }

    body.pdp-modern-page .pdp-modern-purchase-surface .pdp-additional-options__summary {
        overflow: hidden;
        grid-column: 3;
        justify-self: start;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.pdp-modern-page .pdp-modern-purchase-surface .btn_omp_view_more {
        grid-column: 4;
    }

    body.pdp-modern-page .pdp-modern-purchase-surface .pdp-additional-options .ompProductRow .orderOptionContent {
        grid-template-columns: minmax(0, 1fr) !important;
        row-gap: 10px;
    }

    body.pdp-modern-page .pdp-modern-purchase-surface .pdp-additional-options .ompProductRow .optionTitle {
        padding-top: 0 !important;
    }

    body.pdp-modern-page .pdp-modern-purchase-surface .pdp-additional-options .ompProductRow .optionSelectBox {
        width: 100% !important;
        grid-column: 1;
    }

    body.pdp-modern-page .pdp-modern-purchase-surface :is(.etaPrintMakingRow, .processingMethodRow) > ul {
        min-height: 48px;
        grid-template-columns: var(--pdp-field-label-width) minmax(0, 1fr) !important;
        column-gap: var(--pdp-space-12);
    }

    body.pdp-modern-page .pdp-modern-purchase-surface :is(.etaPrintMakingRow, .processingMethodRow) > ul > li:last-child {
        padding-left: 0;
    }

    body.pdp-modern-page .pdp-modern-purchase-surface :is(.etaPrintMakingRow, .processingMethodRow) .pdp-inline-guide-button {
        min-height: 44px;
        color: #4f5965;
    }

    body.pdp-modern-page .pdp-modern-purchase-surface .productDeliveryRow.ompFamRow > ul {
        min-height: 68px;
        grid-template-columns: minmax(0, 1fr) auto !important;
        column-gap: var(--pdp-space-12);
    }

    body.pdp-modern-page .pdp-modern-purchase-surface .consumerPriceRow > ul {
        padding: var(--pdp-space-16) 0;
    }

    body.pdp-modern-page .pdp-modern-purchase-surface :is(select, input[type="text"], input[type="number"]) {
        min-height: var(--pdp-control-height);
    }

    body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow > ul {
        padding-top: var(--pdp-space-12);
        padding-bottom: var(--pdp-space-12);
    }

    body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow .optionTitle > li:nth-child(2) {
        flex-wrap: wrap;
        row-gap: 0;
        white-space: normal;
    }

    body.pdp-modern-page .pdp-purchase-actions__grid {
        grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1.35fr) !important;
        gap: var(--pdp-space-8) !important;
    }

    body.pdp-modern-page .pdp-purchase-actions__grid [data-pdp-action="order"] {
        grid-column: 3;
        grid-row: 1;
        min-height: 56px;
    }

    body.pdp-modern-page .pdp-purchase-actions__grid [data-pdp-action="cart"] {
        grid-column: 1;
        grid-row: 1;
    }

    body.pdp-modern-page .pdp-purchase-actions__grid [data-pdp-action="sample"] {
        grid-column: 2;
        grid-row: 1;
    }

    body.pdp-modern-page .pdp-purchase-action {
        min-height: 56px;
        padding: 0 var(--pdp-space-8);
        font-size: var(--pdp-type-button-size);
        line-height: var(--pdp-type-button-line);
    }

    body.pdp-modern-page .pdp-purchase-actions__grid [data-pdp-action="order"] {
        font-size: var(--pdp-type-button-size);
    }

    body.pdp-modern-page .pdp-production-process .section_prd_print_proc > article {
        padding: var(--pdp-space-24) 0 var(--pdp-space-12) !important;
    }

    body.pdp-modern-page .pdp-modern-customizer .pdp-photo-entry button.ui-preview-apply-btn {
        min-height: 64px;
        grid-template-columns: 36px minmax(0, 1fr) auto;
        column-gap: var(--pdp-space-8);
        padding: var(--pdp-space-8);
    }

    body.pdp-modern-page .pdp-modern-customizer .pdp-photo-entry__icon {
        width: 36px;
        height: 36px;
    }

    body.pdp-modern-page .pdp-modern-customizer .pdp-photo-entry__action {
        min-width: 36px;
    }

    body.pdp-modern-page .pdp-modern-customizer .pdp-photo-entry button.ui-modify-btn {
        width: 92px;
        min-width: 92px;
        min-height: 64px;
        padding: 0 var(--pdp-space-8);
        box-sizing: border-box;
    }

    body.pdp-modern-page .pdp-modern-customizer .pdp-customizer-photo-status {
        white-space: nowrap;
    }

    body.pdp-modern-page .pdp-purchase-dock__rail {
        display: block;
        width: 100%;
        height: calc(64px + env(safe-area-inset-bottom));
        padding: 6px var(--pdp-mobile-content-padding) calc(6px + env(safe-area-inset-bottom));
    }

    body.pdp-modern-page .pdp-purchase-dock__actions {
        height: 52px;
    }

    body.pdp-modern-page .pdp-purchase-dock .pdp-purchase-dock__utility {
        height: 52px;
        min-height: 52px;
    }

    body.pdp-modern-page .pdp-purchase-dock .pdp-purchase-dock__order {
        width: 100%;
        min-width: 0;
        height: 52px;
        min-height: 52px;
        padding: 0 var(--pdp-space-12);
        font-size: var(--pdp-type-button-size);
        line-height: var(--pdp-type-button-line);
    }

    body.pdp-modern-page.pdp-purchase-dock-visible {
        padding-bottom: calc(64px + env(safe-area-inset-bottom) + var(--pdp-environment-banner-inset, 0px)) !important;
    }

    body.pdp-modern-page :is(
        .fixedBottomMenuWrapper,
        #product_detail_bottom_menu,
        .bottomMenuListBox
    ) {
        display: none !important;
    }
}

@media (max-width: 359px) {
    body.pdp-modern-page {
        --pdp-mobile-content-padding: 16px;
    }

    body.pdp-modern-page .pdp-modern-purchase-surface .orderQtyRow > ul,
    body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow .orderOptionContent {
        grid-template-columns: minmax(0, 1fr) !important;
        row-gap: var(--pdp-space-8);
        align-items: start;
    }

    body.pdp-modern-page .pdp-modern-purchase-surface .pdp-additional-options .ompProductRow .optionSelectBox {
        grid-column: 1;
    }

    body.pdp-modern-page .pdp-modern-purchase-surface .orderQtyRow > ul > li:last-child,
    body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow .optionSelectBox {
        width: 100% !important;
    }
}

/* Product guide dialog: schedule, processing and installment share one surface. */
body.pdp-modern-page.pdp-product-guide-open {
    overflow: hidden !important;
}

body.pdp-modern-page .pdp-inline-guide-button {
    display: inline-flex;
    width: 100%;
    min-width: 0;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    min-height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--pdp-muted);
    font: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

body.pdp-modern-page .pdp-inline-guide-button > span {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    color: inherit !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.pdp-modern-page .pdp-inline-guide-button > svg {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    margin-left: auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
}

body.pdp-modern-page .pdp-inline-guide-button:hover {
    color: var(--pdp-ink);
}

/* Block surface focus: the full-width guide row underlines its text instead of drawing a box. */
body.pdp-modern-page .pdp-inline-guide-button:focus-visible {
    outline: none;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

body.pdp-modern-page .pdp-product-guide-dialog[hidden] {
    display: none !important;
}

body.pdp-modern-page .pdp-product-guide-dialog {
    position: fixed;
    z-index: 13000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 32px;
}

body.pdp-modern-page .pdp-product-guide-dialog__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(18, 28, 38, .46);
    cursor: default;
}

body.pdp-modern-page .pdp-product-guide-dialog__panel {
    position: relative;
    display: flex;
    width: min(760px, calc(100vw - 64px));
    max-height: min(82vh, 760px);
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(18, 28, 38, .08);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(18, 28, 38, .22);
}

body.pdp-modern-page .pdp-product-guide-dialog.is-processing .pdp-product-guide-dialog__panel {
    width: min(454px, calc(100vw - 64px));
    max-height: min(92vh, 860px);
}

body.pdp-modern-page .pdp-product-guide-dialog.is-processing .pdp-product-guide-dialog__header h2 {
    font-size: var(--pdp-type-section-size);
    line-height: var(--pdp-type-section-line);
}

body.pdp-modern-page .pdp-product-guide-dialog.is-processing .pdp-product-guide-dialog__header {
    min-height: 70px;
    align-items: center;
    padding: 14px 20px;
}

body.pdp-modern-page .pdp-product-guide-dialog.is-processing .pdp-product-guide-dialog__header > div {
    min-width: 0;
    flex: 1 1 auto;
    margin: 0;
    text-align: left;
}

body.pdp-modern-page .pdp-product-guide-dialog__header {
    display: flex;
    min-height: 78px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 24px;
    border-bottom: 1px solid var(--pdp-line);
    box-sizing: border-box;
}

body.pdp-modern-page .pdp-product-guide-dialog__header > div {
    min-width: 0;
    flex: 1 1 auto;
    margin: 0;
    text-align: left;
}

body.pdp-modern-page .pdp-product-guide-dialog__eyebrow {
    display: block;
    margin-bottom: 3px;
    color: var(--pdp-subtle);
    font-size: var(--pdp-type-body-size);
    font-weight: 400;
    line-height: var(--pdp-type-body-line);
}

body.pdp-modern-page .pdp-product-guide-dialog__header h2 {
    margin: 0;
    color: var(--pdp-ink);
    font-size: var(--pdp-type-subsection-size);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: var(--pdp-type-subsection-line);
}

body.pdp-modern-page .pdp-product-guide-dialog__close {
    display: inline-grid;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    place-items: center;
    padding: 0;
    border: 1px solid var(--pdp-color-control);
    border-radius: 50%;
    background: #fff;
    color: var(--pdp-ink);
    cursor: pointer;
}

body.pdp-modern-page .pdp-product-guide-dialog__close svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.5;
}

body.pdp-modern-page .pdp-product-guide-dialog__close:hover {
    border-color: var(--pdp-color-control-hover);
    background: var(--pdp-color-panel);
}

body.pdp-modern-page .pdp-product-guide-dialog__close:focus-visible {
    outline: 2px solid rgba(18, 28, 38, .18);
    outline-offset: 2px;
}

body.pdp-modern-page .pdp-product-guide-dialog__body {
    min-height: 0;
    padding: 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

body.pdp-modern-page .pdp-product-guide-dialog.is-schedule .pdp-product-guide-dialog__panel {
    width: min(400px, calc(100vw - 48px));
    max-height: min(92vh, 880px);
    border-radius: 26px;
}

body.pdp-modern-page .pdp-product-guide-dialog.is-schedule .pdp-product-guide-dialog__header {
    min-height: 70px;
    padding: 20px 24px 10px;
    border-bottom: 0;
}

body.pdp-modern-page .pdp-product-guide-dialog.is-schedule .pdp-product-guide-dialog__header > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

body.pdp-modern-page .pdp-product-guide-dialog.is-schedule .pdp-product-guide-dialog__eyebrow {
    display: inline-flex;
    flex: 0 0 auto;
    margin: 0;
    padding: 4px 7px;
    border-radius: 5px;
    background: var(--pdp-ink);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
}

body.pdp-modern-page .pdp-product-guide-dialog.is-schedule .pdp-product-guide-dialog__header h2 {
    font-size: 16px;
    line-height: 1.35;
}

body.pdp-modern-page .pdp-product-guide-dialog.is-schedule .pdp-product-guide-dialog__close {
    width: 36px;
    height: 36px;
}

body.pdp-modern-page .pdp-product-guide-dialog.is-schedule .pdp-product-guide-dialog__close:focus-visible {
    border-color: var(--pdp-ink);
    outline: 0;
}

body.pdp-modern-page .pdp-product-guide-dialog.is-schedule .pdp-product-guide-dialog__body {
    padding: 4px 24px 24px;
}

body.pdp-modern-page .pdp-schedule-guide__intro {
    margin: 0 0 20px;
    color: var(--pdp-subtle);
    font-size: 13px;
    line-height: 1.55;
}

body.pdp-modern-page .pdp-schedule-guide__tabs {
    display: grid;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    gap: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--pdp-line);
    border-radius: 12px;
    background: #fff;
}

body.pdp-modern-page .pdp-schedule-guide__tab {
    display: flex;
    min-height: 76px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 12px;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: var(--pdp-ink);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    cursor: pointer;
}

body.pdp-modern-page .pdp-schedule-guide__tab + .pdp-schedule-guide__tab {
    border-left: 1px solid var(--pdp-line);
}

body.pdp-modern-page .pdp-schedule-guide__tab strong {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

body.pdp-modern-page .pdp-schedule-guide__tab[aria-selected="true"] {
    background: var(--pdp-ink);
    color: #fff;
    box-shadow: none;
}

body.pdp-modern-page .pdp-schedule-guide__tab:focus-visible {
    outline: 2px solid rgba(18, 28, 38, .3);
    outline-offset: -3px;
}

body.pdp-modern-page .pdp-schedule-guide__panel[hidden] {
    display: none;
}

body.pdp-modern-page .pdp-schedule-guide__timeline {
    margin: 26px 0 22px;
    padding: 0;
    list-style: none;
}

body.pdp-modern-page .pdp-schedule-guide__timeline li {
    position: relative;
    display: grid;
    min-height: 82px;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 14px;
    padding-bottom: 18px;
}

body.pdp-modern-page .pdp-schedule-guide__timeline li:last-child {
    min-height: 0;
    padding-bottom: 0;
}

body.pdp-modern-page .pdp-schedule-guide__timeline li:not(:last-child)::after {
    position: absolute;
    top: 29px;
    bottom: -1px;
    left: 13px;
    width: 1px;
    background: var(--pdp-line);
    content: '';
}

body.pdp-modern-page .pdp-schedule-guide__step {
    position: relative;
    z-index: 1;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    background: var(--pdp-ink);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

body.pdp-modern-page .pdp-schedule-guide__step-copy {
    width: 100%;
    min-width: 0;
    padding-top: 3px;
    justify-self: stretch;
    text-align: left;
}

body.pdp-modern-page .pdp-schedule-guide__step-copy h3 {
    margin: 0 0 8px;
    color: var(--pdp-ink);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
}

body.pdp-modern-page .pdp-schedule-guide__step-copy p {
    margin: 0 0 5px;
    color: var(--pdp-subtle);
    font-size: 13px;
    line-height: 1.55;
    word-break: keep-all;
}

body.pdp-modern-page .pdp-schedule-guide__step-copy p:last-child {
    margin-bottom: 0;
}

body.pdp-modern-page .pdp-schedule-guide__summaries {
    border-top: 1px solid var(--pdp-line);
}

body.pdp-modern-page .pdp-schedule-guide__summary {
    display: grid;
    min-width: 0;
    grid-template-columns: 34px 94px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--pdp-line);
}

body.pdp-modern-page .pdp-schedule-guide__summary-icon {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 50%;
    background: var(--pdp-color-panel);
    color: var(--pdp-ink);
}

body.pdp-modern-page .pdp-schedule-guide__summary-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
}

body.pdp-modern-page .pdp-schedule-guide__summary h3 {
    margin: 0;
    color: var(--pdp-ink);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    white-space: nowrap;
}

body.pdp-modern-page .pdp-schedule-guide__summary > div {
    display: grid;
    width: 100%;
    min-width: 0;
    gap: 3px;
    justify-self: stretch;
    text-align: left;
}

body.pdp-modern-page .pdp-schedule-guide__summary strong {
    color: var(--pdp-ink);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
    word-break: keep-all;
}

body.pdp-modern-page .pdp-schedule-guide__summary span:not(.pdp-schedule-guide__summary-icon) {
    color: var(--pdp-subtle);
    font-size: 11px;
    line-height: 1.45;
    word-break: keep-all;
}

body.pdp-modern-page .pdp-schedule-guide__note {
    margin: 14px 0 0;
    color: var(--pdp-subtle);
    font-size: 11px;
    line-height: 1.55;
    word-break: keep-all;
}

body.pdp-modern-page .pdp-guide-process-grid strong {
    display: block;
    color: var(--pdp-ink);
    font-size: var(--pdp-type-label-size);
    font-weight: 700;
    line-height: var(--pdp-type-label-line);
}

body.pdp-modern-page .pdp-guide-process-grid p {
    display: block;
    margin-top: 4px;
    color: var(--pdp-subtle);
    font-size: var(--pdp-type-caption-size);
    line-height: var(--pdp-type-caption-line);
}

body.pdp-modern-page .pdp-guide-process-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

body.pdp-modern-page .pdp-guide-process-grid article {
    display: grid;
    min-width: 0;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--pdp-line);
    border-radius: 10px;
}

body.pdp-modern-page .pdp-guide-process-grid article > span {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--pdp-color-panel);
    color: var(--pdp-subtle);
    font-size: var(--pdp-type-caption-size);
    font-weight: 700;
}

body.pdp-modern-page .pdp-guide-process-grid p {
    margin-bottom: 0;
}

body.pdp-modern-page .pdp-guide-process-gallery {
    display: block;
    width: min(100%, 414px, calc(51.75vh - 60px));
    min-width: 0;
    margin: 0 auto;
}

body.pdp-modern-page .pdp-guide-process-card {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0 auto;
}

body.pdp-modern-page .pdp-guide-process-card__media {
    position: relative;
    min-width: 0;
    overflow: hidden;
    aspect-ratio: 9 / 16;
    border-radius: 10px;
    background: #1b1d20;
}

body.pdp-modern-page .pdp-guide-process-card__media video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: pointer;
}

body.pdp-modern-page .pdp-guide-process-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline-grid;
    width: 48px;
    height: 48px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 50%;
    background: rgba(18, 28, 38, .5);
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .34);
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: background-color .2s ease, transform .2s ease, opacity .2s ease;
}

body.pdp-modern-page .pdp-guide-process-card__play:hover {
    background: rgba(18, 28, 38, .72);
    transform: translate(-50%, -50%) scale(1.04);
}

body.pdp-modern-page .pdp-guide-process-card__play:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

body.pdp-modern-page .pdp-guide-process-card__play svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

body.pdp-modern-page .pdp-guide-process-card__media.is-playing .pdp-guide-process-card__play {
    opacity: 0;
    pointer-events: none;
}

body.pdp-modern-page .pdp-product-guide-dialog.is-processing .pdp-product-guide-dialog__body {
    display: grid;
    min-height: 0;
    place-items: center;
    padding: 16px 20px 20px;
    overflow: auto;
}

@media (max-width: 767px) {
    body.pdp-modern-page .pdp-product-guide-dialog {
        place-items: end stretch;
        padding: 0;
    }

    body.pdp-modern-page .pdp-product-guide-dialog__panel {
        width: 100%;
        max-height: min(84vh, 720px);
        max-height: min(84dvh, 720px);
        border: 0;
        border-radius: 18px 18px 0 0;
        box-shadow: 0 -18px 54px rgba(18, 28, 38, .2);
    }

    body.pdp-modern-page .pdp-product-guide-dialog.is-schedule {
        place-items: end center;
        padding: 10px 0;
    }

    body.pdp-modern-page .pdp-product-guide-dialog.is-schedule .pdp-product-guide-dialog__panel {
        width: min(390px, calc(100% - 24px));
        max-height: min(calc(100vh - 20px), 860px);
        max-height: min(calc(100dvh - 20px), 860px);
        border: 1px solid rgba(18, 28, 38, .08);
        border-radius: 24px;
    }

    body.pdp-modern-page .pdp-product-guide-dialog.is-processing .pdp-product-guide-dialog__panel {
        width: 100%;
        max-height: min(92vh, 760px);
        max-height: min(92dvh, 760px);
    }

    body.pdp-modern-page .pdp-product-guide-dialog__header {
        min-height: 70px;
        padding: 15px 20px;
    }

    body.pdp-modern-page .pdp-product-guide-dialog__header h2 {
        font-size: var(--pdp-type-subsection-size);
        line-height: var(--pdp-type-subsection-line);
    }

    body.pdp-modern-page .pdp-product-guide-dialog__close {
        width: 44px;
        height: 44px;
    }

    body.pdp-modern-page .pdp-product-guide-dialog__body {
        padding: 20px 20px calc(24px + env(safe-area-inset-bottom));
    }

    body.pdp-modern-page .pdp-product-guide-dialog.is-schedule .pdp-product-guide-dialog__body {
        padding: 4px 22px calc(20px + env(safe-area-inset-bottom));
    }

    body.pdp-modern-page .pdp-product-guide-dialog.is-schedule .pdp-product-guide-dialog__header {
        padding-right: 22px;
        padding-left: 22px;
    }

    body.pdp-modern-page .pdp-schedule-guide__timeline {
        margin-top: 22px;
        margin-bottom: 18px;
    }

    body.pdp-modern-page .pdp-schedule-guide__timeline li {
        min-height: 76px;
        gap: 12px;
        padding-bottom: 14px;
    }

    body.pdp-modern-page .pdp-schedule-guide__summary {
        grid-template-columns: 32px 96px minmax(0, 1fr);
        gap: 6px;
    }

    body.pdp-modern-page .pdp-guide-process-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    body.pdp-modern-page .pdp-product-guide-dialog.is-processing .pdp-product-guide-dialog__header h2 {
        font-size: var(--pdp-font-size-subsection);
        line-height: var(--pdp-line-height-subsection);
    }

    body.pdp-modern-page .pdp-guide-process-gallery {
        display: block;
        width: min(100%, 360px, calc(51.75vh - 58px));
        width: min(100%, 360px, calc(51.75dvh - 58px));
        margin: 0 auto;
        padding: 0;
        overflow: visible;
    }

    body.pdp-modern-page .pdp-guide-process-card {
        width: 100%;
        min-width: 0;
    }

    body.pdp-modern-page .pdp-guide-process-card__media {
        aspect-ratio: 9 / 16;
    }

    body.pdp-modern-page .pdp-product-guide-dialog.is-processing .pdp-product-guide-dialog__body {
        padding: 12px 20px calc(20px + env(safe-area-inset-bottom));
    }

    body.pdp-modern-page .pdp-guide-process-card__play {
        width: 48px;
        height: 48px;
    }

    body.pdp-modern-page .pdp-guide-process-card__caption {
        min-height: 100px;
        margin-top: 12px;
    }

    body.pdp-modern-page .pdp-inline-guide-button > span {
        white-space: normal;
    }
}

/* Final layout guard: later legacy-compatible rules must not reset the modern rails. */
body.pdp-modern-page {
    --pdp-page-gutter: 24px;
    --pdp-rail-wide: 1000px;
    --pdp-rail-story: 800px;
    --pdp-rail-portrait: var(--pdp-rail-story);
    --pdp-rail-copy: 720px;
    --pdp-reading-width: var(--pdp-rail-copy);
    --pdp-section-width: var(--pdp-rail-wide);
    --pdp-copy-width: var(--pdp-rail-copy);
    --pdp-portrait-width: var(--pdp-rail-portrait);
    --pdp-shadow-card: 0 8px 24px rgba(36, 31, 26, .045);
}

@media (max-width: 767px) {
    body.pdp-modern-page {
        --pdp-page-gutter: 16px;
    }
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-product-title {
    font-weight: 700;
    letter-spacing: -.04em;
}

body.pdp-modern-page .pdp-semantic-section > .pdp-section-heading {
    padding-top: var(--pdp-section-top);
    padding-bottom: var(--pdp-section-title-gap);
    border-bottom: 0;
    font-size: var(--pdp-type-section-size, 24px);
    line-height: var(--pdp-type-section-line, 34px);
    letter-spacing: -.02em;
}

@media (max-width: 767px) {
    body.pdp-modern-page .pdp-mobile-section-heading {
        padding: var(--pdp-section-top) 20px var(--pdp-section-title-gap);
        font-size: var(--pdp-type-section-size);
        line-height: var(--pdp-type-section-line);
        letter-spacing: -.02em;
    }
}

/* The operating artwork already contains the complete message.  Keep it intact
   instead of duplicating it with a second text card. */
body.pdp-modern-page #pdp-events > .tab_content {
    width: var(--pdp-section-width, 1000px);
    max-width: 100%;
}

body.pdp-modern-page #pdp-events .tab_event_info {
    justify-content: flex-start;
    gap: 16px;
}

body.pdp-modern-page #pdp-events .tab_event_info > a:last-child:nth-child(odd) {
    width: calc((100% - 32px) / 3);
    max-width: none;
}

body.pdp-modern-page #pdp-events .tab_event_info > a {
    width: calc((100% - 32px) / 3);
    flex-basis: calc((100% - 32px) / 3);
}

body.pdp-modern-page #pdp-events .tab_event_info a,
body.pdp-modern-page #pd_event.pdp-mobile-semantic-section .pdp-mobile-event-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    min-height: 0;
    border: 1px solid var(--pdp-line);
    border-radius: 10px;
    background: #fff;
}

body.pdp-modern-page #pdp-events .pdp-event-card__media,
body.pdp-modern-page #pd_event.pdp-mobile-semantic-section .pdp-mobile-event-card__media {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 31 / 16;
    overflow: hidden;
    border-radius: 9px 9px 0 0;
    background: #fff;
}

body.pdp-modern-page #pdp-events .tab_event_info .pdp-event-card__media img,
body.pdp-modern-page #pd_event.pdp-mobile-semantic-section .pdp-mobile-event-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

body.pdp-modern-page #pdp-events .pdp-event-card__body {
    display: flex;
    min-width: 0;
    min-height: 0;
    padding: 16px;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
}

/* Product-detail footer: compact, consistent type and no legacy decorative noise. */
body.pdp-modern-page #foot_margin_top {
    height: 0 !important;
}

body.pdp-modern-page #tail_area {
    padding-top: 54px;
    padding-bottom: 34px;
    background: #171f29;
}

body.pdp-modern-page #tail_section_row {
    display: grid;
    width: min(var(--pdp-shell-width), calc(100% - 40px));
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 48px;
}

body.pdp-modern-page #tail_area .interact_block {
    width: auto;
    padding: 0;
    border-right: 0;
}

body.pdp-modern-page #tail_area .main_footer_block_head,
body.pdp-modern-page #tail_area .main_footer_block_cs .main_footer_block_head {
    margin-bottom: 18px;
}

body.pdp-modern-page #tail_area .interact_title {
    font-family: var(--pdp-font-family);
    font-size: 13px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: -.01em;
}

body.pdp-modern-page #tail_area .cs_number_wrapper {
    margin-bottom: 18px;
}

body.pdp-modern-page #tail_area .cs_number {
    font-family: var(--pdp-font-family);
    font-size: 28px;
    font-weight: 650;
    line-height: 36px;
    letter-spacing: -.035em;
}

body.pdp-modern-page #tail_area .cs_number::before,
body.pdp-modern-page #tail_area .bojagi_guide_link_wrapper > li::before {
    content: none;
}

body.pdp-modern-page #tail_area .cs_hour_text > div {
    padding-bottom: 7px;
    color: #aeb6c0;
    font-size: 11px;
    line-height: 17px;
}

body.pdp-modern-page #tail_area .bojagi_guide_link_wrapper > li {
    margin-bottom: 8px;
    padding-left: 0;
}

body.pdp-modern-page #tail_area .bojagi_guide_link_wrapper > li > a,
body.pdp-modern-page #tail_area .bojagi_sns_text {
    color: #aeb6c0;
    font-family: var(--pdp-font-family);
    font-size: 11px;
    line-height: 19px;
}

body.pdp-modern-page #tail_area .bojagi_guide_link_wrapper > li:first-child > a {
    color: #fff;
}

body.pdp-modern-page #tail_company_info_row {
    margin-top: 38px;
    padding-top: 24px;
    border-top-color: rgba(255, 255, 255, .12);
}

body.pdp-modern-page #tail_area .tail_link_menu {
    color: #8f99a5;
    font-family: var(--pdp-font-family);
    font-size: 10px;
    line-height: 18px;
}

@media (max-width: 767px) {
    body.pdp-modern-page #mid_menu_block,
    body.pdp-modern-page #tail_block {
        background: #171f29 !important;
        font-family: var(--pdp-font-family);
    }

    body.pdp-modern-page #mid_menu_block {
        padding-top: 18px;
    }

    body.pdp-modern-page #mid_menu_block .body_mid_menu > a {
        min-height: 42px;
        padding-left: 0;
        color: #dce1e7;
        font-family: var(--pdp-font-family);
        font-size: 12px;
        line-height: 18px;
    }

    body.pdp-modern-page #mid_menu_block .body_mid_menu > a::before {
        content: none;
    }

    body.pdp-modern-page #mid_menu_block .site_bottom_sns_row {
        padding-top: 18px;
        padding-bottom: 18px;
        border-top-color: rgba(255, 255, 255, .1);
    }

    body.pdp-modern-page #tail_block {
        border-top: 1px solid rgba(255, 255, 255, .1);
    }

    body.pdp-modern-page #tail_block .bottom_company_info_title,
    body.pdp-modern-page #tail_block #bottom_company_info,
    body.pdp-modern-page #tail_block .btn_footer_info {
        font-family: var(--pdp-font-family);
    }
}

/* Lower PDP layout contract -------------------------------------------------
   Shopping and service surfaces use the 1000px rail.  The product story uses
   one 800px rail with copy capped at 720px so its editorial rhythm stays calm. */
body.pdp-modern-page #pdp-detail > .pdp-section-heading {
    width: var(--pdp-rail-story, 800px);
    max-width: calc(100% - 40px);
    margin-right: auto;
    margin-left: auto;
    padding-bottom: 8px;
}

body.pdp-modern-page .pdp-editorial-detail .product_detail_theme_block2.pdp-media-portrait {
    width: var(--pdp-rail-portrait, 800px);
    max-width: calc(100% - 40px);
    margin-right: auto;
    margin-left: auto;
}

body.pdp-modern-page .pdp-editorial-detail .product_detail_theme_block2.pdp-media-wide {
    width: var(--pdp-section-width, 1000px);
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
}

body.pdp-modern-page .pdp-editorial-detail .product_detail_theme_block2_photo,
body.pdp-modern-page .pdp-editorial-detail .product_detail_theme_block2_photo img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
}

body.pdp-modern-page #pdp-detail .ui-prd-theme-btn-wrap {
    width: var(--pdp-rail-story, 800px);
    max-width: calc(100% - (var(--pdp-page-gutter, 20px) * 2));
    margin-right: auto;
    margin-left: auto;
}

body.pdp-modern-page .pdp-editorial-detail.ui-prd-theme-wrapper.pdp-editorial-expanded::after {
    display: none !important;
    content: none !important;
}

/* Designer story: one composed note, not a profile table. */
body.pdp-modern-page .pdp-editorial-detail > .pdp-editorial-designer-note.pdp-media-wide {
    order: 15;
    display: grid;
    position: relative;
    width: var(--pdp-rail-story, 800px);
    max-width: calc(100% - 40px);
    margin-top: 24px;
    margin-bottom: 28px;
    padding: 28px 0 0;
    grid-template-columns: 152px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
    border-top: 1px solid var(--pdp-line);
    background: transparent;
    box-sizing: border-box;
}

body.pdp-modern-page .pdp-editorial-designer-note__meta {
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
}

body.pdp-modern-page .pdp-editorial-designer-note__eyebrow {
    margin: 0;
    color: var(--pdp-muted);
    font-size: var(--pdp-type-caption-size);
    font-weight: 600;
    line-height: var(--pdp-type-caption-line);
    letter-spacing: .08em;
}

body.pdp-modern-page .pdp-editorial-designer-note__signature {
    display: block;
    width: auto !important;
    max-width: 120px;
    height: auto !important;
    max-height: 26px;
    margin: 0;
    opacity: .56;
    object-fit: contain;
    object-position: left center;
}

body.pdp-modern-page .pdp-editorial-designer-note__body {
    max-width: none;
    margin: 0;
    color: var(--pdp-ink);
    font-size: var(--pdp-type-body-size);
    line-height: var(--pdp-type-body-line);
    letter-spacing: -.01em;
    word-break: keep-all;
    text-wrap: pretty;
}

body.pdp-modern-page .pdp-editorial-detail-body > .pdp-editorial-chapter,
body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area > .pdp-editorial-chapter,
body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area article.pdt_spec {
    width: var(--pdp-section-width, 1000px);
    min-width: 0;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding: 96px 0 0;
    border-top: 0;
    border-bottom: 0;
    gap: 36px;
}

body.pdp-modern-page .pdp-editorial-detail .pdp-editorial-detail-body {
    align-items: stretch;
}

body.pdp-modern-page .pdp-editorial-detail-body > .pdp-editorial-chapter > *,
body.pdp-modern-page .pdp-editorial-detail .pdp-editorial-gallery,
body.pdp-modern-page .pdp-editorial-detail .pdc_row,
body.pdp-modern-page .pdp-editorial-detail .pdp-media-grid,
body.pdp-modern-page .pdp-editorial-detail .pdp-media {
    min-width: 0;
}

body.pdp-modern-page .pdp-editorial-detail .pdp-editorial-chapter-header,
body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area .article_content > ul {
    width: min(100%, var(--pdp-copy-width, 720px));
    max-width: 100%;
    margin-right: auto;
    margin-left: 0;
}

body.pdp-modern-page .pdp-editorial-detail .pdp-editorial-overview .pdp-editorial-title,
body.pdp-modern-page .pdp-editorial-detail .pdp-editorial-title,
body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area .article_content > ul li:first-child {
    font-size: var(--pdp-type-subsection-size);
    line-height: var(--pdp-type-subsection-line);
    letter-spacing: -.03em;
}

body.pdp-modern-page .pdp-editorial-detail .pdp-editorial-overview .pdp-prose,
body.pdp-modern-page .pdp-editorial-detail .pdp-prose,
body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area .article_content > ul li:not(:first-child),
body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area .pdt_spec_photo .desc_box span {
    font-size: var(--pdp-type-body-size, 15px);
    line-height: 26px;
}

body.pdp-modern-page .pdp-editorial-detail .pdp-editorial-chapter-header {
    display: block;
}

body.pdp-modern-page .pdp-editorial-detail .pdp-editorial-chapter-header .pdp-editorial-title,
body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area .article_content > ul li:first-child {
    margin: 0;
}

body.pdp-modern-page .pdp-editorial-detail .pdp-editorial-chapter-header .pdp-prose,
body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area .article_content > ul li:not(:first-child) {
    margin-top: 10px;
    color: var(--pdp-muted);
    word-break: keep-all;
    text-wrap: pretty;
}

body.pdp-modern-page .pdp-editorial-detail .pdp-editorial-facts {
    gap: 12px;
    margin-top: 28px;
    padding: 0;
    border: 0;
}

body.pdp-modern-page .pdp-editorial-detail .pdp-editorial-facts > div,
body.pdp-modern-page .pdp-editorial-detail .pdp-editorial-facts > div:first-child {
    min-height: 88px;
    padding: 18px;
    border: 0;
    border-radius: 12px;
    background: var(--pdp-soft);
}

body.pdp-modern-page .pdp-editorial-detail .pdp-media-grid {
    width: 100%;
    gap: 16px;
}

body.pdp-modern-page .pdp-editorial-detail .pdp-media-grid.pdp-media-grid--single {
    grid-template-columns: minmax(0, 1fr);
}

body.pdp-modern-page .pdp-editorial-detail .pdp-media-grid.pdp-media-grid--single:is(
    .pdp-media-grid--portrait,
    .pdp-media-grid--square
) {
    width: 800px;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
}

body.pdp-modern-page .pdp-editorial-detail .pdp-media-grid.pdp-media-grid--single .pdp-media {
    width: 100%;
    max-width: none;
    margin: 0;
}

body.pdp-modern-page .pdp-editorial-detail .pdp-media-grid.pdp-media-grid--multiple {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.pdp-modern-page .pdp-editorial-detail .pdp-ai-upscale-cta {
    display: inline-flex;
    min-width: 112px;
    min-height: 44px;
    margin: 0;
    padding: 0 18px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--pdp-color-control);
    border-radius: 8px;
    background: #fff;
    color: var(--pdp-ink);
    cursor: pointer;
    font: inherit;
    transition: border-color 160ms ease, background-color 160ms ease;
}

body.pdp-modern-page .pdp-editorial-detail .pdp-ai-upscale-cta > span {
    font-size: var(--pdp-type-label-size) !important;
    font-weight: 650 !important;
    line-height: var(--pdp-type-label-line) !important;
}

body.pdp-modern-page .pdp-editorial-detail .pdp-ai-upscale-cta:hover {
    border-color: var(--pdp-color-control-hover) !important;
    background: var(--pdp-soft);
}

body.pdp-modern-page .pdp-editorial-detail .pdp-editorial-ai .pdp-editorial-chapter-header {
    display: grid;
    width: 100%;
    max-width: none;
    grid-template-columns: minmax(0, 580px) minmax(112px, 1fr);
    grid-template-rows: auto auto;
    align-items: end;
    column-gap: 40px;
}

body.pdp-modern-page .pdp-editorial-detail .pdp-editorial-ai .pdp-editorial-title,
body.pdp-modern-page .pdp-editorial-detail .pdp-editorial-ai .pdp-prose {
    grid-column: 1;
}

body.pdp-modern-page .pdp-editorial-detail .pdp-editorial-ai .pdp-ai-upscale-cta {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: end;
    justify-self: end;
}

body.pdp-modern-page .pdp-editorial-detail .pdp-ai-note {
    display: block;
    margin-top: 8px;
    color: var(--pdp-muted);
    font-size: var(--pdp-type-body-size);
    line-height: var(--pdp-type-body-line);
}

body.pdp-modern-page .pdp-editorial-detail .pdp-media .desc_box {
    display: flex;
    margin-top: 12px;
    flex-direction: column;
    gap: 4px;
}

body.pdp-modern-page .pdp-editorial-detail .pdp-media .desc_box strong {
    color: var(--pdp-ink);
    font-size: var(--pdp-type-body-size);
    font-weight: var(--pdp-type-value-weight);
    line-height: var(--pdp-type-body-line);
}

body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area .article_content {
    width: 100%;
    gap: 28px;
}

body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area :is(.pdt_photo_1st, .pdt_photo_1st img) {
    display: block;
    width: 800px !important;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
    height: auto;
}

body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area figure.pdt_spec_photo_wrapper {
    display: grid;
    width: 100%;
    margin: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area figure.pdt_spec_photo_wrapper .pdt_spec_photo {
    width: auto !important;
    min-width: 0;
}

body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area figure.pdt_spec_photo_wrapper .pdt_spec_photo_no3 {
    grid-column: 1 / -1;
}

body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area figure.pdt_spec_photo_wrapper > .pdt_spec_photo:only-child {
    grid-column: 1 / -1;
}

body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area figure.pdt_spec_photo_wrapper img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    object-fit: contain;
}

body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area [data-area="envelope_printing"] .article_content {
    gap: 0;
}

body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area [data-area="envelope_printing"] .pdp-envelope-options {
    gap: 16px;
    margin-top: 28px;
}

body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area [data-area="envelope_printing"] .pdp-envelope-options .pdt_spec_photo {
    display: flex;
    flex-direction: column;
}

body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area .pdt_spec.pdp-editorial-envelope[data-area="envelope_printing"] figure.pdp-envelope-options > .pdp-envelope-option-card.pdt_spec_photo {
    display: flex;
    grid-row: auto;
    grid-template-rows: none;
    flex-direction: column;
}

body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area [data-area="envelope_printing"] .pdp-envelope-options .img_box {
    display: grid;
    width: 100%;
    aspect-ratio: 1.4 / 1;
    padding: 28px;
    place-items: center;
    background: #f7f6f3;
    box-sizing: border-box;
}

body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area [data-area="envelope_printing"] .pdp-envelope-options .img_box img {
    width: auto !important;
    max-width: 88%;
    height: auto !important;
    max-height: 88%;
    object-fit: contain;
}

body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area [data-area="envelope_printing"] .desc_box {
    display: flex;
    margin-top: 16px;
    flex-direction: column;
    gap: 4px;
}

body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area [data-area="envelope_printing"] .desc_box span:first-child {
    color: var(--pdp-ink);
    font-size: var(--pdp-type-body-size);
    font-weight: var(--pdp-type-value-weight);
    line-height: var(--pdp-type-body-line);
}

body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area [data-area="envelope_printing"] .desc_box span:last-child {
    color: var(--pdp-muted);
    font-size: var(--pdp-type-body-size);
    line-height: var(--pdp-type-body-line);
}

body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area [data-area="envelope_printing"] .pdp-envelope-palette {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 64px auto 0;
}

body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area [data-area="envelope_printing"] .pdp-envelope-palette .pdt_spec_photo {
    display: flex;
    width: 100% !important;
    flex-direction: column;
}

body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area .pdt_spec[data-area="envelope_printing"] .pdt_spec_photo .pdp-envelope-palette__header {
    margin: 0 0 20px;
    gap: 10px;
}

body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area [data-area="envelope_printing"] .pdp-envelope-palette__header span:first-child {
    font-size: var(--pdp-type-subsection-size);
    line-height: var(--pdp-type-subsection-line);
    letter-spacing: -.03em;
}

body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area [data-area="envelope_printing"] figure.pdp-envelope-palette .pdt_spec_photo .pdp-envelope-palette__media {
    display: grid;
    width: 100%;
    aspect-ratio: 2 / 1;
    height: auto;
    padding: 32px 40px;
    place-items: center;
    background: #f7f6f3;
    box-sizing: border-box;
}

body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area [data-area="envelope_printing"] figure.pdp-envelope-palette .pdt_spec_photo .pdp-envelope-palette__media img {
    width: min(86%, 720px);
    max-width: 720px;
    height: auto;
    margin: 0 auto;
}

body.pdp-modern-page .pdp-editorial-detail .pdp-editorial-printing {
    width: var(--pdp-section-width, 1000px);
    max-width: 100%;
    padding-top: 64px;
    border-top: 0;
}

body.pdp-modern-page .pdp-editorial-detail .pdp-editorial-spec-summary #pd_info_area .article_content {
    width: 100%;
    padding: 0;
    align-items: stretch;
    gap: 20px;
}

body.pdp-modern-page .pdp-editorial-detail .pdp-editorial-spec-summary #pd_info_area > article {
    padding-bottom: 0;
}

body.pdp-modern-page .pdp-editorial-detail .pdp-editorial-spec-summary #pd_info_area .article_content > ul,
body.pdp-modern-page .pdp-editorial-detail .pdp-editorial-spec-summary .pd_info_cubes {
    width: 100%;
    min-width: 0;
}

body.pdp-modern-page .pdp-order-methods {
    width: var(--pdp-rail-wide, 1000px);
    max-width: calc(100% - (var(--pdp-page-gutter, 20px) * 2));
    margin: 0 auto;
    padding: var(--pdp-section-top, 72px) 0 56px;
    color: var(--pdp-ink);
    box-sizing: border-box;
}

body.pdp-modern-page .pdp-order-methods__header h2 {
    margin: 0;
    color: var(--pdp-ink);
    font-size: var(--pdp-type-section-size);
    font-weight: 700;
    line-height: var(--pdp-type-section-line);
    letter-spacing: -.02em;
}

body.pdp-modern-page .pdp-order-methods__header p {
    max-width: 760px;
    margin: 8px 0 0;
    color: var(--pdp-muted);
    font-size: var(--pdp-type-body-size);
    line-height: var(--pdp-type-body-line);
    letter-spacing: -.01em;
}

body.pdp-modern-page .pdp-order-methods__choices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 32px;
}

body.pdp-modern-page .pdp-order-methods__choice {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
    min-width: 0;
    padding: 22px 24px;
    border: 1px solid var(--pdp-line);
    border-radius: 12px;
    background: #fff;
    box-sizing: border-box;
}

body.pdp-modern-page .pdp-order-methods__choice-index {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    background: var(--pdp-color-panel);
    color: var(--pdp-color-muted);
    font-size: var(--pdp-type-caption-size);
    font-weight: 700;
    line-height: 1;
}

body.pdp-modern-page .pdp-order-methods__choice-copy {
    min-width: 0;
}

body.pdp-modern-page .pdp-order-methods__choice-tag {
    display: block;
    color: var(--pdp-muted);
    font-size: var(--pdp-type-caption-size);
    font-weight: 600;
    line-height: var(--pdp-type-caption-line);
}

body.pdp-modern-page .pdp-order-methods__choice h3 {
    margin: 4px 0 0;
    color: var(--pdp-ink);
    font-size: var(--pdp-type-subsection-size);
    font-weight: 700;
    line-height: var(--pdp-type-subsection-line);
    letter-spacing: -.02em;
}

body.pdp-modern-page .pdp-order-methods__choice p {
    margin: 8px 0 0;
    color: var(--pdp-muted);
    font-size: var(--pdp-type-body-size);
    line-height: var(--pdp-type-body-line);
    letter-spacing: -.01em;
}

body.pdp-modern-page .pdp-order-methods__assurance-line {
    display: flex;
    min-height: 0;
    gap: 10px;
    align-items: center;
    margin-top: 24px;
    padding: 18px 0 0;
    border-bottom: 0;
    box-sizing: border-box;
}

body.pdp-modern-page .pdp-order-methods__assurance-mark {
    display: inline-flex;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--pdp-line);
    border-radius: 50%;
    color: var(--pdp-muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

body.pdp-modern-page .pdp-order-methods__assurance-line p {
    min-width: 0;
    margin: 0;
    color: var(--pdp-muted);
    font-size: var(--pdp-type-body-size);
    line-height: var(--pdp-type-body-line);
    letter-spacing: -.01em;
}

body.pdp-modern-page .pdp-order-methods__assurance-line strong {
    color: var(--pdp-ink);
    font-weight: 700;
}

body.pdp-modern-page :is(.pd_sets_qty_row, .pdp-production-surface) {
    width: var(--pdp-section-width, 1000px);
    max-width: calc(100% - 40px);
}

/* Lower benefit surface: one summary surface, editorial rows, compact tiers. */
body.pdp-modern-page #pd_sets_qty_row.pd_sets_qty_row {
    width: var(--pdp-section-width, 1000px);
    max-width: calc(100% - 40px);
    margin: 0 auto;
    padding-top: 36px;
    color: var(--pdp-ink);
    box-sizing: border-box;
}

body.pdp-modern-page #pd_sets_qty_row > div {
    width: 100%;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-overview {
    margin-top: 2px;
    padding: 20px 0 16px;
    border-top: 1px solid var(--pdp-line);
    border-bottom: 1px solid var(--pdp-line);
    box-sizing: border-box;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-overview__primary {
    display: grid;
    min-width: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    align-items: center;
    text-align: left;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-overview__metric {
    display: flex;
    margin: 0;
    align-items: baseline;
    gap: 5px;
    color: var(--pdp-ink);
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-overview__metric:nth-child(2) {
    justify-content: center;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-overview__metric:nth-child(3) {
    justify-content: flex-end;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-overview__metric strong {
    font-size: var(--pdp-font-size-subsection);
    font-weight: 760;
    line-height: var(--pdp-line-height-subsection);
    letter-spacing: -.045em;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-overview__metric span {
    color: var(--pdp-muted);
    font-size: var(--pdp-type-body-size);
    line-height: var(--pdp-type-body-line);
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-overview__status {
    margin: 8px 0 0;
    color: var(--pdp-accent);
    font-size: var(--pdp-type-body-size);
    font-weight: var(--pdp-type-value-weight);
    line-height: var(--pdp-type-body-line);
    letter-spacing: -.018em;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-entitlements {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    border-top: 0;
    list-style: none;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-entitlement {
    display: grid;
    min-width: 0;
    min-height: 76px;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 11px;
    padding: 15px 20px 15px 0;
    align-items: center;
    border-bottom: 1px solid var(--pdp-line);
    box-sizing: border-box;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-entitlement:not(:nth-child(3n + 1)) {
    padding-left: 20px;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-entitlement.is-locked {
    color: #8b929a;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-entitlement.is-locked .pdp-benefit-entitlement__visual,
body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-entitlement.is-locked .pdp-benefit-entitlement__copy strong {
    opacity: .58;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-entitlement__visual {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 50%;
    background: #f5f0f5;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-entitlement__visual img {
    width: 23px;
    height: 23px;
    object-fit: contain;
    opacity: .75;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-entitlement__copy {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 8px;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-entitlement__copy strong {
    overflow: hidden;
    color: var(--pdp-ink);
    font-size: var(--pdp-type-body-size);
    font-weight: var(--pdp-type-value-weight);
    line-height: var(--pdp-type-body-line);
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-entitlement__copy small {
    display: inline-flex;
    min-height: 22px;
    padding: 0 8px;
    flex: 0 0 auto;
    align-items: center;
    border-radius: 999px;
    border: 1px solid #e6dbe8;
    color: var(--pdp-accent);
    background: #f7f3f7;
    font-size: var(--pdp-type-body-size);
    font-weight: var(--pdp-type-action-weight);
    line-height: var(--pdp-type-body-line);
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-content,
body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-steps {
    margin-top: 20px;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-steps {
    padding-top: 20px;
    border-top: 1px solid var(--pdp-line);
    border-bottom: 0;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-steps__heading {
    position: relative;
    min-height: 0;
    margin: 0;
    padding: 0 0 18px;
    align-items: center;
    box-sizing: border-box;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-steps__heading::-webkit-details-marker {
    display: none;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-steps__toggle::after {
    position: absolute;
    top: 50%;
    right: 1px;
    width: 8px;
    height: 8px;
    border-right: 1px solid var(--pdp-muted);
    border-bottom: 1px solid var(--pdp-muted);
    content: '';
    transform: translateY(-70%) rotate(45deg);
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-steps[open] .pdp-benefit-steps__toggle::after {
    transform: translateY(-30%) rotate(225deg);
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-steps__heading > span:first-child {
    display: flex;
    align-items: baseline;
    gap: 18px;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-steps__heading strong {
    color: var(--pdp-ink);
    font-size: var(--pdp-type-body-size);
    line-height: var(--pdp-type-body-line);
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-steps__heading small,
body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-steps__toggle {
    color: var(--pdp-muted);
    font-size: var(--pdp-type-body-size);
    font-weight: var(--pdp-type-body-weight);
    line-height: var(--pdp-type-body-line);
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-steps__toggle {
    position: relative;
    padding-right: 20px;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-content__heading {
    display: flex;
    margin: 0 0 14px;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-content__heading h3 {
    margin: 0;
    color: var(--pdp-ink);
    font-size: var(--pdp-type-subsection-size);
    font-weight: 700;
    line-height: var(--pdp-type-subsection-line);
    letter-spacing: -.035em;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-content__count {
    color: var(--pdp-muted);
    font-size: var(--pdp-type-body-size);
    font-weight: 600;
    line-height: var(--pdp-type-body-line);
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--pdp-line);
    list-style: none;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-item {
    display: flex;
    min-width: 0;
    margin: 0;
    padding: 16px 24px 16px 0;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--pdp-line);
    background: transparent;
    box-sizing: border-box;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-item:nth-child(even) {
    padding-right: 0;
    padding-left: 24px;
    border-left: 1px solid var(--pdp-line);
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-item__copy {
    min-width: 0;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-item__icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    color: var(--pdp-accent);
    background: #f3eef4;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-item__icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-item__name {
    display: block;
    color: var(--pdp-ink);
    font-size: var(--pdp-type-body-size);
    font-weight: var(--pdp-type-value-weight);
    line-height: var(--pdp-type-body-line);
    letter-spacing: -.02em;
    word-break: keep-all;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-item__meta {
    display: block;
    margin-top: 3px;
    color: var(--pdp-muted);
    font-size: var(--pdp-type-body-size);
    line-height: var(--pdp-type-body-line);
    letter-spacing: -.01em;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-item__tail {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    text-align: right;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-item__amount {
    color: var(--pdp-muted);
    font-size: var(--pdp-type-body-size);
    font-weight: var(--pdp-type-value-weight);
    line-height: var(--pdp-type-body-line);
    white-space: nowrap;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-item__free {
    display: none;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-basics {
    display: flex;
    margin: 0;
    padding: 11px 0;
    align-items: baseline;
    gap: 16px;
    border-bottom: 1px solid var(--pdp-line);
    color: var(--pdp-muted);
    font-size: var(--pdp-type-body-size);
    line-height: var(--pdp-type-body-line);
    letter-spacing: -.02em;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-basics strong {
    flex: 0 0 auto;
    color: var(--pdp-ink);
    font-weight: 650;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-steps__list {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    gap: 10px;
    border-top: 0;
    border-bottom: 0;
    list-style: none;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-steps__list::before {
    position: absolute;
    top: 15px;
    right: 16.66%;
    left: 16.66%;
    height: 1px;
    background: #d8d2d9;
    content: '';
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-step {
    position: relative;
    min-width: 0;
    padding: 0 16px;
    border: 0;
    border-radius: 0;
    background: transparent;
    text-align: center;
    box-sizing: border-box;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-step + .pdp-benefit-step {
    border-left: 0;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-step__index {
    position: relative;
    z-index: 1;
    display: inline-flex;
    min-width: 48px;
    height: 30px;
    margin-bottom: 12px;
    padding: 0 10px;
    align-items: center;
    justify-content: center;
    border: 1px solid #d8d2d9;
    border-radius: 999px;
    color: var(--pdp-muted);
    background: #fff;
    font-size: var(--pdp-type-body-size);
    font-weight: var(--pdp-type-action-weight);
    line-height: var(--pdp-type-body-line);
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-step__title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--pdp-ink);
    font-size: var(--pdp-type-body-size);
    font-weight: var(--pdp-type-action-weight);
    line-height: var(--pdp-type-body-line);
    letter-spacing: -.025em;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-step__status {
    flex: 0 0 auto;
    color: var(--pdp-muted);
    font-size: var(--pdp-type-body-size);
    font-weight: var(--pdp-type-value-weight);
    line-height: var(--pdp-type-body-line);
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-step.is-current {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-step.is-current .pdp-benefit-step__index {
    border-color: var(--pdp-accent);
    color: #fff;
    background: var(--pdp-accent);
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-step.is-unlocked:not(.is-current) .pdp-benefit-step__index {
    border-color: #cdbfd0;
    color: var(--pdp-accent);
    background: #f5f0f5;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-step.is-current .pdp-benefit-step__status {
    color: var(--pdp-accent);
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-step__items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 14px;
    margin-top: 4px;
    padding: 0;
    color: var(--pdp-muted);
    font-size: var(--pdp-type-body-size);
    line-height: var(--pdp-type-body-line);
    letter-spacing: -.015em;
    word-break: keep-all;
    text-align: center;
    list-style: none;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-step__items li {
    position: relative;
    padding-left: 12px;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-step__items li::before {
    position: absolute;
    top: .68em;
    left: 0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #bdaabe;
    content: '';
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-step__items li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

body.pdp-modern-page .pdp-review-overview__action {
    appearance: none;
    font-family: var(--pdp-font-family);
    cursor: pointer;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-steps__heading:focus {
    outline: 0;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-steps__heading:focus-visible {
    border-radius: 8px;
    box-shadow: 0 0 0 3px rgba(116, 90, 122, .14);
}

body.pdp-modern-page #pdp-reviews .pdp-review-overview {
    min-height: 78px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 20px;
    padding: 16px 0;
}

body.pdp-modern-page #pdp-reviews .pdp-review-overview__score {
    min-width: 0;
    padding-right: 0;
}

body.pdp-modern-page #pdp-reviews .pdp-review-overview__copy {
    display: block;
}

body.pdp-modern-page #pdp-reviews .pdp-review-overview__copy strong {
    font-size: var(--pdp-type-body-size);
    line-height: var(--pdp-type-body-line);
}

body.pdp-modern-page #pdp-reviews .pdp-review-overview__copy span {
    font-size: var(--pdp-type-body-size);
    line-height: var(--pdp-type-body-line);
}

body.pdp-modern-page #pdp-reviews .after_list_write_group {
    margin-top: 20px;
}

@media (max-width: 520px) {
    body.pdp-modern-page #pdp-reviews .pdp-review-overview:not(.is-empty) {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 4px 12px;
        padding: 16px 0;
    }

    body.pdp-modern-page #pdp-reviews .pdp-review-overview:not(.is-empty) .pdp-review-overview__score {
        display: flex;
        min-width: 0;
        padding: 0;
        border-right: 0;
        border-bottom: 0;
    }

    body.pdp-modern-page #pdp-reviews .pdp-review-overview:not(.is-empty) .pdp-review-overview__copy {
        grid-column: 1;
    }

    body.pdp-modern-page #pdp-reviews .pdp-review-overview:not(.is-empty) .pdp-review-overview__action {
        min-width: 88px;
        grid-column: 2;
        grid-row: 1 / span 2;
        align-self: center;
    }

    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-steps__toggle {
        display: none;
    }

    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-steps__heading > span:first-child {
        flex-wrap: wrap;
        gap: 0 10px;
    }

    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-entitlements {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-entitlement,
    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-entitlement:not(:nth-child(3n + 1)) {
        min-height: 98px;
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        padding: 14px 8px 14px 0;
        align-content: start;
    }

    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-entitlement:nth-child(even) {
        padding-right: 0;
        padding-left: 8px;
    }

    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-entitlement__copy {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-entitlement__copy strong {
        width: 100%;
        white-space: normal;
    }
}

@media (min-width: 521px) and (max-width: 767px) {
    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-entitlements {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-entitlement:not(:nth-child(3n + 1)) {
        padding-left: 0;
    }

    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-entitlement:nth-child(even) {
        padding-left: 16px;
    }
}

/* Authoritative lower-page geometry. Components own their visual treatment,
   while this layer alone owns the shared rails, gutters and section spacing. */
@media (min-width: 768px) {
    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-items {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0;
        border-top: 0;
    }

    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-item,
    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-item:nth-child(even) {
        min-height: 124px;
        padding: 6px 12px 12px;
        align-items: center;
        flex-direction: column;
        justify-content: space-between;
        gap: 12px;
        border: 0;
        border-radius: 0;
        background: transparent;
        text-align: center;
    }

    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-item:first-child {
        padding-left: 12px;
        border-left: 0;
    }

    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-item:last-child {
        padding-right: 12px;
    }

    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-item__tail {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    body.pdp-modern-page #pdp-reviews > .pdp-section-heading {
        padding-top: var(--pdp-section-top);
    }

    body.pdp-modern-page .pdp-semantic-lower-content {
        width: 100%;
        max-width: none;
    }

    body.pdp-modern-page .pdp-semantic-section > .pdp-section-heading,
    body.pdp-modern-page .pdp-semantic-section > .pdp-section-description,
    body.pdp-modern-page .pdp-semantic-section :is(
        #pd_sets_qty_row,
        .pdp-review-overview,
        .prd_review_gallery,
        .after_list_write_group,
        .pdp-production-surface
    ),
    body.pdp-modern-page #pdp-events > .tab_content,
    body.pdp-modern-page .pdp-related-products {
        width: var(--pdp-rail-wide, 1000px);
        max-width: calc(100% - (var(--pdp-page-gutter, 20px) * 2));
        margin-right: auto;
        margin-left: auto;
        box-sizing: border-box;
    }

    body.pdp-modern-page .pdp-section-nav {
        width: 100%;
        max-width: none;
        margin-top: 40px;
        margin-right: 0;
        margin-left: 0;
    }

    body.pdp-modern-page #pdp-detail > .pdp-section-heading {
        width: var(--pdp-rail-story, 800px);
    }

    body.pdp-modern-page .pdp-semantic-section > .pdp-section-description {
        padding-right: 0;
    }

    body.pdp-modern-page .pdp-editorial-detail > .pdp-media-wide,
    body.pdp-modern-page .pdp-editorial-detail > .pdp-editorial-admin-banner,
    body.pdp-modern-page .pdp-editorial-detail > .pdp-editorial-spec-summary,
    body.pdp-modern-page .pdp-editorial-detail > .pd_area_video,
    body.pdp-modern-page .pdp-editorial-detail :is(
        .product_detail_theme_block2.pdp-media-wide,
        .pdp-editorial-detail-body > .pdp-editorial-chapter,
        #product_detail_theme_all_area > .pdp-editorial-chapter,
        #product_detail_theme_all_area article.pdt_spec,
        .pdp-editorial-printing
    ) {
        width: var(--pdp-rail-story, 800px);
        max-width: calc(100% - (var(--pdp-page-gutter, 20px) * 2));
        margin-right: auto;
        margin-left: auto;
    }

    body.pdp-modern-page .pdp-editorial-detail .product_detail_theme_block2.pdp-media-portrait {
        width: var(--pdp-rail-portrait, 800px);
        max-width: calc(100% - (var(--pdp-page-gutter, 20px) * 2));
    }

    body.pdp-modern-page .pdp-editorial-detail .pdp-editorial-chapter-header,
    body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area .article_content > ul {
        width: var(--pdp-rail-copy, 720px);
        max-width: 100%;
        margin-right: auto;
        margin-left: 0;
    }

    body.pdp-modern-page .pdp-editorial-detail .pdp-editorial-ai .pdp-editorial-chapter-header {
        width: 100%;
        max-width: none;
    }

    body.pdp-modern-page #pd_sets_qty_row.pd_sets_qty_row,
    body.pdp-modern-page .pdp-production-surface {
        padding-top: 0;
    }

    body.pdp-modern-page .pdp-related-products {
        margin-top: 0;
        padding-top: var(--pdp-section-top);
        padding-bottom: var(--pdp-section-top);
    }

    body.pdp-modern-page .pdp-related-products__header {
        width: 100%;
        max-width: none;
        margin-right: 0;
        margin-left: 0;
    }

    body.pdp-modern-page .pdp-related-products .ui-similar-product-viewport {
        width: 100%;
        padding-right: 0;
        padding-left: 0;
        box-sizing: border-box;
    }
}

@media (max-width: 767px) {
    body.pdp-modern-page .pdp-order-methods {
        width: auto;
        max-width: none;
        margin: 0 var(--pdp-page-gutter, 20px);
        padding: var(--pdp-section-top, 56px) 0 40px;
    }

    body.pdp-modern-page .pdp-order-methods__choices {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        margin-top: 24px;
    }

    body.pdp-modern-page .pdp-order-methods__choice {
        grid-template-columns: 32px minmax(0, 1fr);
        gap: 12px;
        padding: var(--pdp-method-choice-mobile-padding, 20px);
        border: var(--pdp-method-choice-mobile-border, 1px solid var(--pdp-line));
    }

    body.pdp-modern-page .pdp-order-methods__assurance-line {
        align-items: flex-start;
        margin-top: 20px;
        padding: 16px 0 0;
    }

    body.pdp-modern-page .pdp-order-methods__choice-index {
        width: 30px;
        height: 30px;
    }

    body.pdp-modern-page .pdp-order-methods__assurance-line p {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    body.pdp-modern-page .pdp-semantic-lower-content,
    body.pdp-modern-page :is(.pdp-semantic-section, .pdp-mobile-semantic-section) {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    body.pdp-modern-page :is(.pdp-semantic-section, .pdp-mobile-semantic-section) {
        scroll-margin-top: 64px;
    }

    body.pdp-modern-page .pdp-semantic-section > .pdp-section-heading,
    body.pdp-modern-page .pdp-mobile-section-heading {
        width: auto;
        max-width: none;
        margin-right: var(--pdp-page-gutter, 20px);
        margin-left: var(--pdp-page-gutter, 20px);
        padding: var(--pdp-section-top) 0 var(--pdp-section-title-gap);
        border-bottom: 0;
        font-size: var(--pdp-type-section-size);
        line-height: var(--pdp-type-section-line);
        letter-spacing: -.035em;
        box-sizing: border-box;
    }

    body.pdp-modern-page .pdp-section-description,
    body.pdp-modern-page .pdp-mobile-section-description,
    body.pdp-modern-page #pdp-detail > .pdp-section-description {
        width: auto;
        max-width: none;
        margin: 0 var(--pdp-page-gutter, 20px) 28px;
        padding: 0;
        color: var(--pdp-muted);
        font-size: var(--pdp-type-body-size);
        line-height: var(--pdp-type-body-line);
        letter-spacing: -.015em;
        box-sizing: border-box;
    }

    body.pdp-modern-page #product_detail_bottom_area .pdp-editorial-overview {
        padding-top: 0;
        padding-bottom: 20px;
    }

    body.pdp-modern-page #pdp-detail > .pdp-section-heading {
        width: auto;
        max-width: none;
        margin-right: var(--pdp-page-gutter, 20px);
        margin-left: var(--pdp-page-gutter, 20px);
        padding: var(--pdp-section-top) 0 var(--pdp-section-title-gap);
    }

    body.pdp-modern-page .pdp-editorial-detail .product_detail_theme_block2.pdp-media-portrait,
    body.pdp-modern-page .pdp-editorial-detail > .pdp-media-wide,
    body.pdp-modern-page .pdp-editorial-detail > .pdp-editorial-admin-banner,
    body.pdp-modern-page .pdp-editorial-detail .product_detail_theme_block2.pdp-media-wide,
    body.pdp-modern-page .pdp-editorial-detail-body > .pdp-editorial-chapter,
    body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area > .pdp-editorial-chapter,
    body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area article.pdt_spec,
    body.pdp-modern-page .pdp-editorial-detail .pdp-editorial-printing {
        width: auto !important;
        max-width: none !important;
        margin-right: var(--pdp-page-gutter, 20px) !important;
        margin-left: var(--pdp-page-gutter, 20px) !important;
        box-sizing: border-box;
    }

    body.pdp-modern-page .pdp-editorial-detail > .pdp-editorial-designer-note.pdp-media-wide {
        display: block;
        margin-top: 20px !important;
        margin-bottom: 24px;
        padding: 24px 0 0;
        border-top: 1px solid var(--pdp-line);
        background: transparent;
        box-shadow: none;
    }

    body.pdp-modern-page .pdp-editorial-designer-note__meta {
        gap: 16px;
    }

    body.pdp-modern-page .pdp-editorial-designer-note__signature {
        max-width: 112px;
        max-height: 22px;
    }

    body.pdp-modern-page .pdp-editorial-designer-note__body {
        max-width: none;
        margin-top: 22px;
    }

    body.pdp-modern-page #product_detail_bottom_area .pdp-editorial-detail section article,
    body.pdp-modern-page #product_detail_bottom_area .pdp-editorial-detail .option_desc_wrapper {
        padding-right: 0;
        padding-left: 0;
    }

    body.pdp-modern-page .pdp-editorial-detail-body > .pdp-editorial-chapter,
    body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area > .pdp-editorial-chapter,
    body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area article.pdt_spec {
        min-width: 0;
        padding-top: 64px;
        gap: 24px;
    }

    body.pdp-modern-page .pdp-editorial-detail .pdp-media-grid.pdp-media-grid--single:is(
        .pdp-media-grid--portrait,
        .pdp-media-grid--square
    ) {
        width: 100% !important;
        max-width: 100%;
    }

    body.pdp-modern-page .pdp-editorial-detail .pdp-media-grid.pdp-media-grid--single,
    body.pdp-modern-page .pdp-editorial-detail .pdp-media-grid.pdp-media-grid--single .pdp-media,
    body.pdp-modern-page .pdp-editorial-detail .pdp-media-grid.pdp-media-grid--single .img_box,
    body.pdp-modern-page .pdp-editorial-detail .pdp-media-grid.pdp-media-grid--single img {
        min-width: 0;
        max-width: 100%;
    }

    body.pdp-modern-page #prd_review_area section.prd_review_gallery article {
        padding-right: 0;
        padding-left: 0;
    }

    body.pdp-modern-page #prd_review_area.pdp-mobile-semantic-section .review_block {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    body.pdp-modern-page #pdp-production > .pdp-production-process,
    body.pdp-modern-page .pdp-mobile-production-cluster > .pdp-production-process {
        width: auto;
        max-width: none;
        margin-right: var(--pdp-page-gutter, 20px);
        margin-left: var(--pdp-page-gutter, 20px);
    }

    body.pdp-modern-page .pdp-editorial-detail .pdp-editorial-chapter-header,
    body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area .article_content > ul {
        width: 100%;
        max-width: none;
        margin: 0;
    }

    body.pdp-modern-page .pdp-editorial-detail .pdp-editorial-title,
    body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area .article_content > ul li:first-child {
        font-size: var(--pdp-font-size-subsection);
        line-height: var(--pdp-line-height-subsection);
    }

    body.pdp-modern-page .pdp-editorial-detail .pdp-prose,
    body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area .article_content > ul li:not(:first-child) {
        font-size: var(--pdp-type-body-size);
        line-height: var(--pdp-type-body-line);
    }

    body.pdp-modern-page .pdp-editorial-detail .pdp-media-grid.pdp-media-grid--multiple {
        display: flex;
        width: calc(100% + var(--pdp-page-gutter, 20px));
        margin-right: calc(var(--pdp-page-gutter, 20px) * -1);
        padding-right: var(--pdp-page-gutter, 20px);
        padding-bottom: 8px;
        overflow-x: auto;
        grid-template-columns: none;
        gap: 12px;
        overscroll-behavior-inline: contain;
        scroll-padding-right: var(--pdp-page-gutter, 20px);
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        box-sizing: border-box;
        -webkit-overflow-scrolling: touch;
    }

    body.pdp-modern-page .pdp-editorial-detail .pdp-media-grid.pdp-media-grid--multiple::-webkit-scrollbar {
        display: none;
    }

    body.pdp-modern-page .pdp-editorial-detail .pdp-media-grid.pdp-media-grid--multiple .pdp-media {
        flex: 0 0 min(80vw, 300px);
        scroll-snap-align: start;
    }

    body.pdp-modern-page .pdp-editorial-detail .pdp-editorial-ai .pdp-editorial-chapter-header {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        gap: 0;
    }

    body.pdp-modern-page .pdp-editorial-detail .pdp-editorial-ai .pdp-ai-upscale-cta {
        min-width: 0;
        margin-top: 18px;
        padding-right: 14px;
        padding-left: 14px;
    }

    body.pdp-modern-page .pdp-editorial-detail .pdp-editorial-ai .pdp-media-grid--comparison {
        display: grid;
        width: 100%;
        margin-right: 0;
        padding-right: 0;
        padding-bottom: 0;
        overflow: visible;
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        scroll-snap-type: none;
    }

    body.pdp-modern-page .pdp-editorial-detail .pdp-editorial-ai .pdp-media-grid--comparison :is(.pdp-media, .pdt_spec_photo) {
        width: 100%;
        flex: none;
    }

    body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area figure.pdt_spec_photo_wrapper:not(.pdp-media-grid--comparison) {
        display: flex;
        width: calc(100% + var(--pdp-page-gutter, 20px));
        margin-right: calc(var(--pdp-page-gutter, 20px) * -1);
        padding-right: var(--pdp-page-gutter, 20px);
        padding-bottom: 8px;
        overflow-x: auto;
        gap: 12px;
        overscroll-behavior-inline: contain;
        scroll-padding-right: var(--pdp-page-gutter, 20px);
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        box-sizing: border-box;
        -webkit-overflow-scrolling: touch;
    }

    body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area figure.pdt_spec_photo_wrapper:not(.pdp-media-grid--comparison)::-webkit-scrollbar {
        display: none;
    }

    body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area figure.pdt_spec_photo_wrapper:not(.pdp-media-grid--comparison) .pdt_spec_photo {
        flex: 0 0 min(80vw, 300px) !important;
        scroll-snap-align: start;
    }

    body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area figure.pdt_spec_photo_wrapper:not(.pdp-media-grid--comparison) > .pdt_spec_photo:only-child {
        flex-basis: 100% !important;
    }

    body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area [data-area="envelope_printing"] .pdp-envelope-options {
        display: flex;
        width: calc(100% + var(--pdp-page-gutter, 20px));
        max-width: none;
        margin: 28px calc(var(--pdp-page-gutter, 20px) * -1) 0 0;
        padding: 0 var(--pdp-page-gutter, 20px) 8px 0;
        overflow-x: auto;
        gap: 12px;
        overscroll-behavior-inline: contain;
        scroll-padding-right: var(--pdp-page-gutter, 20px);
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        box-sizing: border-box;
        -webkit-overflow-scrolling: touch;
    }

    body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area [data-area="envelope_printing"] .pdp-envelope-options::-webkit-scrollbar {
        display: none;
    }

    body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area [data-area="envelope_printing"] .pdp-envelope-options .pdp-envelope-option-card {
        width: auto !important;
        flex: 0 0 min(82vw, 300px) !important;
        scroll-snap-align: start;
    }

    body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area [data-area="envelope_printing"] .pdp-envelope-options .img_box {
        aspect-ratio: 1.4 / 1;
        padding: 18px;
    }

    body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area [data-area="envelope_printing"] .pdp-envelope-palette {
        display: block;
        width: 100%;
        max-width: none;
        margin: 48px 0 0;
        padding: 0;
        overflow: visible;
    }

    body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area [data-area="envelope_printing"] .pdp-envelope-palette .pdt_spec_photo {
        width: 100% !important;
        flex: none !important;
    }

    body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area [data-area="envelope_printing"] .pdp-envelope-palette__header {
        margin-bottom: 16px;
    }

    body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area [data-area="envelope_printing"] figure.pdp-envelope-palette .pdt_spec_photo .pdp-envelope-palette__media {
        aspect-ratio: 1.35 / 1;
        padding: 20px 16px;
    }

    body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area [data-area="envelope_printing"] figure.pdp-envelope-palette .pdt_spec_photo .pdp-envelope-palette__media img {
        width: 92%;
        max-width: 100%;
    }

    body.pdp-modern-page #pd_event.pdp-mobile-semantic-section .pdp-mobile-event-card {
        flex-basis: 100%;
    }

    body.pdp-modern-page .pdp-editorial-detail .pdp-editorial-spec-summary {
        width: auto;
        max-width: none;
        margin-right: var(--pdp-page-gutter, 20px);
        margin-left: var(--pdp-page-gutter, 20px);
        margin-top: 40px;
    }

    body.pdp-modern-page .pdp-editorial-detail .pdp-editorial-spec-summary #pd_info_area > article {
        padding: 0 0 32px;
    }

    body.pdp-modern-page .pdp-editorial-detail .pdp-editorial-spec-summary .pd_info_cubes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 16px;
        margin-top: 0;
    }

    body.pdp-modern-page .pdp-editorial-detail .pdp-editorial-spec-summary .pd_info_cubes > ul {
        min-width: 0;
        min-height: 0;
        padding: 0;
    }

    body.pdp-modern-page #detail_top_btn {
        display: none !important;
    }

    body.pdp-modern-page #pd_sets_qty_row.pd_sets_qty_row {
        width: 100%;
        max-width: none;
        padding: 0 var(--pdp-page-gutter, 20px);
    }

    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-overview {
        padding: 18px 0 14px;
    }

    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-overview__primary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px 16px;
    }

    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-overview__metric strong {
        font-size: var(--pdp-type-subsection-size);
        line-height: var(--pdp-type-subsection-line);
    }

    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-overview__metric:nth-child(2) {
        justify-content: flex-end;
    }

    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-overview__metric:nth-child(3) {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-overview__status {
        margin-top: 6px;
    }

    body.pdp-modern-page #pd_sets_qty_row :is(.pdp-benefit-content, .pdp-benefit-steps) {
        margin-top: 26px;
    }

    body.pdp-modern-page #pd_sets_qty_row :is(.pdp-benefit-content__heading, .pdp-benefit-steps__heading) h3 {
        font-size: var(--pdp-type-subsection-size);
        line-height: var(--pdp-type-subsection-line);
    }

    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-items {
        grid-template-columns: minmax(0, 1fr);
    }

    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-item,
    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-item:nth-child(even) {
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
        padding: 14px 0;
        gap: 4px 12px;
        border: 0;
        border-bottom: 1px solid var(--pdp-line);
        border-radius: 0;
        background: transparent;
    }

    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-item + .pdp-benefit-item {
        margin-top: 0;
    }

    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-item__icon {
        grid-column: 1;
        grid-row: 1 / span 2;
    }

    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-item__copy,
    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-item__tail {
        grid-column: 2;
    }

    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-item__tail {
        justify-content: flex-start;
    }

    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-basics {
        padding: 14px 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-steps__list {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-steps__list::before {
        top: 15px;
        right: auto;
        bottom: 22px;
        left: 24px;
        width: 1px;
        height: auto;
    }

    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-step {
        display: grid;
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 0 10px;
        padding: 0 0 20px;
        border: 0;
        text-align: left;
    }

    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-step + .pdp-benefit-step {
        border: 0;
    }

    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-step.is-current {
        padding-left: 0;
        box-shadow: none;
    }

    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-step__index {
        grid-row: 1 / span 2;
        margin: 0;
    }

    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-step__items {
        grid-column: 2;
        grid-template-columns: minmax(0, 1fr);
        text-align: left;
    }

    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-step__title {
        justify-content: flex-start;
    }

    body.pdp-modern-page #pdp-events > .tab_content {
        width: 100%;
        max-width: none;
        margin: 0;
    }

    body.pdp-modern-page #pdp-events .pdp-events__header {
        width: auto;
        max-width: none;
        margin: 0 var(--pdp-page-gutter, 20px) 20px;
        align-items: flex-start;
    }

    body.pdp-modern-page #pdp-events .pdp-events__all {
        min-height: 28px;
    }

    body.pdp-modern-page #pdp-events .tab_event_info {
        display: flex;
        width: 100%;
        flex-wrap: nowrap;
        gap: 12px;
        padding: 0 20px 8px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-padding-inline: 20px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        overscroll-behavior-inline: contain;
        box-sizing: border-box;
        -webkit-overflow-scrolling: touch;
    }

    body.pdp-modern-page #pdp-events .tab_event_info::-webkit-scrollbar {
        display: none;
    }

    body.pdp-modern-page #pdp-events .tab_event_info a {
        flex: 0 0 min(86vw, 340px);
        scroll-snap-align: start;
    }

    body.pdp-modern-page #pd_event.pdp-mobile-semantic-section .pd_event_more {
        width: auto;
        margin-right: 20px;
        margin-left: 20px;
    }

    body.pdp-modern-page #pdp-events .pdp-event-card__body {
        min-height: 0;
        padding: 16px;
    }

    body.pdp-modern-page #pdp-events .pdp-event-rail__controls {
        margin: 16px var(--pdp-page-gutter, 20px) 0;
    }

    body.pdp-modern-page .pdp-related-products {
        width: 100%;
        max-width: none;
        margin-top: 0;
        padding: var(--pdp-section-top) 0;
        overflow: hidden;
        box-sizing: border-box;
    }

    body.pdp-modern-page .pdp-related-products__header {
        display: block;
        width: auto;
        margin: 0 var(--pdp-page-gutter, 20px) 18px;
    }

    body.pdp-modern-page .pdp-related-products__all {
        display: flex;
        width: max-content;
        margin: 12px 0 0 auto;
    }

    body.pdp-modern-page .pdp-related-products .ui-similar-product-viewport {
        padding-right: var(--pdp-page-gutter, 20px);
        padding-left: var(--pdp-page-gutter, 20px);
    }

    body.pdp-modern-page .pdp-related-products__title {
        font-size: var(--pdp-font-size-subsection);
        line-height: var(--pdp-line-height-subsection);
    }

    body.pdp-modern-page .pdp-mobile-review-empty .sc-prd-review_btn[data-pdp-action="sample"] {
        border-color: var(--pdp-ink);
        color: #fff;
        background: var(--pdp-ink);
    }

    body.pdp-modern-page .pdp-editorial-detail .pdt_spec[data-area="card_material_size"] table.common_table {
        display: table;
        width: 100%;
        table-layout: fixed;
        border-collapse: collapse;
        border-top: 1px solid var(--pdp-ink);
        background: transparent;
    }

    body.pdp-modern-page .pdp-editorial-detail .pdt_spec[data-area="card_material_size"] table.common_table tbody {
        display: table-row-group;
    }

    body.pdp-modern-page .pdp-editorial-detail .pdt_spec[data-area="card_material_size"] table.common_table tr:first-child {
        display: table-row;
    }

    body.pdp-modern-page .pdp-editorial-detail .pdt_spec[data-area="card_material_size"] table.common_table tr:not(:first-child) {
        display: table-row;
    }

    body.pdp-modern-page .pdp-editorial-detail .pdt_spec[data-area="card_material_size"] table.common_table td,
    body.pdp-modern-page .pdp-editorial-detail .pdt_spec[data-area="card_material_size"] table.common_table td.content_td {
        display: table-cell;
        min-width: 0;
        height: auto !important;
        padding: 12px 6px !important;
        border: 0;
        border-bottom: 1px solid var(--pdp-line);
        color: var(--pdp-ink);
        font-size: var(--pdp-type-utility-size) !important;
        line-height: var(--pdp-type-utility-line) !important;
        text-align: left !important;
        word-break: keep-all;
        vertical-align: middle;
    }

    body.pdp-modern-page .pdp-editorial-detail .pdt_spec[data-area="card_material_size"] table.common_table td::before {
        content: none !important;
    }

    body.pdp-modern-page .pdp-editorial-detail .pdt_spec[data-area="card_material_size"] table.common_table td:nth-child(1) {
        width: 21%;
        background: var(--pdp-soft);
    }

    body.pdp-modern-page .pdp-editorial-detail .pdt_spec[data-area="card_material_size"] table.common_table td:nth-child(2) {
        width: 18%;
    }

    body.pdp-modern-page .pdp-editorial-detail .pdt_spec[data-area="card_material_size"] table.common_table td:nth-child(3) {
        width: 25%;
    }

    body.pdp-modern-page .pdp-editorial-detail .pdt_spec[data-area="card_material_size"] table.common_table td:nth-child(4) {
        width: 36%;
    }

    body.pdp-modern-page .pdp-editorial-detail .pdt_spec[data-area="card_material_size"] table.common_table td:empty {
        display: table-cell;
    }

    body.pdp-modern-page #mid_menu_block {
        padding-right: 20px;
        padding-left: 20px;
    }

    body.pdp-modern-page #tail_block {
        padding-bottom: 0 !important;
    }

    body.pdp-modern-page #tail_block .bottom_company_info_title,
    body.pdp-modern-page #tail_block #bottom_company_info {
        padding-right: 20px;
        padding-left: 20px;
    }

    body.pdp-modern-page.pdp-purchase-dock-enabled:not(.pdp-purchase-dock-visible) {
        padding-bottom: 0 !important;
    }

}

/* Lower-page editorial hierarchy: quantity tiers and review groups. */
body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-overview {
    margin: 20px 0 0;
    padding: 0 0 14px;
    border: 0;
    border-bottom: 1px solid var(--pdp-line);
    background: transparent;
}
body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-overview__primary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    align-items: baseline;
    text-align: left;
}
body.pdp-modern-page #pd_sets_qty_row :is(.pdp-benefit-overview__selection, .pdp-benefit-overview__result, .pdp-benefit-overview__status) {
    min-width: 0;
    margin: 0;
}
body.pdp-modern-page #pd_sets_qty_row :is(.pdp-benefit-overview__selection, .pdp-benefit-overview__result) {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 8px;
}
body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-overview__selection strong {
    color: var(--pdp-ink);
    font-size: var(--pdp-type-body-size);
    font-weight: var(--pdp-type-value-weight);
    line-height: var(--pdp-type-body-line);
    letter-spacing: -.02em;
}
body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-overview__result {
    padding-left: 24px;
    border-left: 1px solid var(--pdp-line);
}
body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-overview__result strong {
    color: var(--pdp-ink);
    font-size: var(--pdp-type-body-size);
    font-weight: var(--pdp-type-value-weight);
    line-height: var(--pdp-type-body-line);
    letter-spacing: -.02em;
}
body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-overview__result small,
body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-overview__status {
    color: var(--pdp-muted);
    font-size: var(--pdp-type-body-size);
    font-weight: var(--pdp-type-body-weight);
    line-height: var(--pdp-type-body-line);
}
body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-overview__status {
    color: var(--pdp-accent);
    font-weight: 650;
    margin-left: auto;
    text-align: right;
}
body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-overview__status:empty { display: none; }
body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-overview.is-complete .pdp-benefit-overview__status {
    color: var(--pdp-muted);
    font-weight: 500;
}
body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-entitlements {
    display: block;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--pdp-line);
}
body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-tier {
    display: grid;
    min-width: 0;
    grid-template-columns: 136px minmax(0, 1fr);
    gap: 24px;
    padding: 17px 0;
    align-items: start;
    box-sizing: border-box;
}
body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-tier + .pdp-benefit-tier {
    border-top: 1px solid var(--pdp-color-line);
}
body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-tier.is-locked { opacity: .5; }
body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-tier__heading {
    display: grid;
    min-width: 0;
    margin: 0;
    gap: 2px;
}
body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-tier__heading strong {
    color: var(--pdp-ink);
    font-size: var(--pdp-type-body-size);
    font-weight: var(--pdp-type-action-weight);
    line-height: var(--pdp-type-body-line);
}
body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-tier__heading span {
    color: var(--pdp-muted);
    font-size: var(--pdp-type-meta-size);
    font-weight: 500;
    line-height: var(--pdp-type-meta-line);
    white-space: nowrap;
}
body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-tier__items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}
body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-entitlement,
body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-entitlement:not(:nth-child(3n + 1)) {
    display: grid;
    min-height: 24px;
    grid-template-columns: 16px minmax(0, 1fr);
    gap: 8px;
    padding: 0;
    align-items: center;
    border: 0;
}
body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-entitlement__visual {
    position: relative;
    display: grid;
    width: 16px;
    height: 16px;
    place-items: center;
    border: 1px solid #cfc4d2;
    border-radius: 50%;
    background: #fff;
    box-sizing: border-box;
}
body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-entitlement.is-unlocked .pdp-benefit-entitlement__visual {
    border-color: #d8cbdc;
    background: #f3eef4;
}
body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-entitlement.is-unlocked .pdp-benefit-entitlement__visual::after {
    width: 5px;
    height: 3px;
    border-bottom: 1.5px solid var(--pdp-accent);
    border-left: 1.5px solid var(--pdp-accent);
    content: '';
    transform: translateY(-1px) rotate(-45deg);
}
body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-entitlement__visual img { display: none; }
body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-entitlement__copy {
    display: block;
    min-width: 0;
}
body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-entitlement__copy strong {
    display: block;
    overflow: visible;
    color: var(--pdp-ink);
    font-size: var(--pdp-type-body-size);
    font-weight: var(--pdp-type-value-weight);
    line-height: var(--pdp-type-body-line);
    text-overflow: clip;
    white-space: normal;
}
body.pdp-modern-page #pdp-reviews .pdp-review-overview:not(.is-empty) {
    min-height: 76px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    padding: 17px 0;
}
body.pdp-modern-page #pdp-reviews .pdp-review-overview__rating strong {
    font-size: var(--pdp-type-section-size);
    line-height: var(--pdp-type-section-line);
}
body.pdp-modern-page #pdp-reviews .pdp-review-overview__rating span {
    font-size: var(--pdp-type-body-size);
    font-weight: var(--pdp-type-value-weight);
}
body.pdp-modern-page #pdp-reviews .pdp-review-overview__action {
    min-width: 96px;
    min-height: 40px;
    border-radius: 6px;
}
body.pdp-modern-page #pdp-reviews .after_list_write_group { margin-top: 16px; }
body.pdp-modern-page #pdp-reviews .after_list_write_group iframe {
    display: block;
    width: 100%;
}

@media (max-width: 767px) {
    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-overview {
        margin-top: 16px;
        padding: 0 0 14px;
    }
    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-overview__primary {
        gap: 6px 14px;
    }
    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-overview__result strong {
        font-size: var(--pdp-type-body-size);
        line-height: var(--pdp-type-body-line);
    }
    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-overview__result small {
        display: block;
        width: 100%;
    }
    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-overview__status {
        width: 100%;
        margin-left: 0;
        padding-top: 10px;
        border-top: 1px solid var(--pdp-line);
        text-align: left;
    }
    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-entitlements {
        grid-template-columns: minmax(0, 1fr);
    }
    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-tier,
    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-tier:first-child,
    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-tier:last-child {
        display: block;
        padding: 20px 0;
    }
    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-tier + .pdp-benefit-tier {
        border-top: 1px solid var(--pdp-line);
    }
    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-tier__heading { margin-bottom: 14px; }
    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-tier__items,
    body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-tier:first-child .pdp-benefit-tier__items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 12px;
    }
}

/* Final detail rhythm: keep every surface on the warm editorial system. */
body.pdp-modern-page .pdp-semantic-section > .pdp-section-heading,
body.pdp-modern-page .pdp-mobile-section-heading {
    font-weight: 600;
    letter-spacing: -.03em;
}

body.pdp-modern-page #pdp-reviews .pdp-review-heading-row .pdp-section-heading {
    font-weight: 600;
}

body.pdp-modern-page .pdp-editorial-detail.ui-prd-theme-wrapper::after {
    height: clamp(120px, 14vw, 160px);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 88%);
}

body.pdp-modern-page #product_detail_photo_e_slide .set_skin_slide_btn .set_skin_img {
    width: 44%;
    max-height: calc(100% - 20px);
    margin-top: 0;
    border: 2px solid var(--pdp-ink);
    border-radius: 10px;
    background: #fff;
}

body.pdp-modern-page #product_detail_photo_e_slide .set_skin_slide_btn .frame_img {
    display: none;
}

/* One total-price hierarchy across invitation and companion product families. */
body.pdp-modern-page :is(.ompPriceTotal, .pdp-total-price-amount) {
    color: var(--pdp-ink) !important;
    font-size: var(--pdp-type-total-price-size) !important;
    font-weight: 700 !important;
    line-height: var(--pdp-type-total-price-line) !important;
    letter-spacing: -.025em;
}

body.pdp-modern-page .pdp-total-price-unit {
    margin-left: 3px;
    color: var(--pdp-ink) !important;
    font-size: var(--pdp-type-total-price-unit-size) !important;
    font-weight: 600 !important;
    line-height: var(--pdp-type-label-line) !important;
    letter-spacing: 0;
}

/* Legacy purchase rows split the numeric total and the won unit into siblings. */
body.pdp-modern-page :is(#order_price_txt, #order_event_price_txt, #card_total) {
    color: var(--pdp-ink) !important;
    font-size: var(--pdp-type-total-price-size) !important;
    font-weight: 700 !important;
    line-height: var(--pdp-type-total-price-line) !important;
    letter-spacing: -.025em;
}

body.pdp-modern-page :is(#order_price_txt, #order_event_price_txt) + .fontHighligh {
    margin-left: 3px;
    color: var(--pdp-ink) !important;
    font-size: var(--pdp-type-total-price-unit-size) !important;
    font-weight: 600 !important;
    line-height: var(--pdp-type-label-line) !important;
    letter-spacing: 0;
}

/* Keep legacy total rows on the same divider and left-label/right-value axis. */
body.pdp-modern-page .pdp-modern-purchase-surface #productSpecArea > div.consumerPhotoEditRow.totalPriceRow > ul {
    margin-top: var(--pdp-space-12) !important;
    padding-top: var(--pdp-space-16) !important;
    border-top: 1px solid var(--pdp-line) !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface #productSpecArea > div.consumerPhotoEditRow.totalPriceRow > ul > li:last-child {
    display: flex !important;
    align-items: baseline !important;
    justify-content: flex-end !important;
    justify-self: stretch !important;
    text-align: right !important;
}

body.pdp-modern-page #pdp-events .pdp-event-card__body strong,
body.pdp-modern-page #pd_event.pdp-mobile-semantic-section .pdp-mobile-event-card__body strong {
    color: var(--pdp-ink);
    font-size: var(--pdp-type-subsection-size);
    font-weight: 600;
    line-height: var(--pdp-type-subsection-line);
    letter-spacing: -.01em;
    word-break: keep-all;
    overflow-wrap: break-word;
}

body.pdp-modern-page #pdp-events .pdp-event-card__body > span,
body.pdp-modern-page #pd_event.pdp-mobile-semantic-section .pdp-mobile-event-card__body p {
    margin: 0;
    color: var(--pdp-muted);
    font-size: var(--pdp-type-body-size);
    font-weight: 400;
    line-height: var(--pdp-type-body-line);
    word-break: keep-all;
    overflow-wrap: break-word;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-tier.is-locked {
    opacity: 1;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-tier.is-locked .pdp-benefit-tier__heading strong,
body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-entitlement.is-locked .pdp-benefit-entitlement__copy strong {
    color: var(--pdp-muted);
    opacity: 1;
}

body.pdp-modern-page #pd_sets_qty_row .pdp-benefit-tier.is-locked .pdp-benefit-entitlement__visual {
    opacity: .78;
}

@media (max-width: 767px) {
    body.pdp-modern-page .pdp-semantic-section > .pdp-section-heading,
    body.pdp-modern-page .pdp-mobile-section-heading {
        padding-top: var(--pdp-section-top);
        padding-bottom: var(--pdp-section-title-gap);
    }

    body.pdp-modern-page #prd_flow_area.pdp-mobile-production-cluster > .pdp-mobile-section-heading {
        padding-top: 48px;
    }

    body.pdp-modern-page .pdp-related-products {
        padding-top: var(--pdp-section-top);
        padding-bottom: var(--pdp-section-top);
    }
}

/*
 * Product-detail typography and navigation contract.
 * The purchase decision surface uses three roles: 24px decision anchors, 15px
 * content, and compact utility text (14px PC / 15px mobile). Section navigation
 * remains 16px so the page-level movement axis is not weaker than field labels.
 * Editorial sections retain their own established three-step reading scale.
 */
body.pdp-modern-page {
    font-size: var(--pdp-type-body-size);
}

body.pdp-modern-page :where(
    #document_middle,
    .tbl1_wrapper,
    .pdp-semantic-lower-content,
    #product_detail_bottom_area,
    #productTabMenu,
    #pdp-mobile-similar-products,
    .pdp-related-products,
    .pdp-purchase-dock
) :where(
    p, span, strong, em, small, a, button, label, li,
    dt, dd, th, td, summary, select, input, textarea, option, figcaption
) {
    font-size: var(--pdp-type-body-size) !important;
    line-height: var(--pdp-type-body-line) !important;
}

body.pdp-modern-page :is(
    .pdp-editorial-detail .pdp-prose,
    .pdp-editorial-overview .pdp-prose
) {
    font-size: var(--pdp-type-body-size) !important;
    font-weight: var(--pdp-type-body-weight) !important;
    line-height: var(--pdp-type-body-line) !important;
}

body.pdp-modern-page :where(
    #document_middle,
    .tbl1_wrapper,
    .pdp-semantic-lower-content,
    #product_detail_bottom_area,
    #pdp-mobile-similar-products,
    .pdp-related-products
) :where(p, em, small, label, dt, figcaption) {
    font-weight: var(--pdp-type-body-weight) !important;
}

body.pdp-modern-page :where(
    .pdp-semantic-lower-content,
    #product_detail_bottom_area,
    #pdp-mobile-similar-products,
    .pdp-related-products
) :where(
    h1, h2, h3, h4,
    p, span, strong, em, small,
    a, button, li, dt, dd, summary, figcaption
) {
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
}

body.pdp-modern-page :where(
    #document_middle,
    .tbl1_wrapper,
    .pdp-semantic-lower-content,
    #product_detail_bottom_area,
    #pdp-mobile-similar-products,
    .pdp-related-products
) :where(h1, h2, h3, h4),
body.pdp-modern-page :is(
    .pdp-benefit-tier__heading strong,
    .pdp-benefit-overview__metric strong,
    .pdp-production-order-paths__heading strong,
    .pdp-production-order-path strong,
    .pdp-production-order-path h5,
    .pdp-production-method h5,
    .pdp-production-mobile-summary strong,
    .pdp-event-card__body strong,
    .pdp-mobile-event-card__body strong
),
body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area .article_content > ul li:first-child,
body.pdp-modern-page .pdp-editorial-detail #product_detail_theme_all_area .pdp-envelope-palette__header > span:first-child {
    font-size: var(--pdp-type-subsection-size) !important;
    font-weight: var(--pdp-type-subsection-weight) !important;
    line-height: var(--pdp-type-subsection-line) !important;
}

/* Policy card titles are children of the accordion heading, not subsections. */
body.pdp-modern-page .pdp-order-notice-group h4 {
    font-size: var(--pdp-type-body-size) !important;
    font-weight: 500 !important;
    line-height: var(--pdp-type-body-line) !important;
}

body.pdp-modern-page :is(
    .pdp-order-methods__choice-index,
    .pdp-order-methods__choice-tag
) {
    font-size: var(--pdp-type-utility-size) !important;
    line-height: var(--pdp-type-utility-line) !important;
}

body.pdp-modern-page :is(
    .pdp-section-heading,
    .pdp-mobile-section-heading,
    .pdp-related-products__title,
    .pdp-order-methods__header h2,
    .pdp-review-overview__rating strong,
    .pdp-review-overview__count strong
) {
    font-size: var(--pdp-type-section-size) !important;
    font-weight: var(--pdp-type-section-weight) !important;
    line-height: var(--pdp-type-section-line) !important;
}

body.pdp-modern-page .pdp-product-title {
    font-size: var(--pdp-type-product-size) !important;
    font-weight: var(--pdp-type-product-weight) !important;
    line-height: var(--pdp-type-product-line) !important;
}

body.pdp-modern-page .pdp-product-badge {
    font-size: var(--pdp-type-badge-size) !important;
    font-weight: 500 !important;
    line-height: var(--pdp-type-badge-line) !important;
}

body.pdp-modern-page .productDeliveryRow.ompFamRow .totalPrice .ompPriceTotal {
    font-size: var(--pdp-type-total-price-size) !important;
    font-weight: var(--pdp-type-product-weight) !important;
    line-height: var(--pdp-type-total-price-line) !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface :is(
    .pdDesc,
    .pdp-product-eyebrow,
    .pdp-modern-customizer .ui-tab-menu-label,
    .pdp-modern-customizer .pdp-customizer-photo-status,
    .pdp-modern-customizer .pdp-photo-entry__action,
    .pdp-modern-customizer .pdp-photo-entry__action > span,
    .pdp-modern-customizer button.ui-preview-apply-btn,
    .pdp-modern-customizer button.ui-preview-apply-btn > span,
    .pdp-modern-customizer button.ui-modify-btn,
    .pdp-modern-customizer button.ui-modify-btn > span,
    .pdp-included-benefits__copy strong,
    .pdp-included-benefits__copy > span,
    .pdp-inline-guide-button--schedule .pdp-inline-guide-button__value,
    .pdp-inline-guide-button__meta,
    .processingMethodRow .pdp-inline-guide-button > span,
    .btn_omp_toggle .pdp-additional-options__summary,
    .pdp-option-status,
    .pdp-additional-options__heading strong,
    .pdp-additional-options__heading [data-pdp-option-count],
    .productDeliveryRow.ompFamRow .totalPrice > span:last-child
) {
    font-size: var(--pdp-type-utility-size) !important;
    line-height: var(--pdp-type-utility-line) !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface :is(
    .orderQtyRow,
    .consumerPhotoEditRow,
    #productSpecArea > div[class*="Row"]
) > ul > li:first-child,
body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow .optionTitle,
body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow .optionTitle > li {
    font-size: var(--pdp-type-utility-size) !important;
    font-weight: var(--pdp-type-body-weight) !important;
    line-height: var(--pdp-type-utility-line) !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface
    .ompChoice2 .omp_pick_btn > div:nth-child(2) > div:first-child {
    color: var(--pdp-ink);
    font-size: var(--pdp-type-utility-size) !important;
    font-weight: var(--pdp-type-value-weight);
    line-height: var(--pdp-type-utility-line) !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface
    .ompChoice2 .omp_pick_btn > div:nth-child(2) > div:first-child font {
    font-size: inherit !important;
    font-weight: inherit;
    line-height: inherit !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface
    .ompChoice2 .omp_pick_btn > div:nth-child(2) > div:last-child,
body.pdp-modern-page .pdp-modern-purchase-surface
    .ompChoice2 .omp_pick_btn :is(.ompPickBtnQtyTxt, .ompPickBtnPriceTxt) {
    color: var(--pdp-muted);
    font-size: var(--pdp-type-utility-size) !important;
    font-weight: var(--pdp-type-body-weight);
    line-height: var(--pdp-type-utility-line) !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface .productDeliveryRow.ompFamRow > ul > li:first-child {
    color: var(--pdp-muted) !important;
}

body.pdp-modern-page .pdp-modern-customizer .pdp-photo-entry__copy strong {
    font-size: var(--pdp-type-body-size) !important;
    font-weight: var(--pdp-type-subsection-weight) !important;
    line-height: var(--pdp-type-body-line) !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface :is(
    .orderQtyRow,
    .consumerPhotoEditRow,
    #productSpecArea > div[class*="Row"]
) > ul > li:first-child {
    font-weight: var(--pdp-type-body-weight) !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface :is(
    select,
    input[type="text"],
    input[type="number"],
    .ompProductRow .ompChoice1
),
body.pdp-modern-page .pdp-modern-purchase-surface :is(
    .orderQtyRow,
    .consumerPhotoEditRow,
    #productSpecArea > div[class*="Row"]
) > ul > li:last-child {
    font-weight: var(--pdp-type-value-weight) !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface
    #productSpecArea > .smallQtyPricingRow.pdp-price-adjustment
    .pdp-price-adjustment__amount {
    font-weight: var(--pdp-type-body-weight) !important;
}

body.pdp-modern-page [data-pdp-section-nav] [data-pdp-section-link] {
    font-size: var(--pdp-type-local-nav-size) !important;
    font-weight: var(--pdp-type-nav-weight) !important;
    line-height: var(--pdp-type-local-nav-line) !important;
}

body.pdp-modern-page :is(
    .pdp-review-overview__action,
    .pdp-related-products__all,
    #pd_event .pd_event_more a
) {
    font-weight: var(--pdp-type-action-weight) !important;
    line-height: var(--pdp-type-action-line) !important;
}

body.pdp-modern-page :is(
    .pdp-purchase-action,
    .pdp-purchase-action__label,
    .pdp-purchase-dock__order
) {
    font-size: var(--pdp-type-purchase-action-size) !important;
    font-weight: var(--pdp-type-action-weight) !important;
    line-height: var(--pdp-type-purchase-action-line) !important;
}

body.pdp-modern-page .section_prd_print_proc .prd_print_proc_video_box::before,
body.pdp-modern-page .pdp-editorial-detail .pdt_spec[data-area="card_material_size"] table.common_table td::before,
body.pdp-modern-page .pdp-mobile-review-reward__cta-label::after,
body.pdp-modern-page #pd_event.pdp-mobile-semantic-section .pd_event_more a::after {
    font-size: var(--pdp-type-body-size) !important;
    line-height: var(--pdp-type-body-line) !important;
}

body.pdp-modern-page #pdp-events .pdp-event-card__body small,
body.pdp-modern-page #pd_event.pdp-mobile-semantic-section .pdp-mobile-event-card__badge {
    font-size: var(--pdp-type-body-size) !important;
    line-height: var(--pdp-type-body-line) !important;
}

@media (min-width: 768px) {
    body.pdp-modern-page #pdp-reviews .after_list_write_group {
        width: var(--pdp-section-width, 1000px);
        max-width: calc(100% - (var(--pdp-page-gutter, 24px) * 2));
    }
}

body.pdp-modern-page [data-pdp-section-nav] .pdp-section-nav__inner {
    display: flex;
    width: min(var(--pdp-rail-wide, 1000px), 100%);
    min-width: 0;
    margin: 0 auto;
}

@media (max-width: 767px) {
    body.pdp-modern-page {
        --pdp-mobile-section-nav-height: 52px;
        --pdp-type-page-scale: 24px;
        --pdp-type-section-scale: 24px;
        --pdp-type-subsection-scale: 20px;
        --pdp-type-body-scale: 16px;
        --pdp-type-action-scale: 16px;
    }

    body.pdp-modern-page .pdp-modern-purchase-surface {
        --pdp-type-utility-size: var(--pdp-type-body-scale);
        --pdp-type-utility-line: var(--bj-type-body-line);
    }

    body.pdp-modern-page :is(
        .pdp-semantic-section,
        .pdp-mobile-semantic-section
    ).pdp-order-methods,
    body.pdp-modern-page #product_detail_bottom_area section.pdp-order-methods {
        width: calc(100% - (var(--pdp-page-gutter, 16px) * 2));
        max-width: none;
        margin-right: auto;
        margin-left: auto;
        padding: var(--pdp-section-top, 56px) 0 40px;
    }

    body.pdp-modern-page [data-pdp-section-nav] {
        height: var(--pdp-mobile-section-nav-height);
        min-height: var(--pdp-mobile-section-nav-height);
    }

    body.pdp-modern-page [data-pdp-section-nav] .pdp-section-nav__inner {
        height: 100%;
    }

    body.pdp-modern-page [data-pdp-section-nav] .pdp-section-nav__back {
        display: inline-flex;
        width: 44px;
        min-width: 44px;
        height: var(--pdp-mobile-section-nav-height);
        min-height: 44px;
        flex: 0 0 44px;
        align-items: center;
        justify-content: center;
    }

    body.pdp-modern-page #productTabMenu.pdp-mobile-section-nav #detail_menu_1,
    body.pdp-modern-page #productTabMenu.pdp-mobile-section-nav .detail_tab_swiper,
    body.pdp-modern-page #productTabMenu.pdp-mobile-section-nav .menu_a {
        height: var(--pdp-mobile-section-nav-height);
    }

    body.pdp-modern-page [data-pdp-section-nav] [data-pdp-section-link] {
        min-width: 0;
        min-height: 44px;
        padding: 0 2px;
        font-size: var(--pdp-type-local-nav-size) !important;
        line-height: var(--pdp-type-local-nav-line) !important;
        white-space: nowrap;
        word-break: keep-all;
    }

    body.pdp-modern-page [data-pdp-section-nav] [data-pdp-section-link] > span,
    body.pdp-modern-page [data-pdp-section-nav] [data-pdp-section-link] > span > span {
        font-size: inherit !important;
        line-height: inherit !important;
        white-space: inherit;
    }

    body.pdp-modern-page :is(
        #product-detail-description,
        #pdp-mobile-order-benefits,
        #prd_review_area,
        #prd_flow_area,
        #pd_event
    ) {
        scroll-margin-top: calc(var(--pdp-mobile-section-nav-height) + 12px);
    }
}

/*
 * Shared purchase-control contract.
 * Envelope, ribbon and every additional product option use the same trigger,
 * popup shell, state indicator and keyboard semantics.
 */
body.pdp-modern-page .pdp-modern-purchase-surface select {
    background-image: var(--pdp-icon-chevron-down) !important;
    background-position: right 12px center;
    background-size: 16px 16px;
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompChoice {
    position: relative;
    z-index: 0;
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow.is-choice-open,
body.pdp-modern-page .pdp-modern-purchase-surface .ompChoice.is-open {
    z-index: 140;
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow.is-choice-open {
    position: relative;
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompChoice1 {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    appearance: none;
    font-family: var(--pdp-font-family) !important;
    text-align: left;
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompChoice1::after,
body.pdp-modern-page .pdp-modern-purchase-surface .btn_omp_view_more::after {
    width: 16px !important;
    height: 16px !important;
    background-image: var(--pdp-icon-chevron-down) !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: 16px 16px !important;
    content: '';
    transform: translateY(-50%) rotate(0deg);
    transform-origin: center;
    transition: transform 160ms ease;
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompChoice1::after {
    right: 12px !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface
    .ompChoice:is(.is-open, [data-open="true"]) .ompChoice1::after,
body.pdp-modern-page .pdp-modern-purchase-surface
    .ompChoice1[aria-expanded="true"]::after,
body.pdp-modern-page .pdp-modern-purchase-surface
    .btn_omp_view_more.active::after {
    transform: translateY(-50%) rotate(180deg);
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompChoice2 {
    top: 100% !important;
    z-index: 141;
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompChoice2 > ul {
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid var(--pdp-color-control-open) !important;
    border-top: 0 !important;
    border-radius: 0 0 var(--pdp-radius-control) var(--pdp-radius-control) !important;
    background: #fff;
    box-shadow: 0 12px 24px rgba(36, 31, 26, .08);
}

body.pdp-modern-page .pdp-modern-purchase-surface
    .ompChoice:is(.is-open, [data-open="true"]) .ompChoice1,
body.pdp-modern-page .pdp-modern-purchase-surface
    .ompChoice1[aria-expanded="true"] {
    border-color: var(--pdp-color-control-open) !important;
    border-radius: var(--pdp-radius-control) var(--pdp-radius-control) 0 0 !important;
    box-shadow: none;
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompChoice2 .omp_pick_btn {
    position: relative;
    min-height: 64px;
    padding: 7px 40px 7px 9px;
    border-bottom: 1px solid var(--pdp-line);
    transition: background-color 140ms ease;
}

body.pdp-modern-page .pdp-modern-purchase-surface .ompChoice2 .omp_pick_btn:hover,
body.pdp-modern-page .pdp-modern-purchase-surface .ompChoice2 .omp_pick_btn:focus-visible {
    background: var(--pdp-color-soft);
    outline: 0;
}

body.pdp-modern-page .pdp-modern-purchase-surface
    .ompChoice2 .omp_pick_btn[aria-selected="true"] {
    background: #f8f4f8;
}

body.pdp-modern-page .pdp-modern-purchase-surface
    .ompChoice2 .omp_pick_btn[aria-selected="true"]::after {
    position: absolute;
    top: 50%;
    right: 12px;
    width: 16px;
    height: 16px;
    background: var(--pdp-icon-check) center / 16px 16px no-repeat;
    content: '';
    transform: translateY(-50%);
}

body.pdp-modern-page .pdp-included-benefits__chevron {
    width: 16px;
    height: 16px;
    border: 0;
    background-color: transparent;
    background-image: var(--pdp-icon-chevron-down);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 16px 16px;
    transform: rotate(0deg);
    transform-origin: center;
    transition: transform 160ms ease;
}

body.pdp-modern-page .pdp-included-benefits[open] .pdp-included-benefits__chevron {
    transform: rotate(180deg);
}

body.pdp-modern-page .pdp-inline-guide-button > svg {
    width: 16px;
    height: 16px;
    stroke-width: 1.5;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-eta-summary__chev {
    background-color: transparent;
    background-image: var(--pdp-icon-chevron-down);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 16px 16px;
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-eta-summary__chev > path {
    display: none;
}

body.pdp-modern-page .pdp-modern-purchase-surface .btn_omp_toggle {
    min-height: var(--pdp-control-height);
    border-bottom: 0 !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface
    .btn_omp_toggle .pdp-additional-options__summary {
    font-size: var(--pdp-type-utility-size);
    font-weight: var(--pdp-type-value-weight);
    line-height: var(--pdp-type-utility-line);
}

body.pdp-modern-page .pdp-modern-purchase-surface .pdp-additional-options.is-expanded .ompProductRow {
    padding: 10px 0 !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface
    #productSpecArea > div:is(.etaPrintMakingRow, .processingMethodRow):not(.productDeliveryRow) > ul {
    padding-top: 0;
    padding-bottom: 0;
}

body.pdp-modern-page .pdp-modern-purchase-surface
    :is(.etaPrintMakingRow, .processingMethodRow) > ul,
body.pdp-modern-page .pdp-modern-purchase-surface
    :is(.etaPrintMakingRow, .processingMethodRow) .pdp-inline-guide-button {
    min-height: 44px;
}

@media (min-width: 768px) {
    /* PC 선택 컨트롤은 카드 표면끼리 8px 간격을 직접 소유한다.
       행 내부 상하 여백으로 간격을 만들면 구매혜택 뒤만 16px로 벌어진다. */
    body.pdp-modern-page .pdp-modern-purchase-surface .pdp-primary-option-row > ul {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    body.pdp-modern-page .pdp-modern-purchase-surface
        .pdp-primary-option-row + .pdp-primary-option-row {
        margin-top: var(--pdp-space-8) !important;
    }

    body.pdp-modern-page .pdp-modern-purchase-surface
        .pdp-quantity-block > ul > li:first-child {
        display: flex;
        min-height: var(--pdp-control-height);
        align-items: center;
    }
}

/* The square cart is fixed; sample and order divide the remaining width 1:1. */
body.pdp-modern-page .pdp-purchase-actions__grid {
    grid-template-columns: 52px repeat(2, minmax(0, 1fr)) !important;
}

body.pdp-modern-page .pdp-purchase-actions__grid [data-pdp-action="cart"] {
    width: 52px;
    min-width: 52px;
    height: 52px;
    min-height: 52px;
}

body.pdp-modern-page .pdp-purchase-action:not(.pdp-purchase-action--primary) {
    border-color: var(--pdp-color-control);
    background: #fff;
}

body.pdp-modern-page .pdp-purchase-action:not(.pdp-purchase-action--primary):hover:not(:disabled) {
    border-color: var(--pdp-color-control-hover);
    background: var(--pdp-color-soft);
}

body.pdp-modern-page .pdp-purchase-action[data-pdp-sample-state="selected"] {
    border-color: var(--pdp-color-control);
    background: #fff;
    color: var(--pdp-ink);
    box-shadow: none;
}

body.pdp-modern-page .pdp-modern-purchase-surface
    .pdpSetEnvelopeRow > ul > li:last-child {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    text-align: right;
}

body.pdp-modern-page .pdp-modern-purchase-surface
    .pdpSetEnvelopeRow > ul > li:last-child span {
    color: var(--pdp-muted);
}

body.pdp-modern-page .pdp-modern-purchase-surface
    .pdpSetEnvelopeRow > ul > li:last-child span::before {
    content: "·";
    margin-right: 4px;
}

@media (max-width: 767px) {
    body.pdp-modern-page .pdp-modern-purchase-surface
        .pdpSetEnvelopeRow > ul > li:last-child {
        flex-direction: column;
        align-items: flex-end;
        gap: 2px;
    }

    body.pdp-modern-page .pdp-modern-purchase-surface
        .pdpSetEnvelopeRow > ul > li:last-child span::before {
        content: none;
    }

    body.pdp-modern-page .pdp-modern-purchase-surface
        .pdp-quantity-block__summary .pdp-included-benefits > summary {
        min-height: 60px;
        padding: 14px 12px 14px 14px;
    }

    body.pdp-modern-page .pdp-modern-purchase-surface .btn_omp_toggle {
        min-height: var(--pdp-control-height);
    }

    body.pdp-modern-page .pdp-modern-purchase-surface .ompProductRow > ul,
    body.pdp-modern-page .pdp-modern-purchase-surface
        .pdp-additional-options.is-expanded .ompProductRow {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }

    body.pdp-modern-page .pdp-modern-purchase-surface
        .pdp-additional-options .ompProductRow .orderOptionContent {
        row-gap: 8px;
    }

    body.pdp-modern-page .pdp-modern-purchase-surface
        :is(.etaPrintMakingRow, .processingMethodRow) > ul,
    body.pdp-modern-page .pdp-modern-purchase-surface
        :is(.etaPrintMakingRow, .processingMethodRow) .pdp-inline-guide-button {
        min-height: 56px;
    }

    body.pdp-modern-page .pdp-purchase-actions__grid {
        grid-template-columns: 56px repeat(2, minmax(0, 1fr)) !important;
    }

    body.pdp-modern-page .pdp-purchase-actions__grid [data-pdp-action="cart"] {
        width: 56px;
        min-width: 56px;
        height: 56px;
        min-height: 56px;
    }
}

/* Shared detail invariants: keep these after responsive/product-type overrides. */
body.pdp-modern-page .pdp-modern-purchase-surface .pdp-product-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    letter-spacing: -.04em !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface
    .orderQtyRow.pdp-quantity-block > ul {
    margin-top: var(--pdp-space-8) !important;
    padding-top: var(--pdp-space-8) !important;
    border-top: 1px solid var(--pdp-line) !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface.pdp-selpick-first
    .orderQtyRow.pdp-quantity-block > ul {
    margin-top: var(--pdp-space-8) !important;
    padding-top: 0 !important;
    border-top: 0 !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface .btn_omp_toggle {
    margin-top: var(--pdp-space-8) !important;
    border-bottom: 0 !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface :is(
    .pdp-benefit-row--merged,
    .pdp-benefit-row--ordinary-hidden
) {
    display: none !important;
}

body.pdp-modern-page .pdp-purchase-benefits__state {
    color: var(--pdp-color-quiet);
    font-size: var(--pdp-type-micro-size);
    font-weight: var(--pdp-type-value-weight);
    line-height: var(--pdp-type-micro-line);
    white-space: nowrap;
}

body.pdp-modern-page .pdp-purchase-benefits:not([open])
    .pdp-included-benefits__copy > [data-pdp-benefit-title] {
    display: block;
}

body.pdp-modern-page .pdp-purchase-benefits > summary
    .pdp-included-benefits__copy {
    flex-direction: row;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

body.pdp-modern-page .pdp-purchase-benefits > summary
    .pdp-included-benefits__copy strong,
body.pdp-modern-page .pdp-purchase-benefits > summary
    .pdp-included-benefits__copy > [data-pdp-benefit-title] {
    color: var(--pdp-ink);
    font-size: var(--pdp-type-utility-size);
    font-weight: var(--pdp-type-body-weight);
    line-height: var(--pdp-type-utility-line);
}

body.pdp-modern-page .pdp-included-benefits__list > .pdp-purchase-benefits__discount {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 2px;
    padding: 4px 0 2px;
}

body.pdp-modern-page .pdp-purchase-benefits__discount-amount {
    min-width: 0;
    color: var(--pdp-ink);
    font-size: var(--pdp-type-utility-size);
    font-weight: 600;
    line-height: var(--pdp-type-utility-line);
    justify-self: start;
    text-align: left;
    white-space: nowrap;
}

body.pdp-modern-page .pdp-purchase-benefits__discount-detail {
    color: var(--pdp-color-quiet);
    font-size: var(--pdp-type-micro-size);
    font-weight: var(--pdp-type-body-weight);
    line-height: var(--pdp-type-micro-line);
    justify-self: start;
    text-align: left;
    word-break: keep-all;
}

body.pdp-modern-page .pdp-modern-purchase-surface
    #productSpecArea > .pdp-fulfillment-section-start {
    /* 마지막 선택 컨트롤의 테두리와 섹션 구분선이 겹쳐 보이지 않게
       구분선 전후에 같은 간격 토큰을 둔다. 상품별 예외가 아닌 구매 패널 공통 경계다. */
    margin-top: var(--pdp-space-8) !important;
    padding-top: var(--pdp-space-8) !important;
    border-top: 1px solid var(--pdp-line) !important;
}

/* 펼친 옵션은 각 셀렉트 테두리만으로 구분한다. 제작 정보와의 8px 경계 간격은 유지하되
   내부선은 중복해서 그리지 않는다. */
body.pdp-modern-page .pdp-modern-purchase-surface:has(.pdp-additional-options.is-expanded)
    #productSpecArea > .pdp-fulfillment-section-start {
    padding-top: 0 !important;
    border-top: 0 !important;
}

body.pdp-modern-page .pdp-modern-purchase-surface
    .productDeliveryRow.ompFamRow.pdp-total-section-start > ul {
    margin-top: var(--pdp-space-8) !important;
    padding-top: var(--pdp-space-8) !important;
    border-top: 1px solid var(--pdp-line) !important;
}

@media (max-width: 767px) {
    body.pdp-modern-page .pdp-purchase-benefits > summary {
        align-items: start;
    }

    body.pdp-modern-page .pdp-purchase-benefits__discount-amount {
        padding-top: 0;
    }
}
