.rst-page-header {
    display: flex;
    padding: 0 15px 15px 15px;
    flex-direction: column;
    gap: 10px;
}

/* ===== Category ===== */
.rst-category-header-wrapper {
    display: flex;
    background: radial-gradient(circle at 0% 10%, rgba(0, 0, 0, .6) 15%, rgba(0, 0, 0, .1) 100%), var(--category-color);
    margin-bottom: 10px;
    box-sizing: border-box;
    flex-direction: column;
    gap: 10px;
}

.rst-header-container {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr;
}
  
.rst-category-summary {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    filter: drop-shadow(0 2px 3px black);
    justify-content: center;
    height: 100%;
}

.rst-category-summary-header {
    display: flex;
    gap: 10px;
    align-items: center;
}

.rst-category-title {
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.2;
}

.rst-category-brand-logo {
    max-height: 30px;
    max-width: 130px;
}

.rst-categories-count {
    display: flex;
    font-size: .9rem;
    font-family: 'Atma', sans-serif;
    background: rgba(255,255,255,.1);
    padding: 5px;
    border-radius: 10px;
    color: white;
    height: 100%;
    align-items: center;
    justify-content: center;
}
.rst-category-description p {
    font-size: .7rem;
    color: rgba(255,255,255,.7);
    font-style: oblique;
}

.rst-subcategories-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.rst-subcategories-list li {
    display: flex;
    height: 40px;
    background: rgba(255,255,255,.1);
    border-radius: 10px;
    flex: 1 1 100px;
    box-shadow: 0 3px 5px rgba(0,0,0,.2);
    transition: all .3s;
}

.rst-subcategories-list li:hover {
    transform: translateY(-3px);
}

.rst-subcat-link {
    display: flex;
    gap: 5px;
    height: 100%;
    align-items: center;
    text-decoration: none;
    filter: drop-shadow(0px 2px 3px rgba(0,0,0,.5));
    justify-content: space-between;
    flex: 1;
    padding: 10px;
}

.rst-subcat-img {
    max-width: 100px;
    max-height: 30px;
    object-fit: contain;
}
.rst-subcat-img.rst-subcat-img-both {
    max-height: 75px;
}

.rst-subcat-name {
    font-family: 'Atma', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
    color: white;
}

.rst-no-subcategories {
    font-size: 0.95rem;
    color: #6c757d;
    font-style: italic;
}

/* ===== Product ===== */
.rst-product-page-header-wrapper {
    filter: drop-shadow(0 3px 5px rgba(0,0,0,.7));
}
.rst-product-page-header-wrapper h1 {
    font-size: 1.8rem;
    font-weight: 500;
}

/* Desktop */
@media (min-width: 992px) {
    .rst-header-container {
        grid-template-columns: 300px 1fr;
        gap: 30px;
        align-items: center;
    }
    .rst-category-summary {
        border-right: 1px solid rgba(255,255,255,.3);
        padding-right: 15px;
    }
}