.kochuro-storefront .shop-page-title,
.kochuro-storefront .category-page-title {
    padding: 42px 0;
    background: var(--kochuro-warm);
}

.kochuro-storefront.tax-product_cat .shop-page-title,
.kochuro-storefront.tax-product_cat .category-page-title {
    display: none;
}

/* Keep the branded collection banner as the only archive heading. */
.kochuro-storefront.tax-product_cat .woocommerce-products-header {
    display: none !important;
}

.kochuro-storefront .shop-page-title .page-title-inner,
.kochuro-storefront .category-page-title .page-title-inner {
    width: min(calc(100% - (var(--kochuro-gutter) * 2)), var(--kochuro-content));
    min-height: 0;
    padding: 0;
}

.kochuro-storefront .shop-container,
.kochuro-storefront .category-page-row {
    width: min(calc(100% - (var(--kochuro-gutter) * 2)), var(--kochuro-content));
    max-width: none;
    margin-inline: auto;
}

.kochuro-storefront.post-type-archive-product #shop-sidebar,
.kochuro-storefront.tax-product_cat #shop-sidebar {
    display: none !important;
}

.kochuro-storefront.post-type-archive-product .category-page-row > .large-9,
.kochuro-storefront.tax-product_cat .category-page-row > .large-9 {
    width: 100%;
    max-width: none;
    flex-basis: 100%;
}

.kochuro-storefront .woocommerce-result-count,
.kochuro-storefront .woocommerce-ordering {
    color: var(--kochuro-muted);
    font-size: 13px;
}

.kochuro-storefront .woocommerce-ordering select {
    min-width: 220px;
    height: 44px;
    margin: 0;
    padding: 0 40px 0 14px;
    border: 1px solid var(--kochuro-line);
    border-radius: 6px;
    background-color: #fff;
    box-shadow: none;
}

.kochuro-storefront ul.products,
.kochuro-storefront .products.row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 42px 30px;
    margin: 35px 0 60px;
}

.kochuro-storefront ul.products::before,
.kochuro-storefront ul.products::after {
    display: none;
}

.kochuro-storefront .kochuro-product-card,
.kochuro-product-card {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kochuro-product-card__inner,
.kochuro-product-card > a {
    position: relative;
    display: flex;
    height: 100%;
    flex-direction: column;
    color: var(--kochuro-ink);
    text-decoration: none;
}

.kochuro-product-card__media {
    position: relative;
    display: block;
    width: 100%;
    margin: 0 0 17px;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--kochuro-soft);
}

.kochuro-product-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
}

.kochuro-product-card:hover .kochuro-product-card__media img {
    transform: scale(1.025);
}

.kochuro-product-card__badge {
    position: absolute;
    z-index: 2;
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    border-radius: 3px;
    background: var(--kochuro-green);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.kochuro-product-card__title,
.kochuro-storefront .kochuro-product-card .woocommerce-loop-product__title {
    min-height: 41px;
    margin: 0 0 6px;
    padding: 0;
    color: var(--kochuro-ink);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.2;
}

.kochuro-product-card__rating {
    display: flex;
    min-height: 20px;
    align-items: center;
    gap: 5px;
    margin-bottom: 4px;
    color: #3a3a3a;
    font-size: 15px;
    line-height: 1.2;
}

.kochuro-product-card__rating .star-rating {
    color: #ebbf20;
    font-size: 15px;
}

.kochuro-product-card__review-count {
    color: #3a3a3a;
    font-size: 13px;
}

.kochuro-product-card__new {
    color: #6a6a6a;
    font-size: 13px;
    font-weight: 500;
}

.kochuro-product-card__price,
.kochuro-storefront .kochuro-product-card .price {
    display: block;
    margin-top: auto;
    color: var(--kochuro-ink);
    font-size: 15px;
    font-weight: 400;
}

.kochuro-product-card__price del,
.kochuro-storefront .kochuro-product-card .price del {
    margin-right: 5px;
    color: #888;
    font-weight: 400;
}

.kochuro-product-card__inner > .button,
.kochuro-product-card__inner > a.added_to_cart {
    display: none;
}

.kochuro-storefront .woocommerce-pagination {
    margin: 35px 0 70px;
}

.kochuro-storefront .page-numbers li > span,
.kochuro-storefront .page-numbers li > a {
    display: grid;
    min-width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--kochuro-line);
    border-radius: 50%;
}

.kochuro-storefront .page-numbers .current,
.kochuro-storefront .page-numbers a:hover {
    border-color: var(--kochuro-green);
    background: var(--kochuro-green);
    color: #fff;
}

.kochuro-category-banner {
    padding: 52px 0;
    background: var(--kochuro-warm);
}

.kochuro-category-banner__inner {
    display: grid;
    grid-template-columns: 1fr minmax(260px, 430px);
    gap: 60px;
    align-items: center;
}

.kochuro-category-banner h1 {
    margin: 0 0 14px;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
}

.kochuro-category-banner p {
    margin: 0;
    color: var(--kochuro-muted);
}

.kochuro-category-banner img {
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
}
