/* =========================================================
   PRODUCTS PAGE — cleaned + badge exactly like home .sp-cap-icon
   ========================================================= */

/* ---------- HERO ---------- */
.sp-prod-hero {
    position: relative;
    padding: 48px 20px 28px;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--sp-paper);
}

.sp-prod-hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 32px;
    align-items: center;
    padding: 44px 44px 48px;
    border-radius: 28px;
    background: var(--sp-paper);
    border: 1px solid rgba(var(--sp-steel-rgb, 99, 108, 121), 0.26);
    box-shadow: 0 20px 50px rgba(var(--sp-shadow-rgb, 24, 27, 33), .07);
    overflow: hidden;
    z-index: 1;
    transition: box-shadow .3s ease;
}

.sp-prod-hero-text,
.sp-prod-hero-visual {
    position: relative;
    z-index: 2;
}

.sp-prod-hero-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 88px;
    overflow: hidden;
    line-height: 0;
    pointer-events: none;
    z-index: 1;
    border-radius: 0 0 28px 28px;
}

.sp-prod-wave-svg {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 200%;
    height: 100%;
    display: block;
}

.sp-prod-wave-1 {
    animation: sp-wave-seamless 18s linear infinite;
}

.sp-prod-wave-2 {
    animation: sp-wave-seamless 26s linear infinite reverse;
}

@keyframes sp-wave-seamless {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .sp-prod-wave-1,
    .sp-prod-wave-2 {
        animation: none !important;
    }
}

@media (max-width: 900px) {
    .sp-prod-hero-inner {
        grid-template-columns: 1fr;
        padding: 32px 24px 68px;
        text-align: center;
    }

    .sp-prod-hero-wave {
        height: 62px;
    }
}

/* ---------- HERO CONTENT ---------- */
.sp-prod-hero-title.mud-typography {
    font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem) !important;
    font-weight: 800 !important;
    color: var(--sp-ink, #1B1F26) !important;
    margin: 0 0 14px !important;
    line-height: 1.25 !important;
}

.sp-prod-hero-desc.mud-typography {
    font-size: .98rem !important;
    line-height: 1.9 !important;
    color: var(--sp-ink-soft, #596170) !important;
    margin: 0 !important;
    max-width: 460px;
}

.sp-prod-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}

.sp-prod-hero-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--sp-steel-rgb, 99, 108, 121), 0.66), transparent 68%);
    pointer-events: none;
}

.sp-prod-hero-img,
.sp-prod-hero-img.lazy-placeholder,
.sp-prod-hero-img.lazy-loaded {
    position: relative;
    z-index: 1;
    max-width: 100%;
    max-height: 260px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 30px rgba(var(--sp-shadow-rgb, 24, 27, 33), .18));
}

/* ---------- SECTION ---------- */
.sp-prod-section {
    padding: 56px 20px 56px;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--sp-paper);
}

.sp-prod-section-head {
    text-align: center;
    margin-bottom: 44px;
}

.sp-prod-kicker {
    display: inline-block;
    font-size: .82rem;
    font-weight: 700;
    color: var(--sp-steel-deep, #313843);
    letter-spacing: .04em;
    margin-bottom: 10px;
}

.sp-prod-heading.mud-typography {
    font-size: clamp(1.45rem, 1.15rem + 1.2vw, 2rem) !important;
    font-weight: 800 !important;
    color: var(--sp-ink, #1B1F26) !important;
    margin: 0 !important;
    position: relative;
    display: inline-block;
}

    .sp-prod-heading.mud-typography::after {
        content: "";
        display: block;
        width: 42px;
        height: 3px;
        border-radius: 3px;
        background: linear-gradient(90deg, var(--sp-orange, var(--sp-orange)), var(--sp-orange-deep, var(--sp-orange-deep)));
        margin: 12px auto 0;
    }

.sp-prod-section-sub {
    margin: 14px auto 0;
    max-width: 420px;
    font-size: .92rem;
    line-height: 1.8;
    color: var(--sp-ink-soft, #596170);
}

/* ---------- CATEGORY CARDS ---------- */
.sp-prod-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
}

    .sp-prod-grid > .sp-prod-card {
        flex: 0 0 calc((100% - 44px) / 3);
        max-width: calc((100% - 44px) / 3);
    }

.sp-prod-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 22px;
    background: var(--sp-paper);
    border: 1px solid rgba(var(--sp-steel-rgb, 99, 108, 121), 0.26);
    box-shadow: 0 10px 28px rgba(var(--sp-shadow-rgb, 24, 27, 33), .06);
    cursor: pointer;
    overflow: hidden;
    transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease, border-color .3s ease;
}

    .sp-prod-card::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--sp-orange, var(--sp-orange)), var(--sp-orange-deep, var(--sp-orange-deep)));
        transform: scaleX(0);
        transform-origin: right center;
        transition: transform .35s cubic-bezier(.22, 1, .36, 1);
        z-index: 5;
    }

    .sp-prod-card:hover {
        transform: translateY(-8px);
        border-color: rgba(var(--sp-orange-rgb, 232, 90, 0), .45);
        box-shadow: 0 22px 48px rgba(var(--sp-shadow-rgb, 24, 27, 33), .14);
    }

        .sp-prod-card:hover::before {
            transform: scaleX(1);
        }

.sp-prod-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: radial-gradient(70% 70% at 50% 45%, var(--sp-paper) 0%, var(--sp-mist, #F4F7F9) 100%);
    overflow: hidden;
    flex-shrink: 0;
}


.sp-prod-card-img,
.sp-prod-card-img.lazy-placeholder,
.sp-prod-card-img.lazy-loaded {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 75%;
    height: 75%;
    object-fit: contain;
    padding: 20px;
    transform: translate(-50%, -50%);
    transition: transform .4s cubic-bezier(.22, 1, .36, 1), opacity .4s ease;
}

.sp-prod-card:hover .sp-prod-card-img.lazy-loaded {
    transform: translate(-50%, -50%) scale(1.06);
}


/* ---------- CATEGORY BADGE (exact copy of home .sp-cap-icon) ---------- */
.sp-prod-card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: linear-gradient(145deg, #EEF1F5, #D8DEE6);
    border: 1px solid #C5CDD8;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 2px 6px rgba(0, 0, 0, .06);
    color: #313843;
    transition: background .4s ease, color .4s ease, transform .5s cubic-bezier(.22, 1, .36, 1), border-color .4s ease, box-shadow .4s ease;
}

.sp-prod-card:hover .sp-prod-card-badge {
    background: linear-gradient(145deg, #474F5B, #232830);
    border-color: #313843;
    color: var(--sp-paper);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
}

.sp-prod-card-badge-img,
.sp-prod-card-badge-img.lazy-placeholder,
.sp-prod-card-badge-img.lazy-loaded {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: filter .4s ease, transform .5s cubic-bezier(.22, 1, .36, 1);
    filter: brightness(0) saturate(100%) invert(28%) sepia(8%) saturate(600%) hue-rotate(175deg) brightness(95%) contrast(95%);
}

.sp-prod-card:hover .sp-prod-card-badge-img,
.sp-prod-card:hover .sp-prod-card-badge-img.lazy-loaded {
    filter: brightness(0) invert(1);
}

.sp-prod-card-badge .mud-icon-root {
    font-size: 24px !important;
    color: inherit !important;
}

.sp-prod-card-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    font-size: .72rem;
    font-weight: 800;
    color: var(--sp-ink, #1B1F26);
    background: linear-gradient(135deg, #C3CDD4, #AEBCC6);
    padding: 4px 12px;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(var(--sp-shadow-rgb, 24, 27, 33), .16);
}

.sp-prod-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: right;
    padding: 18px 20px 20px;
    border-top: 1px solid rgba(var(--sp-steel-rgb, 99, 108, 121), .22);
}

.sp-prod-card-title {
    position: relative;
    margin: 0 0 6px;
    padding-right: 14px;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--sp-ink, #1B1F26);
    line-height: 1.4;
}

    .sp-prod-card-title::before {
        content: "";
        position: absolute;
        right: 0;
        top: .3em;
        bottom: .3em;
        width: 3px;
        border-radius: 3px;
        background: linear-gradient(180deg, var(--sp-orange, var(--sp-orange)), var(--sp-orange-deep, var(--sp-orange-deep)));
    }

.sp-prod-card-desc {
    margin: 0 0 12px;
    font-size: .86rem;
    color: var(--sp-ink-soft, #596170);
    line-height: 1.65;
    flex: 1;
}

.sp-prod-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .86rem;
    font-weight: 700;
    color: var(--sp-steel-deep, #313843);
    margin-top: auto;
    transition: gap .25s ease, color .25s ease;
}

.sp-prod-card:hover .sp-prod-card-link {
    gap: 10px;
    color: var(--sp-orange-deep, var(--sp-orange-deep));
}

.sp-prod-card-arrow {
    width: 16px;
    height: 16px;
}

/* ---------- RESPONSIVE - CATEGORY ---------- */
@media (max-width: 980px) {
    .sp-prod-grid > .sp-prod-card {
        flex-basis: calc((100% - 22px) / 2);
        max-width: calc((100% - 22px) / 2);
    }
}

@media (max-width: 600px) {
    .sp-prod-grid > .sp-prod-card {
        flex-basis: 100%;
        max-width: 100%;
    }
}

/* =====================================================
   FEATURES — redesign (no waves)
   Silver-blue brand base, orange only as tiny accents
   ===================================================== */
.sp-prod-features {
    --sp-f-orange: #E98201;
    --sp-f-blue-1: #C3CDD4;
    --sp-f-blue-2: #AEBCC6;
    --sp-f-ink: var(--sp-ink, #1B1F26);
    --sp-f-ink-soft: var(--sp-steel-deeper, #232830);
    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: none;
    margin: 40px 0 0;
    padding: 84px 20px 92px;
    overflow: hidden;
    background: radial-gradient(900px 380px at 15% 0%, rgba(255,255,255,.55), transparent 60%), radial-gradient(800px 420px at 90% 100%, rgba(255,255,255,.35), transparent 60%), linear-gradient(165deg, var(--sp-f-blue-1) 0%, var(--sp-f-blue-2) 100%);
}

/* subtle blueprint grid */
.sp-prod-features-map {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: .5;
    background-image: linear-gradient(rgba(27,31,38,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(27,31,38,.06) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 78%);
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 78%);
}

/* slow light sweep */
.sp-prod-features-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

    .sp-prod-features-particles::before {
        content: "";
        position: absolute;
        top: -20%;
        bottom: -20%;
        width: 22%;
        left: -30%;
        transform: skewX(-18deg);
        background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
        animation: spFeatSweep 11s ease-in-out infinite;
    }

    /* floating soft orbs */
    .sp-prod-features-particles::after {
        content: "";
        position: absolute;
        width: 340px;
        height: 340px;
        inset-inline-end: -90px;
        top: -110px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(255,255,255,.55), transparent 68%);
        animation: spFeatFloat 14s ease-in-out infinite alternate;
    }

@keyframes spFeatSweep {
    0% {
        left: -30%;
    }

    60%, 100% {
        left: 130%;
    }
}

@keyframes spFeatFloat {
    from {
        transform: translate3d(0,0,0) scale(1);
    }

    to {
        transform: translate3d(-40px,60px,0) scale(1.15);
    }
}

/* ---------- grid ---------- */
.sp-prod-features-inner {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
}

    /* connecting rail behind the icons (desktop) */
    /*.sp-prod-features-inner::before {
        content: "";
        position: absolute;
        inset-inline: 8%;
        top: 62px;
        height: 2px;
        z-index: -1;
        background: repeating-linear-gradient(90deg, rgba(27,31,38,.28) 0 8px, transparent 8px 16px);
    }*/

/* ---------- card ---------- */
.sp-prod-feature {
    --i: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 30px 18px 26px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.52));
    border: 1px solid rgba(255,255,255,.9);
    box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 14px 34px -18px rgba(27,31,38,.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    cursor: default;
    transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease, background .45s ease;
    animation: spFeatIn .8s cubic-bezier(.2,.8,.2,1) both;
    animation-delay: calc(var(--i) * 110ms);
}

    /* tiny orange accent bar — grows on hover */
    .sp-prod-feature::before {
        content: "";
        position: absolute;
        top: 0;
        inset-inline: 50%;
        height: 3px;
        border-radius: 0 0 4px 4px;
        background: var(--sp-f-orange);
        transition: inset-inline .45s cubic-bezier(.2,.8,.2,1);
    }

    /* big faded index number */
    /*.sp-prod-feature::after {
        content: attr(data-n);
        position: absolute;
        inset-inline-start: 14px;
        bottom: -14px;
        font-size: 5.2rem;
        font-weight: 900;
        line-height: 1;
        color: rgba(27,31,38,.055);
        pointer-events: none;
        transition: transform .5s ease, color .5s ease;
    }*/

    .sp-prod-feature:hover {
        transform: translateY(-8px);
        background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.72));
        box-shadow: 0 1px 0 #fff inset, 0 26px 44px -20px rgba(27,31,38,.45);
    }

        .sp-prod-feature:hover::before {
            inset-inline: 28%;
        }

        .sp-prod-feature:hover::after {
            transform: translateY(-6px) scale(1.06);
            color: rgba(27,31,38,.085);
        }

@keyframes spFeatIn {
    from {
        opacity: 0;
        transform: translateY(26px) scale(.97);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ---------- icon ---------- */
.sp-prod-feature-icon {
    position: relative;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: linear-gradient(145deg, #fff, #E6EBEF);
    box-shadow: 0 8px 18px -8px rgba(27,31,38,.4), 0 0 0 5px rgba(255,255,255,.55);
    transition: transform .5s cubic-bezier(.2,.8,.2,1);
}

    /* dashed orbit ring */
    .sp-prod-feature-icon::before {
        content: "";
        position: absolute;
        inset: -9px;
        border-radius: 50%;
        border: 1.5px dashed rgba(27,31,38,.28);
        animation: spFeatSpin 22s linear infinite;
        transition: border-color .4s ease;
    }

    /* small orbiting orange dot */
    .sp-prod-feature-icon::after {
        content: "";
        position: absolute;
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--sp-f-orange);
        top: -12px;
        left: calc(50% - 3.5px);
        transform-origin: 50% 45px;
        animation: spFeatOrbit 6s linear infinite;
        opacity: 0;
        transition: opacity .35s ease;
    }

.sp-prod-feature:hover .sp-prod-feature-icon {
    transform: scale(1.08) rotate(-4deg);
}

    .sp-prod-feature:hover .sp-prod-feature-icon::before {
        border-color: rgba(233,130,1,.7);
    }

    .sp-prod-feature:hover .sp-prod-feature-icon::after {
        opacity: 1;
    }

@keyframes spFeatSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes spFeatOrbit {
    to {
        transform: rotate(360deg);
    }
}

.sp-prod-feature-icon-img,
.sp-prod-feature-icon-img.lazy-placeholder,
.sp-prod-feature-icon-img.lazy-loaded {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: brightness(0) opacity(.78);
    transition: filter .4s ease;
}

.sp-prod-feature:hover .sp-prod-feature-icon-img {
    filter: brightness(0) opacity(.95);
}

/* ---------- text ---------- */
.sp-prod-feature-text {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

    .sp-prod-feature-text strong {
        font-size: 1.02rem;
        font-weight: 800;
        color: var(--sp-f-ink);
    }

    .sp-prod-feature-text span {
        font-size: .85rem;
        line-height: 1.75;
        color: var(--sp-f-ink-soft);
        opacity: .88;
    }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
    .sp-prod-features-inner {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

        .sp-prod-features-inner::before {
            display: none;
        }
}

@media (max-width: 600px) {
    .sp-prod-features {
        padding: 56px 16px 60px;
    }

    .sp-prod-features-inner {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .sp-prod-feature {
        flex-direction: row;
        text-align: start;
        gap: 18px;
        padding: 18px 18px;
    }

        /*.sp-prod-feature::after {
            font-size: 3.6rem;
            bottom: -8px;
        }*/

    .sp-prod-feature-icon {
        flex-shrink: 0;
        width: 56px;
        height: 56px;
        padding: 13px;
    }

        .sp-prod-feature-icon::after {
            transform-origin: 50% 37px;
        }
}

@media (prefers-reduced-motion: reduce) {
    .sp-prod-features *,
    .sp-prod-features *::before,
    .sp-prod-features *::after {
        animation: none !important;
        transition: none !important;
    }
}


/* ---------- LAZY IMAGES ---------- */
.sp-products img.lazy-placeholder {
    opacity: 0.35;
    background: #E9EEF1;
}

.sp-products img.lazy-loaded {
    opacity: 1;
    transition: opacity .4s ease;
    background: transparent;
}

@media (prefers-reduced-motion: reduce) {
    .sp-prod-features-particles::before,
    .sp-prod-features-particles::after,
    .sp-prod-features-wave-top .sp-wave-track,
    .sp-prod-features-wave-bottom .sp-wave-track,
    .sp-prod-card::before {
        animation: none !important;
    }
}
