.sp-category-hero {
    display: grid;
    background: #152631;
    color: #fff;
    margin: 0 0 clamp(30px, 4vw, 80px);
    overflow: hidden;
}
.sp-category-hero--image {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
}
.sp-category-hero__copy {
    align-self: center;
    padding: clamp(32px, 5vw, 120px) max(24px, 5vw);
}
.sp-category-hero:not(.sp-category-hero--image) .sp-category-hero__copy {
    width: min(100%, 1600px);
    margin-inline: auto;
}
.sp-category-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 4.1vw, 92px);
    font-weight: 850;
    line-height: 1.03;
    letter-spacing: -.047em;
    overflow-wrap: anywhere;
    text-wrap: balance;
}
.sp-category-hero__copy p {
    max-width: 39ch;
    margin: 22px 0 0;
    color: #e2eff5;
    font-size: clamp(19px, 1.55vw, 32px);
    line-height: 1.48;
}
.sp-category-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 27px;
    padding: 12px 22px;
    color: #fff;
    background: #006a91;
    border: 1px solid #67cbea;
    border-radius: 9px;
    font-size: clamp(17px, 1.12vw, 21px);
    font-weight: 700;
    text-decoration: none;
}
.sp-category-button:hover { background: #005672; }
.sp-category-hero__figure {
    position: relative;
    display: grid;
    margin: 0;
    min-width: 0;
    min-height: clamp(320px, 29vw, 720px);
    background: #e8f1f5;
    overflow: hidden;
}
.sp-category-hero__figure img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sp-category-hero--product .sp-category-hero__figure img {
    object-fit: contain;
    padding: clamp(20px, 4vw, 64px);
}
.sp-category-hero__figure figcaption {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 6px 11px;
    border-radius: 6px;
    color: #fff;
    background: #152631ed;
    font-size: 14px;
}
.sp-category-listing { scroll-margin-top: calc(var(--header-height, 110px) + 16px); }
.sp-category-listing .category-description {
    font-size: clamp(18px, 1.14vw, 24px) !important;
    color: var(--text-primary) !important;
    line-height: 1.65 !important;
}
.sp-category-listing aside a { font-size: 16px !important; overflow-wrap: anywhere; }
.sp-category-guidance {
    margin-top: clamp(42px, 5vw, 92px);
    padding: clamp(22px, 4vw, 64px);
    background: var(--bg-card, #fff);
    border: 1px solid var(--border, #dbe5ea);
    border-radius: 18px;
}
.sp-category-guidance h2, .sp-category-children h2 {
    margin: 0 0 20px;
    font-size: clamp(26px, 2.4vw, 52px);
    font-weight: 780;
    letter-spacing: -.035em;
    line-height: 1.15;
}
.sp-category-faq details { border-top: 1px solid var(--border, #dbe5ea); }
.sp-category-faq summary {
    padding: 17px 0;
    color: var(--text-primary, #172830);
    cursor: pointer;
    font-weight: 700;
    font-size: clamp(18px, 1.32vw, 26px);
}
.sp-category-faq details p {
    max-width: 68ch;
    margin: 0 0 20px;
    color: var(--text-secondary, #314751);
    font-size: clamp(18px, 1.12vw, 22px);
    line-height: 1.58;
}
.sp-category-related { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; }
.sp-category-related a { color: var(--text-primary); font-size: 17px; font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
.sp-category-children { margin: 0 0 34px; scroll-margin-top: calc(var(--header-height, 110px) + 16px); }
.sp-category-children > ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 14px; padding: 0; list-style: none; }
.sp-category-children > ul a {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 12px;
    min-height: 73px;
    border-radius: 12px;
    border: 1px solid var(--border, #dbe5ea);
    background: var(--bg-card, #fff);
    color: var(--text-primary, #182a35);
    font-size: clamp(17px, 1.12vw, 21px);
    font-weight: 700;
    overflow-wrap: anywhere;
}
.sp-category-children > ul a:hover { border-color: #0099c3; }
.sp-category-children > ul img {
    width: 74px;
    height: 60px;
    padding: 4px;
    object-fit: contain;
    border-radius: 6px;
    background: #eef4f6;
    flex: none;
}
.sp-category-children > ul a span {
    min-width: 0;
    hyphens: auto;
}
.sp-category-hero a:focus-visible, .sp-category-listing a:focus-visible, .sp-category-faq summary:focus-visible {
    outline: 3px solid #0099c3;
    outline-offset: 4px;
}
@media (max-width: 760px) {
    .sp-category-hero--image { grid-template-columns: minmax(0, 1fr); }
    .sp-category-hero__figure { min-height: clamp(210px, 58vw, 360px); }
}
@media (prefers-reduced-motion: no-preference) {
    .sp-category-hero__copy {
        position: relative;
    }

    .sp-category-hero__copy::before {
        content: "";
        position: absolute;
        inset-inline: max(24px, 5vw);
        inset-block-end: clamp(14px, 2.5vw, 50px);
        height: 2px;
        background: linear-gradient(90deg, #18c7f4, #75dcf6 42%, transparent 94%);
        box-shadow: 0 0 10px rgba(24, 199, 244, .2);
        pointer-events: none;
        animation: sp-category-light-trace 4.6s ease-out both;
    }

    .sp-category-hero__figure::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(105deg, transparent 35%, rgba(220, 247, 255, .26) 48%, rgba(248, 253, 255, .37) 52%, transparent 68%);
        animation: sp-category-light-sweep 4.6s cubic-bezier(.18, .42, .36, 1) both;
    }

    .sp-category-hero__figure figcaption {
        z-index: 1;
    }

    @keyframes sp-category-light-trace {
        0% { clip-path: inset(0 100% 0 0); opacity: 0; }
        17% { opacity: .9; }
        49% { clip-path: inset(0 0 0 0); opacity: .8; }
        100% { clip-path: inset(0 0 0 0); opacity: .32; }
    }

    @keyframes sp-category-light-sweep {
        0% { transform: translateX(-100%); opacity: 0; }
        14% { opacity: .75; }
        72% { opacity: .75; }
        100% { transform: translateX(100%); opacity: 0; }
    }
}
.sp-category-offers { scroll-margin-top: calc(var(--header-height, 110px) + 16px); }
.sp-category-overview-intro { max-width: 1080px; margin: 0 auto 40px; padding-inline: 24px; font-size: clamp(18px, 1.22vw, 25px); line-height: 1.6; }
.sp-category-overview-intro p + p { margin-top: 14px; }
.sp-category-overview { max-width: 1440px; padding-block: 14px clamp(48px, 7vw, 105px); }
.sp-category-overview__card h2 { font-size: clamp(20px, 1.35vw, 27px) !important; }
.sp-category-overview__card > div:last-child > span { font-size: 16px !important; }
@media (prefers-reduced-motion: reduce) {
    .sp-category-overview__card { transform: none !important; transition: none !important; }
}
.sp-category-listing nav[aria-label="Breadcrumb"] ol { font-size: 15px !important; }
.sp-category-listing .apple-card .apple-card-body { padding-inline: clamp(15px, 1.2vw, 24px); }
.sp-category-listing .apple-card .apple-card-title {
    font-size: clamp(17px, 1vw, 21px);
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.sp-category-listing .apple-card .apple-card-btn-primary { font-size: 16px; }


.sp-category-hero__copy--fit-title {
    container-type: inline-size;
}
.sp-category-hero__copy--fit-title h1 {
    font-size: clamp(30px, 3.35vw, 92px);
    font-size: clamp(30px, 9.8cqi, 92px);
    text-wrap: wrap;
}
