/*
 * Surgical-set category banner.
 *
 * This theme uses a bright sterile-tray composition, concentric instrument
 * markings and a dark assurance rail. Category copy and trust values remain
 * owned by native records and Theme Options.
 */
.ps-page--shop > .category-hero-professional {
    --sv-tray-ink: #082b44;
    --sv-tray-accent: var(--color-1st, #1297aa);
    position: relative;
    isolation: isolate;
    margin: clamp(18px, 2vw, 30px) clamp(16px, 2vw, 30px) 28px;
    overflow: hidden;
    border: 1px solid #c9dfe5;
    border-radius: 32px 7px 32px 7px;
    background: linear-gradient(
        105deg,
        rgba(255, 255, 255, 0.97) 0%,
        rgba(239, 249, 250, 0.97) 64%,
        rgba(222, 243, 246, 0.96) 100%
    );
    box-shadow: 0 20px 44px rgba(8, 43, 68, 0.11);
    color: var(--sv-tray-ink);
}

.ps-page--shop > .category-hero-professional::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(
        rgba(18, 151, 170, 0.16) 1px,
        transparent 1px
    );
    background-position: 11px 11px;
    background-size: 22px 22px;
    mask-image: linear-gradient(90deg, transparent 20%, #000 100%);
    content: "";
}

.ps-page--shop > .category-hero-professional::after {
    position: absolute;
    inset: -112px -68px auto auto;
    z-index: -1;
    width: 320px;
    height: 320px;
    border: 1px solid rgba(18, 151, 170, 0.24);
    border-radius: 50%;
    background: radial-gradient(
        circle,
        transparent 0 43%,
        rgba(18, 151, 170, 0.05) 44% 45%,
        transparent 46%
    );
    box-shadow:
        0 0 0 42px rgba(18, 151, 170, 0.035),
        0 0 0 84px rgba(18, 151, 170, 0.02);
    content: "";
}

.ps-page--shop > .category-hero-professional .hero-container {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: center;
    gap: clamp(20px, 2.4vw, 36px);
    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: 88px;
    height: 88px;
    border: 1px solid #b7d7de;
    border-radius: 50% 50% 18px 50%;
    background: rgba(255, 255, 255, 0.88);
    box-shadow:
        inset 0 0 0 7px rgba(18, 151, 170, 0.06),
        0 15px 28px rgba(8, 43, 68, 0.12);
    color: var(--sv-tray-accent);
}

.ps-page--shop > .category-hero-professional .category-hero-icon::before,
.ps-page--shop > .category-hero-professional .category-hero-icon::after {
    position: absolute;
    border-radius: 50%;
    content: "";
}

.ps-page--shop > .category-hero-professional .category-hero-icon::before {
    inset: 12px;
    border: 1px dashed rgba(18, 151, 170, 0.35);
}

.ps-page--shop > .category-hero-professional .category-hero-icon::after {
    right: 8px;
    bottom: 8px;
    width: 8px;
    height: 8px;
    background: var(--sv-tray-accent);
    box-shadow: 0 0 0 4px rgba(18, 151, 170, 0.12);
}

.ps-page--shop > .category-hero-professional .category-hero-icon i {
    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: var(--sv-tray-ink);
    font-size: clamp(2rem, 3.7vw, 3.45rem);
    font-weight: 730;
    letter-spacing: -0.035em;
    line-height: 1.02;
}

.ps-page--shop > .category-hero-professional .hero-description {
    max-width: 960px;
    margin: 0;
    color: #496575;
    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(24, 187, 204, 0.34);
    border-radius: 4px 20px 4px 20px;
    background:
        linear-gradient(112deg, rgba(24, 187, 204, 0.11), transparent 40%),
        #082b44;
    box-shadow: 0 14px 28px rgba(8, 43, 68, 0.16);
}

.ps-page--shop > .category-hero-professional .hero-badge {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    min-height: 56px;
    padding: 10px 13px;
    color: #f4fbfd;
    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(197, 229, 236, 0.2);
    content: "";
}

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

.ps-page--shop > .category-hero-professional .hero-badge i {
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(143, 225, 237, 0.52);
    border-radius: 50% 50% 50% 10px;
    background: rgba(24, 187, 204, 0.12);
    color: #22c5d5;
    font-size: 1rem;
    box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.025);
}

.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: 72px minmax(0, 1fr);
    }

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

    .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(197, 229, 236, 0.2);
    }
}

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

    .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: 46px;
        border-radius: 50% 50% 11px 50%;
    }

    .ps-page--shop > .category-hero-professional .category-hero-icon::before {
        inset: 7px;
    }

    .ps-page--shop > .category-hero-professional .category-hero-icon::after {
        right: 4px;
        bottom: 4px;
        width: 6px;
        height: 6px;
    }

    .ps-page--shop > .category-hero-professional .category-hero-icon i {
        font-size: 1.3rem;
    }

    .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;
    }

    .ps-page--shop > .category-hero-professional .hero-badge i {
        flex-basis: 29px;
        width: 29px;
        height: 29px;
        font-size: 0.86rem;
    }
}

@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(197, 229, 236, 0.2);
    }

    .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;
    }
}
