
.supercan-shop-grouped {
    margin: 0 -8px;
    clear: both;    /* clear WC's float-left .woocommerce-result-count */
}
.supercan-shop-cat {
    padding: 24px 8px 8px;
    clear: both;    /* defensive — each section also clears */
}
.supercan-shop-cat + .supercan-shop-cat {
    border-top: 1px solid #ececec;
    margin-top: 24px;
}
.supercan-shop-cat__title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 14px;
    color: #111;
    letter-spacing: .2px;
}
.supercan-shop-cat__title a {
    color: inherit;
    text-decoration: none;
    border-bottom: 2px solid #46B040;
    padding-bottom: 2px;
    transition: color .15s ease;
}
.supercan-shop-cat__title a:hover { color: #46B040; }
.supercan-shop-cat__count {
    font-size: 13px;
    color: #888;
    font-weight: 500;
    margin-left: 4px;
}
.supercan-shop-cat__desc {
    font-size: 14px;
    color: #555;
    margin: 0 0 18px;
    max-width: 720px;
    line-height: 1.6;
}
/* WC product grid spacing inside each section */
.supercan-shop-cat .woocommerce.columns-4 ul.products,
.supercan-shop-cat ul.products {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 22px !important;
}
/* The theme adds ::before/::after pseudo-elements to ul.products as a
   clearfix (display: table). Inside a CSS grid container these pseudo
   elements become grid items and occupy cells, pushing real products
   out of column 1. Disable them. */
.supercan-shop-cat ul.products::before,
.supercan-shop-cat ul.products::after {
    display: none !important;
    content: none !important;
}
.supercan-shop-cat ul.products li.product {
    margin: 0 !important;
    width: auto !important;
    float: none !important;
    clear: none !important;
    text-align: center;
}
/* Constrain product thumbnail to fixed aspect ratio without touching the
   parent <a> (whose subtree also contains the product title/price — we
   don't want overflow:hidden to clip those). */
.supercan-shop-cat ul.products li.product img,
.supercan-shop-cat ul.products li.product .attachment-woocommerce_thumbnail {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    object-fit: contain !important;
    object-position: center !important;
    background: #fafafa;
    border-radius: 8px;
    margin: 0 0 10px !important;
    padding: 0 !important;
    transition: transform .25s ease;
}
.supercan-shop-cat ul.products li.product:hover img {
    transform: scale(1.03);
}
/* Suppress the bulk-shop theme's :focus / :active outline that boxes the
   product link area after clicking. Keep a subtle a11y-friendly indicator
   via background tint instead of the hard rectangle. */
.supercan-shop-cat ul.products li.product a,
.supercan-shop-cat ul.products li.product a:focus,
.supercan-shop-cat ul.products li.product a:focus-visible,
.supercan-shop-cat ul.products li.product a:active {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}
.supercan-shop-cat ul.products li.product a:focus-visible {
    outline: 2px solid rgba(70,176,64,.35) !important;
    outline-offset: 4px;
    border-radius: 4px;
}
.supercan-shop-cat ul.products li.product .woocommerce-loop-product__title {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #222 !important;
    margin: 0 0 6px !important;
    padding: 0 4px !important;
    line-height: 1.4 !important;
    min-height: 2.8em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.supercan-shop-cat ul.products li.product .price {
    font-size: 26px !important;
    color: #46B040 !important;
    font-weight: 700 !important;
    margin: 6px 0 12px !important;
    letter-spacing: .3px;
    line-height: 1.2;
}
.supercan-shop-cat ul.products li.product .price .woocommerce-Price-amount,
.supercan-shop-cat ul.products li.product .price bdi {
    font-size: inherit !important;
    color: inherit !important;
    font-weight: inherit !important;
}
.supercan-shop-cat ul.products li.product .button {
    font-size: 13px !important;
    padding: 8px 14px !important;
}
@media (max-width: 1100px) {
    .supercan-shop-cat ul.products { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 900px) {
    .supercan-shop-cat .woocommerce.columns-4 ul.products,
    .supercan-shop-cat ul.products.columns-4,
    .supercan-shop-cat ul.products {
        grid-template-columns: 1fr !important;
        justify-items: center !important;
        place-items: center !important;
        gap: 28px !important;
        padding: 0 16px !important;
    }
    .supercan-shop-cat .woocommerce.columns-4 ul.products li.product,
    .supercan-shop-cat ul.products.columns-4 li.product,
    .supercan-shop-cat ul.products li.product {
        max-width: 480px !important;
        width: 100% !important;
        text-align: center !important;
        margin: 0 auto !important;
        justify-self: center !important;
        float: none !important;
    }
    .supercan-shop-cat ul.products li.product a img,
    .supercan-shop-cat ul.products li.product img {
        max-width: 100% !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .supercan-shop-cat__title { font-size: 18px; text-align: center; }
    .supercan-shop-cat .woocommerce.columns-4 ul.products li.product h2.woocommerce-loop-product__title,
    .supercan-shop-cat ul.products li.product h2.woocommerce-loop-product__title {
        font-size: 19px !important;
        font-weight: 700 !important;
        text-align: center !important;
        margin: 6px 0 2px !important;
        padding: 0 !important;
        line-height: 1.25 !important;
        color: #111 !important;
    }
    .supercan-shop-cat .woocommerce.columns-4 ul.products li.product .woocommerce-LoopProduct-link,
    .supercan-shop-cat ul.products li.product .woocommerce-LoopProduct-link {
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .supercan-shop-cat .woocommerce.columns-4 ul.products li.product .price,
    .supercan-shop-cat ul.products li.product .price {
        font-size: 26px !important;
        margin: 0 0 12px !important;
        padding: 0 !important;
        text-align: center !important;
        line-height: 1.2 !important;
        display: block !important;
    }
    .supercan-shop-cat ul.products li.product .button {
        display: inline-block !important;
        font-size: 14px !important;
        padding: 10px 22px !important;
        margin: 0 auto !important;
    }
}

.sc-shop-intro {max-width:1000px;line-height:1.7;margin-bottom:28px} .sc-shop-note{color:#666;font-size:14px} .supercan-shop-cat ul.products li.product .woocommerce-loop-product__title{display:block;-webkit-line-clamp:unset;overflow:visible;overflow-wrap:anywhere} .sc-shop-category-nav{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0;padding:0;list-style:none}.sc-shop-category-nav a{display:block;padding:8px 14px;border:1px solid #ddd;border-radius:6px;color:#222}.sc-shop-category-nav a:hover{border-color:#46B040;color:#287c24} .supercan-shop-cat{scroll-margin-top:90px}
