h1.page-title {
    margin: 15px 0;
}

/* Subcategories */

ul.subcategories {
    list-style: none;
    margin: 0 0 10px 0;
    display: flex;
    background-color: var(--color-secondary-background);
    padding: 20px 20px 25px 20px;
    align-items: center;
    gap: 30px;
    border-radius: var(--border-radius-xsmall);
    width: 100%;
    overflow-x: auto;
}

ul.subcategories li {
    flex-shrink: 0;
}

ul.subcategories li a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 600;
    transition: .2s ease;
    padding: 0 0 5px 0;
    border-bottom: solid 2px transparent;
}

ul.subcategories li a:hover,
ul.subcategories li.active a {
    border-color: var(--color-primary);
}

.subcategories::-webkit-scrollbar {
    height: 6px;
}

/* Pagination */

.facetwp-facet-pagination[data-name="pagination"] {
    margin-top: 40px;
}

.facetwp-type-pager.facetwp-facet {
    margin-bottom: 0;
}

.facetwp-facet-pagination .facetwp-pager {
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

.facetwp-facet-pagination .facetwp-pager .facetwp-page {
    overflow: hidden;
    border-right: solid 1px var(--color-border);
    border-top: solid 1px var(--color-border);
    border-bottom: solid 1px var(--color-border);
    padding: 0;
    margin-right: 0;
}

.facetwp-facet.facetwp-facet-pagination {
    width: 100%;
}

.facetwp-facet-pagination .facetwp-pager .facetwp-page {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 40px;
    height: 40px;
    background: var(--color-white);
    color: var(--color-text);
    font-weight: var(--font-weight-button);
}

.facetwp-facet-pagination .facetwp-pager .facetwp-page.active {
    background-color: var(--color-secondary-background);
    cursor: not-allowed;
}

.facetwp-facet-pagination .facetwp-pager .facetwp-page.dots {
    cursor: not-allowed;
}

.facetwp-facet-pagination .facetwp-pager .facetwp-page:not(.dots):not(.active) {
    background-color: var(--color-grey-light);
}

.facetwp-facet-pagination .facetwp-pager .facetwp-page:first-child {
    border-radius: var(--border-radius-small) 0 0 var(--border-radius-small);
    border-left: solid 1px var(--color-border);
}

.facetwp-facet-pagination .facetwp-pager .facetwp-page:last-child {
    border-radius: 0 var(--border-radius-small) var(--border-radius-small) 0;
}

/* Result Count & View */

.shop-loop-meta {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    margin: 20px 0;
    color: var(--color-text-light);
    gap: 10px;
}

.product-view-switcher {
    display: flex;
    align-items: center;
}

span.product-view-label {
    margin-right: 5px;
}

.product-view-switcher-options {
    background-color: var(--color-white);
    padding: 6px 4px;
    border-radius: var(--border-radius-small);
    border: solid 1px var(--color-border);
    display: flex;
    align-items: center;
}

a.product-view-type-button {
    font-size: 0;
    height: 25px;
    width: 35px;
    display: flex;
    align-items: center;
    opacity: .3;
    transition: .1s ease;
}

a.product-view-type-button.product-view-type-button-grid {
    background-image: url(../../images/icons/grid-view.svg);
    background-size: 19px;
    background-position: center;
    background-repeat: no-repeat;
    border-right: solid 1px var(--color-border);
}

a.product-view-type-button.product-view-type-button-list {
    background-image: url(../../images/icons/list-view.svg);
    background-size: 22px;
    background-position: center;
    background-repeat: no-repeat;
}

a.product-view-type-button.product-view-type-button-active,
a.product-view-type-button:hover {
    opacity: 1;
}