
/* RareKicks product category archives */
.rk-category {
    --rk-black: #111111;
    --rk-cream: #F7F5F0;
    --rk-lime: #C8FF00;
    --rk-gray: #777777;
    --rk-border: #E8E8E8;
    color: var(--rk-black);
    background: #fff;
    font-family: "Manrope", sans-serif;
}

.rk-category,
.rk-category * {
    box-sizing: border-box;
}

.rk-cat-inner {
    width: min(1320px, calc(100% - 40px));
    margin-inline: auto;
}

.rk-cat-header {
    padding: 34px 0 38px;
    background: var(--rk-cream);
}

.rk-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 22px;
    color: var(--rk-gray);
    font-size: 12px;
}

.rk-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.rk-breadcrumb a:hover {
    color: var(--rk-black);
}

.rk-cat-title {
    margin: 0 0 12px;
    color: var(--rk-black);
    font-family: "Archivo Black", sans-serif;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.12;
    text-transform: uppercase;
}

.rk-cat-description {
    max-width: 720px;
    margin: 0;
    color: #555;
    font-size: 14px;
    line-height: 1.8;
}

.rk-cat-layout {
    display: grid;
    grid-template-columns: 245px minmax(0, 1fr);
    gap: 36px;
    padding-top: 42px;
    padding-bottom: 80px;
    align-items: start;
}

.rk-cat-sidebar {
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--rk-border);
    border-radius: 14px;
    background: #fff;
}

.rk-filter-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--rk-border);
}

.rk-filter-heading h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
}

.rk-filter-heading > a {
    color: var(--rk-gray);
    font-size: 11px;
    text-decoration: underline;
}

.rk-category-list {
    margin: 0;
    padding: 8px 0 0;
    list-style: none;
}

.rk-category-list li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #f0f0f0;
}

.rk-category-list li:last-child {
    border-bottom: 0;
}

.rk-category-list li a {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 0;
    color: var(--rk-black);
    font-size: 13px;
    text-decoration: none;
}

.rk-category-list li a:hover,
.rk-category-list li a[aria-current="page"] {
    font-weight: 800;
}

.rk-cat-count {
    color: var(--rk-gray);
    font-size: 11px;
}

.rk-filter-widgets {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--rk-border);
}

.rk-filter-widgets ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rk-filter-widgets .widget {
    margin-bottom: 22px;
}

.rk-filter-widgets .widget-title {
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 800;
}

.rk-cat-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 22px;
}

.rk-cat-result-count {
    color: var(--rk-gray);
    font-size: 12px;
}

.rk-cat-order select {
    max-width: 100%;
    padding: 11px 34px 11px 12px;
    border: 1px solid var(--rk-border);
    border-radius: 8px;
    background: white;
    color: var(--rk-black);
    font: inherit;
    font-size: 12px;
}

.rk-cat-results ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 18px;
    margin: 0 !important;
    padding: 0 !important;
}

.rk-cat-results ul.products::before,
.rk-cat-results ul.products::after {
    display: none !important;
    content: none !important;
}

.rk-cat-results ul.products li.product {
    float: none !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
}

.rk-cat-results ul.products li.product img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
}

.rk-cat-results ul.products li.product .woocommerce-loop-product__title {
    color: var(--rk-black);
    font-size: 13px;
    line-height: 1.5;
}

.rk-cat-results ul.products li.product .price {
    color: var(--rk-black);
    font-size: 14px;
    font-weight: 800;
}

.rk-cat-results ul.products li.product .button {
    border-radius: 7px;
    background: var(--rk-lime);
    color: var(--rk-black);
    font-size: 12px;
    font-weight: 800;
}

.rk-cat-results ul.products li.product .button:hover {
    background: var(--rk-black);
    color: white;
}

.rk-cat-results nav.woocommerce-pagination {
    margin-top: 35px;
}

.rk-cat-results .woocommerce-pagination ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    border: 0;
}

.rk-cat-results .woocommerce-pagination ul li {
    border: 0;
}

.rk-cat-results .woocommerce-pagination ul li a,
.rk-cat-results .woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    border: 1px solid var(--rk-border);
    border-radius: 8px;
}

.rk-cat-results .woocommerce-pagination ul li span.current {
    border-color: var(--rk-lime);
    background: var(--rk-lime);
    color: var(--rk-black);
}

.rk-cat-empty {
    padding: 55px 20px;
    border: 1px solid var(--rk-border);
    border-radius: 14px;
    text-align: center;
}

.rk-cat-empty h2 {
    font-size: 22px;
}

.rk-cat-button {
    display: inline-block;
    margin-top: 12px;
    padding: 13px 20px;
    border-radius: 8px;
    background: var(--rk-lime);
    color: var(--rk-black);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

@media (min-width: 1200px) {
    .rk-cat-results ul.products {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .rk-cat-layout {
        grid-template-columns: 205px minmax(0, 1fr);
        gap: 20px;
    }

    .rk-cat-sidebar {
        padding: 15px;
    }

    .rk-cat-results ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 12px;
    }
}

@media (max-width: 600px) {
    .rk-cat-inner {
        width: calc(100% - 28px);
    }

    .rk-cat-header {
        padding: 24px 0 28px;
    }

    .rk-cat-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
        padding-top: 22px;
    }

    .rk-cat-sidebar {
        padding: 16px;
    }

    .rk-category-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 15px;
    }

    .rk-cat-toolbar {
        align-items: flex-start;
    }

    .rk-cat-order select {
        max-width: 190px;
    }
}
