/* Category chapters, featured products, and JINK support. */
@media (min-width: 1001px) {
    [data-local-series-layout] {
        --series-desktop-width: min(1960px, calc(100% - clamp(64px, 7.4vw, 160px)));
        --series-rail-extension: max(0px, calc(max(clamp(32px, 3.7vw, 80px), 50vw - 980px) - 20px));
    }
    [data-local-series-layout] :is(.catalog-intro, .catalog-browse, .series-chapters,
        .series-spotlight, .series-collections, .series-disclosure, .series-link-row).wrap,
    [data-local-series-layout] #catalog-results.wrap,
    [data-local-series-layout] .network-wrap {
        width: var(--series-desktop-width);
    }
    [data-local-series-layout] .network-wrap { max-width: none; padding-inline: 0; }
    [data-local-series-layout] .network-wrap > .series-chapters.wrap { width: 100%; }
    [data-local-series-layout] .spotlight-track,
    [data-local-series-layout] [data-series-lineup="featured"] [data-featured-lineup-grid] {
        width: calc(100% + var(--series-rail-extension));
    }
}
[data-local-series-layout] .catalog-quick-types { display: none; }
.series-chapters {
    margin-block: 2px 24px;
    color: #1d1d1f;
}
.network-wrap > .series-chapters {
    width: 100%;
    margin-inline: 0;
}
.series-chapter-rail,
.benefits-rail,
[data-series-lineup="featured"] [data-featured-lineup-grid] {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 4px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    scrollbar-color: #b4b4ba transparent;
    gap: 16px;
    padding: 4px 4px 9px;
}
.series-chapter-rail { grid-auto-columns: clamp(112px, 11.5vw, 158px); }
.series-chapter-rail > a {
    display: grid;
    align-content: start;
    gap: 9px;
    padding: 0;
    min-width: 0;
    scroll-snap-align: start;
    color: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    text-align: center;
    text-decoration: none;
}
.series-chapter-rail > a:hover { color: #0066cc; }
[data-local-series-layout] .catalog-grid .product-image-frame { background: #fff; }
[data-local-series-layout] img[data-catalog-art-padding] { clip-path: inset(0 12%); }
[data-local-series-layout] .catalog-grid .product-card .product-image-frame > img[data-catalog-cutout] {
    inset: 7%;
    width: 86%;
    height: 86%;
    object-fit: contain;
}
.series-chapter-art {
    display: grid;
    place-items: center;
    box-sizing: border-box;
    height: 92px;
    padding: 8px;
    overflow: hidden;
    border-radius: 18px;
    background: #f5f5f7;
}
.series-chapter-art img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 220ms ease-out;
}
.series-chapter-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.series-chapter-actions { padding-top: 9px; justify-content: flex-end; }
.series-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    color: #0066cc;
    font-size: 14px;
    text-decoration: none;
}
.series-inline-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.series-inline-link i {
    width: 6px;
    height: 6px;
    border: solid currentColor;
    border-width: 1.7px 1.7px 0 0;
    transform: rotate(45deg);
    flex: 0 0 6px;
}
[data-product-rail-controls] {
    display: flex;
    justify-content: flex-start;
    flex: 0 0 auto;
    gap: 8px;
}
[data-product-rail-controls][hidden],
[data-lineup-toggle][hidden],
.spotlight-controls[hidden] { display: none; }
[data-product-rail-step] {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #e8e8ed;
    color: #1d1d1f;
    cursor: pointer;
}
[data-product-rail-step]::before {
    content: "";
    width: 7px;
    height: 7px;
    border: solid currentColor;
    border-width: 1.7px 1.7px 0 0;
    transform: rotate(45deg);
}
[data-product-rail-step="-1"]::before { transform: rotate(-135deg); }
[data-product-rail-step]:disabled { opacity: .36; cursor: default; }
[data-product-rail-step]:hover:not(:disabled) { background: #dcdce2; }
.series-chapters :focus-visible, .series-spotlight :focus-visible,
.buy-benefits :focus-visible, [data-series-lineup] :focus-visible {
    outline: 2px solid #0071e3;
    outline-offset: 2px;
}
.series-spotlight {
    margin-block: clamp(24px, 3vw, 48px) clamp(36px, 6vw, 88px);
    color: #1d1d1f;
}
.spotlight-track {
    position: relative;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 89%;
    gap: clamp(12px, 1.6vw, 24px);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    border-radius: 28px;
}
.spotlight-track:has(> :only-child) { grid-auto-columns: 100%; }
.spotlight-track:focus-visible,
.spotlight-track :focus-visible { outline-offset: -3px; }
.spotlight-controls, .spotlight-dots, .spotlight-actions {
    display: flex;
    align-items: center;
}
.spotlight-controls { justify-content: center; gap: 12px; margin-top: 17px; }
.spotlight-dots { gap: 2px; background: #eef0f2; border-radius: 24px; padding-inline: 8px; }
.spotlight-dots:has(button:only-child) { display: none; }
.spotlight-dots button, .spotlight-play {
    min-height: 44px;
    display: grid;
    place-items: center;
    padding: 0 6px;
    border: 0;
    background: transparent;
    color: #1d1d1f;
    cursor: pointer;
}
.spotlight-dots button { min-width: 36px; }
.spotlight-dots button span {
    position: relative;
    width: 7px;
    height: 7px;
    overflow: hidden;
    border-radius: 6px;
    background: #8d8d94;
    transition: width 220ms cubic-bezier(.2,.7,.35,1), background-color 200ms ease;
}
.spotlight-dots button[aria-pressed="true"] span { width: 24px; background: #182731; }
[data-spotlight-started] .spotlight-dots button[aria-pressed="true"] span { background: #aeb6be; }
[data-spotlight-started] .spotlight-dots button[aria-pressed="true"] span::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: #182731;
    transform: scaleX(var(--spotlight-progress, 0));
    transform-origin: left;
}
.spotlight-play { width: 44px; background: #eef0f2; border-radius: 50%; }
.spotlight-play span { width: 0; height: 0; border: 6px solid transparent; border-left: 9px solid currentColor; border-right: 0; }
.spotlight-play[aria-pressed="true"] span { width: 8px; height: 11px; border: solid currentColor; border-width: 0 2px; }
.spotlight-play:disabled { opacity: .35; cursor: default; }
.spotlight-slide {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.24fr);
    align-items: center;
    overflow: hidden;
    min-height: clamp(340px, 37vw, 575px);
    border-radius: 28px;
    background: radial-gradient(ellipse at 79% 33%, #fff 2%, #e8edf2 67%, #e1e9ef 100%);
    scroll-snap-align: start;
}
.spotlight-slide:nth-child(even) {
    background: radial-gradient(ellipse at 78% 33%, #fff 2%, #f1eae0 68%, #ede3d9 100%);
}
.spotlight-slide:last-child { scroll-snap-align: end; }
.spotlight-copy {
    padding: clamp(22px, 4.6vw, 68px);
    transition: opacity 320ms ease-out, transform 380ms cubic-bezier(.2,.7,.35,1);
}
[data-spotlight-entered] [data-spotlight-slide]:not([data-spotlight-current]) .spotlight-copy {
    opacity: .82;
    transform: translateY(5px);
}
.spotlight-copy h2 {
    margin: 0;
    font-size: clamp(30px, 4.1vw, 68px);
    line-height: 1.06;
    letter-spacing: -.035em;
    text-wrap: balance;
}
.spotlight-description { margin: 14px 0 0; font-size: clamp(15px, 1.4vw, 21px); color: #4e5964; }
.spotlight-actions { gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.spotlight-actions > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding-inline: 19px;
    border: 1px solid #182731;
    border-radius: 10px;
    color: #182731;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}
.spotlight-actions .spotlight-details { background: #182731; color: #fff; }
.spotlight-actions > a:hover { box-shadow: 0 0 0 1px #182731; }
.spotlight-art {
    display: grid;
    place-items: center;
    margin-inline: 0 clamp(12px, 2vw, 32px);
    height: clamp(324px, 35vw, 550px);
    overflow: hidden;
    mix-blend-mode: multiply;
}
.spotlight-art img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
    transition: transform 220ms ease-out;
}
.spotlight-slide[data-spotlight-theme="lock-pro"] {
    color: #f5f5f7;
    background: radial-gradient(ellipse at var(--lock-pro-light, 74% 48%), #34363b 0%, #191a1e 44%, #0c0c0e 79%);
}
[data-spotlight-theme="lock-pro"] .spotlight-description { color: #cacbd0; }
[data-spotlight-theme="lock-pro"] .spotlight-actions > a {
    border-color: #bfc0c6;
    color: #f5f5f7;
}
[data-spotlight-theme="lock-pro"] .spotlight-actions .spotlight-details {
    background: #f5f5f7;
    border-color: #f5f5f7;
    color: #141416;
}
[data-spotlight-theme="lock-pro"] .spotlight-actions > a:hover {
    box-shadow: 0 0 0 1px #f5f5f7;
}
[data-spotlight-theme="lock-pro"] .spotlight-art { mix-blend-mode: normal; }
[data-spotlight-theme="lock-pro"] .spotlight-art img { width: auto; height: 90%; max-width: 100%; }
[data-spotlight-started] [data-spotlight-current] .spotlight-art img {
    transform: translateY(calc(-5px * var(--spotlight-progress, 0))) scale(calc(1 + .038 * var(--spotlight-progress, 0)));
}
[data-spotlight-playing] [data-spotlight-current] .spotlight-art img { transition: none; }
[data-spotlight-arrival] .spotlight-copy {
    animation: spotlight-copy-in 480ms cubic-bezier(.2,.7,.35,1);
}
[data-spotlight-arrival] .spotlight-art {
    animation: spotlight-art-in 620ms cubic-bezier(.2,.7,.35,1);
}
@keyframes spotlight-copy-in {
    from { opacity: .65; transform: translateY(12px); }
}
@keyframes spotlight-art-in {
    from { opacity: .78; transform: translateY(10px) scale(.984); }
}
[data-series-lineup="featured"] [data-featured-lineup-grid] {
    grid-auto-columns: 33%;
    align-items: stretch;
}
[data-series-lineup="featured"] [data-featured-lineup-grid] > .product-card {
    scroll-snap-align: start;
    min-width: 0;
    background: #fff;
}
[data-series-lineup="featured"] [data-featured-lineup-grid] .product-option-dots {
    gap: 8px;
    margin-block: 0 12px;
    pointer-events: auto;
}
[data-series-lineup="featured"] [data-featured-lineup-grid] .product-option-dot {
    width: 11px;
    height: 11px;
    box-shadow: 0 0 0 1px #a6afb6;
}
[data-series-lineup="featured"] [data-featured-lineup-grid] > :not([data-series-featured]),
[data-series-lineup="featured"] [data-catalog-count],
[data-series-lineup="featured"] .catalog-search,
[data-series-lineup="featured"] .product-category-filters,
[data-series-lineup="featured"] .product-filter-bar,
[data-series-lineup="featured"] [data-catalog-filters],
[data-series-lineup="featured"] .catalog-heading p { display: none !important; }
[data-series-lineup="featured"] [data-featured-lineup-grid] > [data-series-featured]:last-of-type { scroll-snap-align: end; }
.lineup-actions { display: flex; justify-content: flex-end; margin-block: 0 14px; }
[data-lineup-toggle] {
    border: 0;
    min-height: 40px;
    padding: 0 14px;
    background: #e7edf6;
    border-radius: 100px;
    color: #005bb6;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
}
[data-featured-lineup-grid] + [data-product-rail-controls] { margin-top: 10px; }
.series-card--network { color: #1d1d1f; background: #eeeff2; }
.series-card--network img { object-fit: contain; padding: 12px 22px 54px; mix-blend-mode: multiply; }
.buy-benefits {
    --benefits-inset: max(24px, calc((100% - 1260px) / 2));
    background: #f6f6f8;
    color: #1d1d1f;
    padding-block: clamp(44px, 5vw, 82px);
    scroll-margin-top: 76px;
}
.benefits-heading, .benefits-actions { margin-inline: var(--benefits-inset); }
.benefits-heading { margin-bottom: clamp(24px, 3vw, 50px); }
.benefits-heading h2 {
    font-size: clamp(28px, 3.4vw, 46px);
    line-height: 1.16;
    letter-spacing: -.028em;
    margin: 0;
}
.benefits-rail {
    box-sizing: border-box;
    grid-auto-columns: clamp(310px, 26vw, 370px);
    gap: 18px;
    padding-inline: var(--benefits-inset);
    scroll-padding-inline: var(--benefits-inset);
    scrollbar-width: none;
}
.benefits-actions { display: flex; justify-content: flex-end; margin-top: 16px; }
.benefits-actions:has([hidden]) { display: none; }
.buy-benefit {
    position: relative;
    min-width: 0;
    min-height: 492px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    scroll-snap-align: start;
}
.buy-benefit:last-child { scroll-snap-align: end; }
.benefit-copy { padding: 27px 26px 16px; flex: 1; }
.buy-benefit .benefit-category { font-size: 14px; font-weight: 650; color: #526777; margin: 0 0 10px; }
.buy-benefit h3 { font-size: clamp(22px, 2vw, 27px); line-height: 1.25; margin: 0 0 12px; letter-spacing: -.021em; }
.buy-benefit p { font-size: 15px; line-height: 1.58; margin: 0; color: #45474b; }
.buy-benefit > img { width: 100%; height: 230px; display: block; object-fit: cover; }
.buy-benefit--expert > img {
    box-sizing: border-box;
    height: 254px;
    object-fit: contain;
    object-position: center bottom;
    padding: 0 8px;
    background: #fff;
}
.benefit-open, .benefit-close {
    position: absolute;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #182731;
    background: #eef2f5;
    cursor: pointer;
    transition: background-color 180ms ease, transform 180ms ease;
}
.benefit-open { inset-inline-end: 16px; inset-block-end: 16px; box-shadow: 0 2px 10px #18273126; }
.benefit-close { inset-inline-end: 16px; inset-block-start: 16px; }
.benefit-open[hidden], .benefit-copy > a[hidden], .benefit-dialog:not([open]) { display: none; }
.benefit-open span, .benefit-close span { position: relative; display: block; width: 18px; height: 18px; }
.benefit-open span::before, .benefit-open span::after,
.benefit-close span::before, .benefit-close span::after {
    position: absolute;
    content: "";
    inset: 8px 0 auto;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}
.benefit-open span::after { transform: rotate(90deg); }
.benefit-close span::before { transform: rotate(45deg); }
.benefit-close span::after { transform: rotate(-45deg); }
.benefit-open:active, .benefit-close:active, .spotlight-play:active { transform: scale(.94); }
.benefit-dialog {
    box-sizing: border-box;
    position: fixed;
    inset: 0;
    width: min(740px, calc(100% - 36px));
    max-height: calc(100dvh - 36px);
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 24px;
    overflow: auto;
    overscroll-behavior: contain;
    color: #192631;
    background: #fff;
    box-shadow: 0 24px 64px #18273135;
}
.benefit-dialog[open] { animation: jink-benefit-in 260ms cubic-bezier(.2,.7,.35,1); }
.benefit-dialog::backdrop { background: #14212b85; backdrop-filter: blur(4px); }
.benefit-dialog[open]::backdrop { animation: jink-benefit-dim 220ms ease-out; }
html:has(.benefit-dialog[open]) { overflow: hidden; scrollbar-gutter: stable; }
.benefit-dialog-inner { position: relative; padding: clamp(68px, 7vw, 88px) clamp(24px, 5vw, 64px) clamp(30px, 5vw, 58px); }
.benefit-dialog-label { color: #526777; font-size: 15px; font-weight: 650; margin: 0 0 12px; }
.benefit-dialog h3 { font-size: clamp(26px, 4vw, 48px); letter-spacing: -.024em; line-height: 1.15; margin: 0 0 20px; }
.benefit-dialog-detail { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.65; color: #3b4c5a; margin: 0 0 14px; }
.benefit-dialog .series-inline-link { font-size: 16px; font-weight: 600; }
@keyframes jink-benefit-in {
    from { opacity: 0; transform: translateY(12px) scale(.99); }
}
@keyframes jink-benefit-dim {
    from { opacity: 0; }
}
@media (hover: hover) and (pointer: fine) {
    .series-chapter-rail > a:hover img { transform: scale(1.04); }
    .benefit-open:hover, .benefit-close:hover { background: #e0e9ef; }
}
@media (max-width: 800px) {
    .spotlight-track, .spotlight-slide { border-radius: 22px; }
    .spotlight-track { grid-auto-columns: 91%; }
    .spotlight-slide { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; min-height: 0; }
    .spotlight-copy { padding: 24px 20px 8px; }
    .spotlight-copy h2 { font-size: clamp(27px, 6.5vw, 44px); }
    .spotlight-actions { margin-top: 16px; }
    .spotlight-art { height: clamp(185px, 58vw, 390px); margin-inline: 12px; }
    [data-spotlight-theme="lock-pro"] {
        --lock-pro-light: 50% 67%;
    }
    [data-spotlight-theme="lock-pro"] .spotlight-art { height: clamp(240px, 65vw, 385px); }
    .series-chapter-rail { grid-auto-columns: 108px; gap: 10px; }
    .series-chapter-art { height: 78px; }
    [data-series-lineup="featured"] [data-featured-lineup-grid] { grid-auto-columns: 79%; }
    .buy-benefits { --benefits-inset: 20px; }
    .benefits-rail { grid-auto-columns: clamp(252px, 78vw, 345px); gap: 12px; }
    .buy-benefit { min-height: 450px; }
    .benefit-copy { padding: 22px 20px 12px; }
    .buy-benefit > img { height: 200px; }
    .buy-benefit--expert > img { height: 222px; }
}
@media (prefers-reduced-motion: reduce) {
    .series-chapter-art img, .spotlight-copy, .spotlight-art img,
    .spotlight-dots button span, .benefit-open, .benefit-close {
        transition: none;
    }
    .series-chapter-rail > a:hover img, .spotlight-art img,
    [data-spotlight-started] [data-spotlight-current] .spotlight-art img,
    [data-spotlight-entered] [data-spotlight-slide]:not([data-spotlight-current]) .spotlight-copy,
    .benefit-open:active, .benefit-close:active, .spotlight-play:active { transform: none; }
    [data-spotlight-arrival] .spotlight-copy, [data-spotlight-arrival] .spotlight-art,
    .benefit-dialog[open], .benefit-dialog[open]::backdrop { animation: none; }
}

.benefit-packaging-art {
    position: relative;
    height: 230px;
    overflow: hidden;
    background: #fff;
}
.benefit-packaging-art img {
    position: absolute;
    width: 218%;
    max-width: none;
    height: auto;
    left: -6%;
    top: 50%;
    transform: translateY(-50%);
}
.benefit-dialog .benefit-packaging-art {
    height: clamp(180px, 35vw, 290px);
    margin-top: 12px;
    background: #fafafa;
    border-radius: 16px;
}
.benefit-dialog .benefit-packaging-art img {
    width: min(218%, 1050px);
    left: 50%;
    transform: translate(-24%, -50%);
}
@media (max-width: 800px) {
    .benefit-packaging-art { height: 200px; }
}
