.sales-product-facts,
.sales-bundle-section,
.sales-cart-suggestion {
    --sales-ink: var(--np-ink-accent, #17324f);
    --sales-line: #d9e1e8;
    --sales-muted: #4c5d70;
    --sales-paper: #f4f8fb;
    color: var(--np-text, #111827);
    overflow-wrap: anywhere;
}

.sales-product-facts {
    border-left: 4px solid var(--np-gold-strong, #f0b14b);
    background: var(--sales-paper);
    padding: 18px;
    margin: 20px 0;
}

.sales-product-facts h2 {
    color: var(--sales-ink);
    font-family: inherit;
    font-size: 21px;
    line-height: 1.3;
    margin: 0 0 12px;
}

.sales-product-facts p,
.sales-purchase-guidance p,
.sales-bundle p,
.sales-cart-suggestion p {
    font-size: 14px;
    line-height: 1.6;
    margin: 10px 0;
    max-width: 76ch;
}

.sales-pdf-evidence summary {
    color: var(--sales-ink);
    cursor: pointer;
    font-weight: 700;
    min-height: 44px;
    padding: 10px 0;
}

.sales-inside-gallery {
    background: #f4f8fb;
    border: 1px solid #d9e1e8;
    border-radius: 8px;
    color: #17324f;
    margin-top: 20px;
    padding: 14px;
}

.sales-inside-gallery h2 {
    font: inherit;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 10px;
}

.sales-inside-gallery p,
.sales-inside-gallery figcaption {
    font-size: 13px;
    line-height: 1.55;
    margin: 10px 0;
}

.sales-inside-gallery figure { margin: 0; }
.sales-inside-gallery summary { cursor: pointer; font-size: 17px; font-weight: 700; line-height: 1.4; min-height: 44px; padding: 8px 0; }
.sales-inside-gallery summary:focus-visible { outline: 3px solid #1d65a6; outline-offset: 4px; }
.sales-inside-preview { background: transparent; border: 0; cursor: pointer; display: block; max-width: 220px; padding: 0; width: 100%; }
.sales-inside-preview:focus-visible { outline: 3px solid #1d65a6; outline-offset: 4px; }
.sales-inside-gallery img { display: block; height: auto; max-width: 220px; width: 100%; }
.sales-inside-gallery figcaption span { display: block; }

.sales-pdf-evidence h3 {
    font-family: inherit;
    font-size: 16px;
    line-height: 1.4;
    margin: 16px 0 10px;
}

.sales-pdf-evidence summary:focus-visible {
    outline: 3px solid #1d65a6;
    outline-offset: 4px;
}

.sales-fact-list {
    display: grid;
    gap: 8px;
    margin: 0 0 14px;
}

.sales-fact-list > div {
    display: grid;
    grid-template-columns: minmax(90px, 1fr) minmax(0, 2fr);
    column-gap: 12px;
    border-bottom: 1px solid var(--sales-line);
    padding-bottom: 8px;
}

.sales-fact-list dt,
.sales-fact-list dd {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.sales-fact-list dt {
    font-weight: 700;
}

.sales-product-facts .sales-evidence-note,
.sales-evidence-note {
    color: var(--sales-muted, #4c5d70);
    font-size: 12px;
    line-height: 1.55;
}

.sales-book-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.sales-book-tools button {
    background: #fff;
    border: 1px solid #8091a3;
    border-radius: 6px;
    color: var(--np-ink-accent, #17324f);
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    min-height: 44px;
    padding: 8px 12px;
}

.sales-book-tools button[aria-pressed="true"] {
    background: var(--np-ink-accent, #17324f);
    border-color: var(--np-ink-accent, #17324f);
    color: #fff;
}

.sales-text-button {
    background: none;
    border: 0;
    color: var(--np-ink-accent, #17324f);
    cursor: pointer;
    font: inherit;
    min-height: 44px;
    padding: 6px 0;
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sales-purchase-guidance {
    border-top: 1px solid var(--np-border-strong, #d9e1e8);
    font-size: 13px;
    line-height: 1.6;
    margin-top: 16px;
    padding-top: 16px;
}

.sales-purchase-guidance a,
.sales-bundle a,
.sales-cart-suggestion a {
    color: var(--np-ink-accent, #17324f);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sales-bundle {
    border-top: 2px solid var(--sales-line);
    margin-top: 24px;
    padding-top: 24px;
}

.sales-bundle-heading {
    display: grid;
    grid-template-columns: minmax(100px, 160px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    margin-bottom: 24px;
}

.sales-bundle-cover img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
}

.sales-bundle-heading h3 {
    font-size: 22px;
    line-height: 1.35;
    margin: 0 0 12px;
}

.sales-bundle-savings,
.sales-current-book {
    color: #137333;
    font-weight: 700;
}

.sales-member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 195px), 1fr));
    gap: 20px;
}

.sales-member {
    min-width: 0;
    padding: 16px;
    background: var(--sales-paper);
    border: 1px solid var(--sales-line);
}

.sales-member-link {
    display: block;
}

.sales-member-link img {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: contain;
    margin-bottom: 16px;
}

.sales-member h4 {
    font-family: inherit;
    font-size: 16px;
    line-height: 1.45;
    margin: 0;
}

.sales-overlap-note {
    border-left: 3px solid var(--np-gold-strong, #f0b14b);
    padding-left: 14px;
}

.sales-cart-suggestion {
    border: 1px solid var(--sales-line);
    background: var(--sales-paper);
    margin: 20px 0;
    padding: 20px;
}

.sales-cart-suggestion img {
    width: 90px;
    height: 120px;
    object-fit: contain;
}

.sales-cart-suggestion h2 {
    font-family: inherit;
    font-size: 20px;
}

.sales-book-tools button:focus-visible,
.sales-text-button:focus-visible,
.sales-product-facts a:focus-visible,
.sales-purchase-guidance a:focus-visible,
.sales-bundle a:focus-visible,
.sales-cart-suggestion a:focus-visible {
    outline: 3px solid #1d65a6;
    outline-offset: 4px;
}

#new-product-sample-modal .new-product-sample-modal-shell {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    overflow: auto;
}

#new-product-sample-modal .new-product-sample-toolbar {
    align-items: start;
    display: grid;
    flex-shrink: 0;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr);
    padding-right: 0;
}

.sales-sample-toolbar-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
}

#new-product-sample-modal .sales-sample-close {
    align-items: center;
    background: #17324f;
    border: 2px solid #17324f;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    flex-shrink: 0;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    gap: 8px;
    justify-content: center;
    line-height: 1.2;
    min-height: 44px;
    min-width: 96px;
    padding: 8px 12px;
    position: static;
}

.sales-sample-close span {
    font-size: 24px;
    line-height: 1;
}

#new-product-sample-modal .sales-sample-toolbar-actions a,
.sales-sample-fallback a {
    align-items: center;
    display: inline-flex;
    min-height: 44px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sales-sample-close:focus-visible,
.sales-sample-toolbar-actions a:focus-visible,
.sales-sample-fallback a:focus-visible {
    outline: 3px solid #1d65a6;
    outline-offset: 4px;
}

.sales-sample-help,
.sales-sample-fallback {
    color: #17324f;
    flex-shrink: 0;
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.sales-sample-help {
    margin: 0 0 12px;
}

.sales-sample-fallback {
    background: #f4f8fb;
    border: 1px solid #8091a3;
    border-radius: 8px;
    padding: 20px;
}

.sales-sample-fallback h2 {
    font: inherit;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px;
}

.sales-sample-fallback p {
    margin: 0 0 12px;
}

#new-product-sample-modal .new-product-sample-frame {
    flex-shrink: 1;
    min-height: 160px;
}

#new-product-sample-modal .new-product-sample-frame[hidden],
.sales-sample-fallback[hidden] {
    display: none;
}

@media (max-width: 540px) {
    .sales-bundle-heading {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .sales-bundle-cover {
        max-width: 150px;
    }

    .sales-product-facts {
        padding: 14px;
    }

    .sales-fact-list > div {
        grid-template-columns: minmax(0, 1fr);
        gap: 3px;
    }
}
