.ss-category-hero {
    --ss-cat-black: #161616;
    --ss-cat-yellow: #ffd700;
    --ss-cat-yellow-deep: #f2c200;
    --ss-cat-muted: rgba(255, 255, 255, 0.78);
    background: var(--ss-cat-black);
    color: #fff;
    overflow: hidden;
    padding: 48px 0 72px;
    position: relative;
}

.ss-category-hero::before {
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.2), transparent 60%);
    content: "";
    height: 130%;
    pointer-events: none;
    position: absolute;
    right: -12%;
    top: -35%;
    width: 65%;
}

.ss-category-hero::after {
    background: linear-gradient(90deg, var(--ss-cat-yellow), var(--ss-cat-yellow-deep));
    bottom: 0;
    content: "";
    height: 6px;
    left: 0;
    position: absolute;
    width: 100%;
}

.ss-category-hero__wrap {
    margin: 0 auto;
    max-width: 1400px;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.ss-category-hero__breadcrumb {
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    margin-bottom: 28px;
}

.ss-category-hero__breadcrumb a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

.ss-category-hero__grid {
    align-items: center;
    display: grid;
    gap: 48px;
    grid-template-columns: 1.1fr 0.8fr;
}

.ss-category-hero__eyebrow {
    color: var(--ss-cat-yellow);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.ss-category-hero h1 {
    color: #fff;
    font-size: clamp(32px, 4.6vw, 52px);
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.08;
    margin: 0 0 16px;
    max-width: 640px;
}

.ss-category-hero__title-highlight {
    color: var(--ss-cat-yellow);
}

.ss-category-hero__desc {
    color: var(--ss-cat-muted);
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 28px;
    max-width: 640px;
}

.ss-category-hero__preview {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    margin: -14px 0 18px;
    padding: 8px 12px;
}

.ss-category-hero__search-panel--highlight {
    animation: ssCategoryHeroFadeIn 0.6s ease forwards 1.2s;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 640px;
    opacity: 0;
    padding: 20px;
    transition: transform 0.3s;
}

.ss-category-hero__search-panel--highlight:hover {
    transform: translateY(-2px);
}

@keyframes ssCategoryHeroFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ss-category-hero__search-label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 8px;
}

.ss-category-hero__search-panel--highlight .ss-category-hero__search-label {
    color: #1c1c1c;
    margin-bottom: 10px;
}

.ss-category-hero__search {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    gap: 10px;
    max-width: 540px;
    padding: 7px 7px 7px 20px;
}

.ss-category-hero__search-panel--highlight .ss-category-hero__search {
    box-shadow: none;
    max-width: none;
}

.ss-category-hero__search--preview svg {
    color: #6b6b6b;
    flex: 0 0 auto;
    height: 20px;
    width: 20px;
}

.ss-category-hero__search--preview span {
    background: transparent;
    border: 0;
    color: #1c1c1c;
    flex: 1;
    font-family: inherit;
    font-size: 15px;
    min-width: 0;
}

.ss-category-hero__search--preview button {
    background: var(--ss-cat-yellow);
    border: 0;
    border-radius: 999px;
    color: #161616;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 22px;
    white-space: nowrap;
}

.ss-category-hero__fibosearch {
    display: block;
    padding: 0;
}

.ss-category-hero__fibosearch .dgwt-wcas-search-wrapp {
    margin: 0 !important;
    max-width: none !important;
    min-width: 0;
    width: 100% !important;
}

.ss-category-hero__fibosearch .dgwt-wcas-search-form,
.ss-category-hero__fibosearch .dgwt-wcas-sf-wrapp {
    align-items: center;
    background: transparent !important;
    border: 0 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    display: flex;
    margin: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

.ss-category-hero__fibosearch .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #1c1c1c !important;
    flex: 1;
    font-family: inherit;
    font-size: 15px !important;
    height: auto !important;
    min-height: 50px !important;
    min-width: 0;
    padding: 0 16px 0 46px !important;
}

.ss-category-hero__fibosearch .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:focus {
    outline: 0 !important;
}

.ss-category-hero__fibosearch .dgwt-wcas-ico-magnifier {
    left: 20px !important;
    opacity: 0.65;
}

.ss-category-hero__fibosearch .dgwt-wcas-search-submit {
    background: var(--ss-cat-yellow) !important;
    border: 0 !important;
    border-radius: 999px !important;
    color: #161616 !important;
    flex: 0 0 auto;
    font-family: inherit;
    font-size: 15px !important;
    font-weight: 700 !important;
    height: auto !important;
    margin: 7px 7px 7px 0 !important;
    min-height: 44px !important;
    padding: 12px 22px !important;
    position: static !important;
    width: auto !important;
}

.ss-category-hero__fibosearch .dgwt-wcas-search-submit svg {
    color: #161616 !important;
    fill: #161616 !important;
    height: 18px;
    width: 18px;
}

.ss-category-hero__actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 14px;
}

.ss-category-hero__help {
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
    margin: 16px 0 0;
}

.ss-category-hero__search-panel--highlight .ss-category-hero__help {
    color: #4b4b4b;
}

.ss-category-hero__actions .ss-category-hero__help {
    margin: 0;
}

.ss-category-hero__help a {
    border-bottom: 2px solid rgba(255, 215, 0, 0.45);
    color: var(--ss-cat-yellow);
    font-weight: 700;
    text-decoration: none;
}

.ss-category-hero__search-panel--highlight .ss-category-hero__help a {
    color: #1c1c1c;
}

.ss-category-hero__browse {
    align-items: center;
    border-bottom: 2px solid rgba(255, 215, 0, 0.5);
    color: #fff;
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    gap: 6px;
    text-decoration: none;
}

.ss-category-hero__search-panel--highlight .ss-category-hero__browse {
    color: #1c1c1c;
}

.ss-category-hero__browse svg {
    color: var(--ss-cat-yellow);
    height: 16px;
    width: 16px;
}

.ss-category-hero__trustline {
    align-items: center;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    font-size: 14px;
    gap: 10px;
    margin-top: 28px;
}

.ss-category-hero__trustline span {
    color: var(--ss-cat-yellow);
    letter-spacing: 1px;
    white-space: nowrap;
}

.ss-category-hero__guide-modal.video-modal {
    align-items: center;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    inset: 0;
    justify-content: center;
    padding: 20px;
    position: fixed;
    z-index: 99999;
}

.ss-category-hero__guide-modal .video-modal-content {
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    overflow: visible;
    padding: 5px;
    position: relative;
    width: 100%;
}

.ss-category-hero__guide-modal .close-modal-x {
    color: #fff;
    cursor: pointer;
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    position: absolute;
    right: -40px;
    top: -16px;
    z-index: 10;
}

.ss-category-hero__guide-modal .video-container {
    border-radius: 8px;
    height: 0;
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
}

.ss-category-hero__guide-modal .video-container iframe {
    border: 0;
    height: 100%;
    inset: 0;
    position: absolute;
    width: 100%;
}

.ss-category-hero__editor-video {
    aspect-ratio: 16 / 9;
    min-width: min(760px, 80vw);
}

.ss-category-hero__editor-video iframe {
    border: 0;
    height: 100%;
    width: 100%;
}

.ss-category-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.ss-category-hero__chip {
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 13px;
    font-weight: 600;
    gap: 7px;
    padding: 8px 14px;
}

.ss-category-hero__chip svg {
    color: var(--ss-cat-yellow);
    height: 16px;
    width: 16px;
}

.ss-category-hero__chip-control {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 14px;
    padding-bottom: 14px;
}

.ss-category-hero__media,
.ss-category-hero__video {
    aspect-ratio: 4 / 3;
    background: #000;
    border: 3px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
}

.ss-category-hero__media iframe,
.ss-category-hero__video iframe {
    border: 0;
    height: 100%;
    inset: 0;
    position: absolute;
    width: 100%;
}

.ss-category-hero__media img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.ss-category-hero__badge {
    background: var(--ss-cat-yellow);
    border-radius: 999px;
    bottom: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    color: #161616;
    font-size: 13px;
    font-weight: 800;
    left: 16px;
    padding: 8px 14px;
    position: absolute;
}

.ss-category-hero__rating-chip {
    align-items: center;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(4px);
    border-radius: 999px;
    color: #fff;
    display: flex;
    font-size: 12px;
    font-weight: 700;
    gap: 6px;
    padding: 7px 13px;
    position: absolute;
    right: 16px;
    top: 16px;
}

.ss-category-hero__rating-chip span {
    color: var(--ss-cat-yellow);
    letter-spacing: 1px;
}

.ss-category-hero__image-badge {
    background: var(--ss-cat-yellow);
    border-radius: 999px;
    bottom: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    color: #161616;
    font-size: 13px;
    font-weight: 800;
    left: 16px;
    padding: 8px 14px;
    position: absolute;
}

@media (max-width: 980px) {
    .ss-category-hero__grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 560px) {
    .ss-category-hero__guide-modal .close-modal-x {
        font-size: 24px;
        right: -7px;
        top: -26px;
    }

    .ss-category-hero__desc {
        font-size: 16px;
        line-height: 1.55;
        margin: 0 0 15px;
    }

    .ss-category-hero h1 {
        font-size: 28px;
        line-height: 1.18;
        margin: 0 0 10px;
    }

    .ss-category-hero {
        padding: 20px 0;
    }

    .ss-category-hero__wrap {
        padding: 0 16px;
    }

    .ss-category-hero__grid {
        gap: 18px;
    }

    .ss-category-hero__eyebrow,
    .ss-category-hero__breadcrumb {
        font-size: 12px;
        letter-spacing: 0.1em;
    }

    .ss-category-hero__chips {
        display: grid;
        gap: 10px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 20px;
    }

    .ss-category-hero__chip {
        justify-content: center;
        min-width: 0;
        text-align: center;
        width: 100%;
        font-size: 12px;
        padding: 8px 12px;
    }

    .ss-category-hero__actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        margin-top: 12px;
    }

    .ss-category-hero__search-panel--highlight {
        max-width: none;
        padding: 16px;
        width: 100%;
    }

    .ss-category-hero__trustline {
        align-items: flex-start;
        font-size: 13px;
        gap: 8px;
        line-height: 1.35;
        margin-top: 18px;
    }

    .ss-category-hero__search {
        align-items: stretch;
        border-radius: 16px;
        flex-wrap: wrap;
        padding: 0px;
    }

    .ss-category-hero__fibosearch .dgwt-wcas-search-form,
    .ss-category-hero__fibosearch .dgwt-wcas-sf-wrapp {
        border-radius: 16px !important;
        flex-wrap: wrap;
    }

    .ss-category-hero__search button {
        width: 100%;
    }

    .ss-category-hero__fibosearch .dgwt-wcas-search-submit {
        margin: 0 !important;
        width: 100% !important;
    }

    .ss-category-hero__breadcrumb {
        margin-bottom: 0px;
    }

    .ss-category-hero__video {
        border-radius: 14px;
    }

    .ss-category-hero__rating-chip {
        font-size: 11px;
        left: 12px;
        max-width: calc(100% - 24px);
        right: auto;
        top: 12px;
    }

    .ss-category-hero__image-badge,
    .ss-category-hero__badge {
        bottom: 12px;
        font-size: 12px;
        left: 12px;
    }
}
