.wh-section, #products.products {
    --wh-surface: #f5f5f7;
    --wh-ink: #1d1d1f;
    --wh-muted: #595960;
    background: var(--wh-surface);
    color: var(--wh-ink);
    font-family: var(--font-body);
}
.wh-section { overflow: clip; }
.wh-section, #products.products { scroll-margin-top: 90px; }
.wh-section [hidden] { display: none !important; }
.wh-heading { padding: clamp(38px,5vw,70px) 20px 32px; text-align: center; }
.wh-kicker { color: var(--accent); font-weight: 600; font-size: clamp(.8125rem,1.05vw,.875rem); letter-spacing: .014em; }
.wh-heading h2 { margin: 5px 0 0; font-size: clamp(2.125rem,3.45vw,3rem); line-height: 1.15; letter-spacing: -.045em; color: var(--wh-ink); }
.wh-gallery { --wh-gap: clamp(10px,1.15vw,18px); max-width: 1600px; margin: 0 auto; padding-inline: clamp(10px,1.35vw,24px); display: grid; gap: var(--wh-gap); scroll-margin-top: 98px; }
.wh-row { display: flex; gap: var(--wh-gap); overflow-x: auto; overscroll-behavior-x: contain; scroll-behavior: auto; overflow-anchor: none; container-type: inline-size; min-width: 0; }
.wh-running .wh-row { scrollbar-width: none; mask-image: linear-gradient(to right, transparent, black 14px, black calc(100% - 14px), transparent); }
.wh-running .wh-row::-webkit-scrollbar { display: none; }
.wh-cards { display: flex; flex: none; gap: var(--wh-gap); margin: 0; padding: 0; list-style: none; }
.wh-card { flex: none; width: clamp(172px,calc((100cqw - 5 * var(--wh-gap)) / 6),264px); border: 1px solid #d9d9de; border-radius: 17px; background: var(--wh-surface); overflow: hidden; }
.wh-open { display: flex; flex-direction: column; height: 100%; color: var(--wh-ink); }
.wh-card-image { aspect-ratio: 1.95; overflow: hidden; }
.wh-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.wh-card-text { padding: 11px clamp(12px,1.1vw,18px) 15px; }
.wh-card h3 { color: var(--wh-ink); font-size: clamp(1.01rem,1.23vw,1.23rem); font-weight: 650; line-height: 1.35; letter-spacing: -.025em; }
.wh-card-tag { color: var(--wh-muted); font-size: .825rem; letter-spacing: .01em; font-weight: 520; line-height: 1.45; }
.wh-card .wh-card-tag { margin-top: 3px; }
.wh-controls { display: flex; justify-content: center; align-items: center; gap: 12px; padding-block: 26px clamp(36px,4.6vw,64px); }
.wh-primary, .wh-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; line-height: 1.3; font-size: .94rem; font-weight: 550; }
.wh-primary { border-radius: 99px; padding: 0 20px; }
.wh-primary { color: white; background: var(--accent); }
.wh-secondary { color: #0066bb; text-underline-offset: 4px; }
.wh-section :is(a,button):focus-visible { outline: 3px solid #0071e3; outline-offset: 2px; }
.wh-open:focus-visible { outline-offset: -4px !important; border-radius: 16px; }
.wh-close { border-radius: 50%; background: #e5e5e9; color: #353539; }
.wh-close::before, .wh-close::after { content: ''; position: absolute; height: 1.6px; background: currentColor; left: 50%; top: 50%; }
.wh-view-switch button { color: var(--wh-muted); padding: 0 14px; font-size: .91rem; border-radius: 99px; line-height: 1.2; font-weight: 530; }
.wh-view-switch button[aria-pressed="true"] { color: white; background: var(--wh-ink); }
.wh-modal-open { overflow: hidden; }
.wh-dialog { position: fixed; inset: 0; margin: auto; padding: 0; border: 0; border-radius: 25px; width: min(620px,calc(100vw - 32px)); max-height: calc(100dvh - 34px); overscroll-behavior: contain; box-shadow: 0 20px 80px #16161b30; }
.wh-dialog::backdrop { background: rgb(20 21 27 / .45); }
.wh-dialog-body { position: relative; }
.wh-close { position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; z-index: 1; }
.wh-close::before { width: 15px; transform: translate(-50%,-50%) rotate(45deg); }
.wh-close::after { width: 15px; transform: translate(-50%,-50%) rotate(-45deg); }
.wh-view { height: clamp(170px,35dvh,325px); overflow: hidden; }
.wh-view img { width: 100%; height: 100%; object-fit: contain; }
.wh-dialog-info { padding: 0 30px 23px; }
.wh-view-switch { display: flex; justify-content: center; gap: 3px; margin: 8px 0 19px; }
.wh-view-switch button { min-height: 38px; }
.wh-dialog h3 { font-size: clamp(1.5rem,3vw,2rem); letter-spacing: -.045em; color: var(--wh-ink); margin-top: 5px; }
.wh-desc { margin: 8px 0; color: #48484e; font-size: 1rem; line-height: 1.65; }
@media (hover:hover) {
    .wh-open:hover .wh-card-image img { transform: scale(1.035); }
    .wh-open:hover h3, .wh-secondary:hover { text-decoration: underline; text-underline-offset: 3px; }
    .wh-view-switch button[aria-pressed="false"]:hover { background: #e8e8ec; }
    .wh-primary:hover { background: var(--accent-hover); }
    .wh-close:hover { color: white; background: #414146; }
}
@media (min-width: 769px) and (max-width: 1080px) {
    .wh-section, .wh-gallery, #products.products { scroll-margin-top: 130px; }
}
@media (max-width: 768px) {
    .wh-section, .wh-gallery, #products.products { scroll-margin-top: 6px; }
    .wh-heading { padding-bottom: 23px; }
    .wh-card { border-radius: 14px; }
    .wh-card-text { padding: 9px 12px 12px; }
    .wh-controls { padding-top: 22px; }
    .wh-dialog-info { padding: 0 21px 17px; }
}
@media (max-width: 640px) {
    .wh-controls .wh-primary {
        width: 100%;
        min-height: 48px;
        padding: 12px 20px;
        font-size: 1rem;
        line-height: 1.6;
        font-weight: 500;
        text-align: center;
    }
}
@media (prefers-reduced-motion:reduce) {
    .wh-section *, .wh-dialog * { transition: none !important; }
}

#products.products { padding-top: 0; }
