/*
 * Set catalogue category banner.
 *
 * The composition deliberately resembles a technical specification cover:
 * deep corporate ink, measured grid lines and an integrated assurance rail.
 * All visible copy and icons continue to come from native category records and
 * Theme Options; this file owns presentation only.
 */
.ps-page--shop > .category-hero-professional {
    --sv-set-hero-accent: var(--color-1st, #1498ad);
    position: relative;
    isolation: isolate;
    margin: clamp(18px, 2vw, 30px) clamp(16px, 2vw, 30px) 28px;
    overflow: hidden;
    border: 1px solid rgba(95, 213, 226, 0.3);
    border-radius: 6px 34px 6px 34px;
    background:
        linear-gradient(118deg, rgba(20, 152, 173, 0.08), transparent 42%),
        linear-gradient(122deg, #071a2f 0%, #0a2944 55%, #0b4c60 100%);
    box-shadow: 0 22px 48px rgba(7, 26, 47, 0.16);
    color: #f5fbfd;
}

.ps-page--shop > .category-hero-professional::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(147, 220, 230, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(147, 220, 230, 0.055) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(90deg, #000, transparent 78%);
    content: "";
}

.ps-page--shop > .category-hero-professional::after {
    position: absolute;
    inset: -105px -75px auto auto;
    z-index: -1;
    width: 290px;
    height: 290px;
    border: 1px solid rgba(150, 229, 238, 0.2);
    border-radius: 50%;
    box-shadow:
        0 0 0 36px rgba(150, 229, 238, 0.035),
        0 0 0 72px rgba(150, 229, 238, 0.025);
    content: "";
}

.ps-page--shop > .category-hero-professional .hero-container {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: center;
    gap: clamp(20px, 2.2vw, 34px);
    width: 100%;
    max-width: none;
    margin: 0;
    padding: clamp(24px, 2.7vw, 40px);
}

.ps-page--shop > .category-hero-professional .category-hero-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 82px;
    height: 96px;
    border: 1px solid rgba(150, 229, 238, 0.42);
    border-radius: 26px 7px 26px 7px;
    background: linear-gradient(
        145deg,
        rgba(21, 162, 184, 0.34),
        rgba(4, 30, 51, 0.5)
    );
    box-shadow:
        inset 0 0 0 6px rgba(255, 255, 255, 0.025),
        0 16px 30px rgba(2, 14, 28, 0.24);
    color: #7ce2ec;
}

.ps-page--shop > .category-hero-professional .category-hero-icon::after {
    position: absolute;
    inset: auto 15px 12px;
    height: 2px;
    border-radius: 2px;
    background: var(--sv-set-hero-accent);
    box-shadow: 0 -5px 0 rgba(124, 226, 236, 0.2);
    content: "";
}

.ps-page--shop > .category-hero-professional .category-hero-icon i {
    transform: translateY(-5px);
    color: currentColor;
    font-size: 2rem;
}

.ps-page--shop > .category-hero-professional .category-hero-content {
    min-width: 0;
}

.ps-page--shop > .category-hero-professional .category-hero-content h1 {
    max-width: 1000px;
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(2rem, 3.7vw, 3.45rem);
    font-weight: 750;
    letter-spacing: -0.035em;
    line-height: 1.02;
}

.ps-page--shop > .category-hero-professional .hero-description {
    max-width: 960px;
    margin: 0;
    color: #c6d9e4;
    font-size: clamp(0.94rem, 1.2vw, 1.08rem);
    line-height: 1.65;
}

.ps-page--shop > .category-hero-professional .category-hero-badges {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: min(100%, 1100px);
    margin-top: 22px;
    overflow: hidden;
    border: 1px solid rgba(150, 229, 238, 0.2);
    border-radius: 4px 18px 4px 18px;
    background: rgba(2, 18, 34, 0.32);
    backdrop-filter: blur(6px);
}

.ps-page--shop > .category-hero-professional .hero-badge {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 54px;
    padding: 10px 13px;
    color: #edf9fb;
    line-height: 1.25;
}

.ps-page--shop
    > .category-hero-professional
    .hero-badge:not(:last-child)::after {
    position: absolute;
    inset: 12px 0 12px auto;
    width: 1px;
    background: rgba(173, 227, 234, 0.17);
    content: "";
}

.ps-page--shop > .category-hero-professional .hero-badge strong {
    min-width: 0;
    font-size: 0.79rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    overflow-wrap: anywhere;
}

.ps-page--shop > .category-hero-professional .hero-badge i {
    display: grid;
    place-items: center;
    flex: 0 0 31px;
    width: 31px;
    height: 31px;
    border: 1px solid rgba(124, 226, 236, 0.38);
    border-radius: 10px 3px 10px 3px;
    background: rgba(20, 152, 173, 0.16);
    color: #72dce8;
    font-size: 0.9rem;
}

.ps-page--shop > .category-hero-professional .hero-badge:hover {
    background: rgba(255, 255, 255, 0.045);
}

@media (max-width: 900px) {
    .ps-page--shop > .category-hero-professional .hero-container {
        grid-template-columns: 70px minmax(0, 1fr);
    }

    .ps-page--shop > .category-hero-professional .category-hero-icon {
        width: 66px;
        height: 78px;
    }

    .ps-page--shop > .category-hero-professional .category-hero-badges {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ps-page--shop
        > .category-hero-professional
        .hero-badge:nth-child(2n)::after {
        display: none;
    }

    .ps-page--shop > .category-hero-professional .hero-badge:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(173, 227, 234, 0.17);
    }
}

@media (max-width: 576px) {
    .ps-page--shop > .category-hero-professional {
        margin: 14px 12px 20px;
        border-radius: 4px 23px 4px 23px;
    }

    .ps-page--shop > .category-hero-professional .hero-container {
        grid-template-columns: 48px minmax(0, 1fr);
        align-items: start;
        gap: 13px;
        padding: 20px 16px;
    }

    .ps-page--shop > .category-hero-professional .category-hero-icon {
        width: 46px;
        height: 56px;
        border-radius: 15px 4px 15px 4px;
    }

    .ps-page--shop > .category-hero-professional .category-hero-icon i {
        transform: translateY(-3px);
        font-size: 1.35rem;
    }

    .ps-page--shop > .category-hero-professional .category-hero-icon::after {
        inset-inline: 10px;
        bottom: 8px;
    }

    .ps-page--shop > .category-hero-professional .category-hero-content h1 {
        font-size: clamp(1.72rem, 9vw, 2.3rem);
        overflow-wrap: anywhere;
    }

    .ps-page--shop > .category-hero-professional .hero-description {
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .ps-page--shop > .category-hero-professional .category-hero-badges {
        grid-column: 1 / -1;
        margin-top: 17px;
    }

    .ps-page--shop > .category-hero-professional .hero-badge {
        min-height: 50px;
        padding: 8px 9px;
    }

    .ps-page--shop > .category-hero-professional .hero-badge strong {
        font-size: 0.72rem;
    }
}

@media (max-width: 400px) {
    .ps-page--shop > .category-hero-professional .category-hero-badges {
        grid-template-columns: minmax(0, 1fr);
    }

    .ps-page--shop > .category-hero-professional .hero-badge {
        border-bottom: 1px solid rgba(173, 227, 234, 0.17);
    }

    .ps-page--shop > .category-hero-professional .hero-badge::after {
        display: none;
    }

    .ps-page--shop > .category-hero-professional .hero-badge:last-child {
        border-bottom: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ps-page--shop > .category-hero-professional .hero-badge {
        transition: none;
    }
}
