/* Shared editorial layout for SUNSON product details. */
.sunson-product-page .product-manual {
    --manual-ink: #18323e;
    --manual-muted: #476171;
    --manual-paper: #fafbfc;
    --manual-pale: #f0f5f8;
    --manual-mist: #e4edf3;
    --manual-line: #cbd8e2;
    --manual-dark: #263c4a;
    --manual-dark-soft: #c8d8e3;
    --manual-dark-ink: #f4f8fb;
    --manual-accent: #9b442f;
    --manual-sticky: 55px;
    --manual-space: clamp(31px, 5vw, 74px);
    --manual-width: min(1224px, calc(100% - clamp(44px, 9vw, 124px)));
    background: var(--manual-paper);
    color: var(--manual-ink);
    font-size: 15px;
    line-height: 1.55;
}
.product-manual__layout { width: var(--manual-width); margin-inline: auto; }
.product-manual :is(figure,dl,dd,p,h1,h2,h3) { margin: 0; }
.product-manual :is(h1,h2,h3) {
    color: inherit;
    line-height: 1.12;
    font-weight: 560;
    letter-spacing: -.038em;
    text-wrap: balance;
}
.product-manual .manual-main h2 { font-size: clamp(28px, 3.35vw, 46px); }
.product-manual a { color: inherit; text-underline-offset: .28em; text-decoration-thickness: 1px; }
.product-manual a:focus-visible, .product-manual button:focus-visible { outline-offset: 4px; }
.product-manual [id] { scroll-margin-top: calc(var(--manual-sticky) + 68px); }
.product-manual :is(.manual-hero,.manual-panel--application,.manual-support) {
    position: relative;
    isolation: isolate;
    background: var(--manual-section);
}
.product-manual :is(.manual-hero,.manual-panel--application,.manual-support)::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    box-shadow: 0 0 0 100vmax var(--manual-section);
    clip-path: inset(0 -100vmax);
    pointer-events: none;
}

/* A human-readable name leads every model. */
.manual-modelstrip {
    display: grid;
    grid-template-columns: max-content minmax(0,1fr);
    align-items: center;
    gap: 20px;
    padding-block: 12px;
}
.product-manual .manual-modelstrip p {
    color: var(--manual-muted);
    font-size: 13px;
    line-height: 1.35;
    font-weight: 600;
}
.manual-models {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0,1fr);
    gap: 4px;
    border-bottom: 1px solid var(--manual-line);
}
.manual-models button {
    display: grid;
    align-content: start;
    gap: 2px;
    min-width: 0;
    min-height: 53px;
    padding: 7px 10px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: var(--manual-ink);
    font: inherit;
    text-align: left;
    cursor: pointer;
}
.manual-models button:hover { background: var(--manual-pale); }
.manual-models button[aria-pressed="true"] { border-color: #3b677e; background: var(--manual-mist); }
.manual-models strong { font-size: 14px; line-height: 1.22; overflow-wrap: anywhere; }
.manual-models span { color: var(--manual-muted); font-size: 12px; line-height: 1.3; }
.manual-hero {
    --manual-section: var(--manual-dark);
    display: grid;
    grid-template-columns: minmax(0,1.06fr) minmax(0,.94fr);
    align-items: center;
    gap: clamp(22px, 5.5vw, 82px);
    padding-block: clamp(24px, 3.9vw, 55px);
}
.manual-hero__copy {
    min-width: 0;
    color: var(--manual-dark-ink);
}
.product-manual .manual-hero__copy #product-title {
    color: inherit;
    font-size: clamp(40px, 5.1vw, 78px);
    letter-spacing: -.057em;
    line-height: 1.03;
    margin-block: 10px 0;
    overflow-wrap: anywhere;
}
.manual-hero__category { color: var(--manual-dark-soft); font-size: 13px; font-weight: 600; }
.product-manual .manual-hero__reference {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0 8px;
    margin-top: 12px;
    color: var(--manual-dark-soft);
    font-size: 13px;
}
.manual-hero__reference strong { color: var(--manual-dark-ink); font-weight: 650; }
.product-manual .manual-hero__lead { max-width: 49ch; margin-top: 15px; color: var(--manual-dark-soft); line-height: 1.55; }
.product-manual .manual-hero__copy a:focus-visible { outline-color: var(--manual-dark-ink); }
.manual-hero__figure {
    min-width: 0;
    border: 1px solid #d9e3eb;
    background: #f5f8fa;
    padding: 12px clamp(13px,2vw,28px) 6px;
}
.manual-hero__figure img {
    display: block;
    width: 100%;
    height: clamp(228px,24vw,348px);
    object-fit: contain;
    mix-blend-mode: multiply;
}
.sunson-product-page .product-manual figcaption.manual-media-note {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 12px;
    margin: 5px 0 0;
    padding: 0;
    color: var(--manual-muted);
    font-size: 12px;
    line-height: 1.4;
}
.manual-media-note > span { flex: 1 1 115px; min-width: 0; }
.manual-media-note button {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: .28em;
    cursor: pointer;
}
.manual-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 18px; margin-top: 20px; font-size: 13px; }
.product-manual .manual-action {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 8px 15px;
    background: var(--manual-accent);
    color: #fcf8f5;
    font-weight: 650;
    text-decoration: none;
}
.product-manual .manual-action:hover { background: #803a29; }
.product-manual .manual-hero .manual-action { box-shadow: inset 0 0 0 1px #d58a75; }

/* Section navigation stays within the product content. */
.manual-toc {
    position: sticky;
    z-index: 2;
    top: var(--manual-sticky);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: var(--manual-paper);
    border-bottom: 1px solid var(--manual-line);
}
.manual-toc a {
    display: grid;
    place-items: center;
    min-height: 49px;
    padding-inline: 5px;
    color: var(--manual-ink);
    font-size: 13px;
    text-align: center;
    text-decoration: none;
}
.manual-toc a:hover { background: var(--manual-pale); text-decoration: underline; }
.manual-toc__compact { display: none; }

/* Clear groups keep long technical values easy to scan. */
.manual-specs { padding-block: var(--manual-space); }
.manual-specs__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 7px 20px;
    margin-bottom: clamp(16px,2.65vw,32px);
}
.manual-specs__head a { color: var(--manual-muted); font-size: 13px; }
.manual-specs__grid {
    display: grid;
    grid-template-columns: minmax(0,.77fr) minmax(0,1.23fr);
    grid-template-rows: max-content 1fr;
    grid-template-areas: "identity properties" "supply properties";
    gap: 12px clamp(16px,2.4vw,34px);
    align-items: start;
}
.manual-specs__grid .dossier__facts--identity { grid-area: identity; }
.manual-specs__grid .dossier__facts--supply { grid-area: supply; }
.manual-specs__grid .dossier__facts--properties { grid-area: properties; }
.manual-specs__grid .dossier__facts {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 1px solid var(--manual-line);
    background: var(--manual-paper);
    color: var(--manual-ink);
}
.manual-specs__grid :is(.dossier__facts--identity,.dossier__facts--supply) { background: var(--manual-pale); }
.manual-specs__grid .dossier__facts h3 {
    padding: 10px 14px;
    background: var(--manual-mist);
    color: var(--manual-ink);
    font-size: 15px;
    font-weight: 650;
    letter-spacing: -.012em;
}
.manual-specs__grid .dossier__facts dl { display: block; }
.manual-specs__grid .dossier__fact {
    display: grid;
    grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr);
    gap: 6px 13px;
    align-items: baseline;
    padding: 7px 14px;
    border-top: 1px solid var(--manual-line);
}
.manual-specs__grid .dossier__fact dt { color: var(--manual-muted); font-size: 13px; line-height: 1.35; }
.manual-specs__grid .dossier__fact dd { margin: 0; font-size: 14px; line-height: 1.4; font-weight: 510; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.product-manual .manual-specs > p { margin-top: 10px; color: var(--manual-muted); font-size: 12px; }

/* One dark application band, then lighter supply and technical support. */
.manual-panel {
    display: grid;
    grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr);
    gap: clamp(16px,4.5vw,62px);
    align-items: center;
    padding-block: var(--manual-space);
}
.manual-panel--application {
    --manual-section: var(--manual-dark);
    color: var(--manual-dark-ink);
}
.manual-panel--application > div { grid-area: 1 / 2; }
.manual-panel--application .manual-figure { grid-area: 1 / 1; }
.product-manual .manual-panel p { margin-top: 10px; color: var(--manual-muted); }
.product-manual .manual-panel--application p { color: var(--manual-dark-soft); }
.product-manual .manual-panel--application a:focus-visible,
.product-manual .manual-panel--application button:focus-visible { outline-color: var(--manual-dark-ink); }
.manual-panel .manual-figure { min-width: 0; }
.manual-figure img {
    display: block;
    width: 100%;
    height: clamp(186px,24vw,310px);
    object-fit: contain;
    background: var(--manual-pale);
}
.manual-panel--application .manual-figure img { background: #324957; }
.sunson-product-page .product-manual .manual-panel--application figcaption.manual-media-note { color: var(--manual-dark-soft); }
.manual-panel--pack { grid-template-columns: minmax(0,1.06fr) minmax(0,.94fr); }
.manual-panel--pack > div:last-child { order: -1; }
.manual-panel--pack .manual-figure img { background: transparent; mix-blend-mode: multiply; }
.manual-steps { display: grid; gap: 9px; margin: 14px 0 0; padding: 0; list-style: none; }
.manual-steps li { padding-top: 8px; border-top: 1px solid #627481; }
.product-manual .manual-steps h3 { font-size: 16px; }
.product-manual .manual-steps p { margin-top: 3px; font-size: 13px; }
.manual-pack-gallery { min-width: 0; }
.manual-pack-options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.manual-pack-options button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 8px;
    border: 1px solid var(--manual-line);
    background: transparent;
    color: var(--manual-ink);
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}
.manual-pack-options button[aria-pressed="true"] { border-color: #315d76; background: var(--manual-mist); }
.manual-pack-options img { width: 38px; height: 38px; object-fit: contain; }
.manual-enzymes { display: flex; flex-wrap: wrap; gap: 6px 15px; margin: 13px 0 0; padding: 0; list-style: none; }
.manual-enzymes li { padding: 6px 0; border-top: 1px solid #8295a3; font-size: 13px; }
.manual-support {
    --manual-section: var(--manual-mist);
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,.9fr);
    gap: 14px clamp(16px,4vw,55px);
    align-items: center;
    padding-block: clamp(30px,4.7vw,60px);
}
.product-manual .manual-support p { grid-column: 1; max-width: 65ch; color: var(--manual-muted); }
.manual-support .manual-actions { grid-area: 1 / 2 / 3; justify-content: flex-end; margin: 0; }
.manual-project {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: clamp(17px,3.5vw,45px);
    padding-block: var(--manual-space);
}
.product-manual .manual-project h2 { font-size: clamp(23px,2.6vw,34px); }
.product-manual .manual-project p { margin: 10px 0; color: var(--manual-muted); }
.manual-project a { font-size: 13px; }
.product-manual .pd234-dialog {
    max-width: min(92vw,980px);
    max-height: 92vh;
    padding: 49px 20px 14px;
    border: 0;
    background: var(--manual-paper);
    color: var(--manual-ink);
}
.product-manual .pd234-dialog::backdrop { background: #14242bd9; }
.product-manual .pd234-dialog img { display: block; max-width: 100%; max-height: 73vh; margin: auto; object-fit: contain; }
.product-manual .pd234-dialog p { margin-top: 9px; font-size: 13px; }
.product-manual .pd234-close { position: absolute; top: 8px; right: 12px; min-height: 36px; padding-inline: 9px; border: 1px solid var(--manual-line); background: var(--manual-pale); color: var(--manual-ink); cursor: pointer; }

@media (max-width: 900px) {
    .sunson-product-page .product-manual { --manual-sticky: 75px; }
}
@media (max-width: 650px) {
    .sunson-product-page .product-manual { --manual-width: calc(100% - 36px); }
    .manual-modelstrip, .manual-hero, .manual-panel, .manual-project, .manual-support { grid-template-columns: minmax(0,1fr); }
    .manual-modelstrip { gap: 6px; }
    .manual-models button { padding-inline: 6px; }
    .manual-models strong { font-size: 13px; }
    .manual-hero__figure img { height: clamp(195px,57vw,275px); }
    .product-manual .manual-hero__copy #product-title { font-size: clamp(37px,9.5vw,55px); }
    .manual-toc a { min-height: 45px; font-size: 12px; }
    .manual-toc__full { display: none; }
    .manual-toc__compact { display: inline; }
    .manual-specs__grid {
        grid-template-columns: minmax(0,1fr);
        grid-template-rows: initial;
        grid-template-areas: "identity" "properties" "supply";
    }
    .manual-specs__grid .dossier__fact { padding-inline: 9px; }
    .manual-panel--application > div, .manual-panel--application .manual-figure { grid-area: auto; }
    .manual-support .manual-actions { grid-area: auto; justify-content: flex-start; }
}

