/* Shop/category/tag archive CSS - enqueue only on is_shop()/is_product_category()/is_product_tag()
   Extracted from the original monolithic style.css during CSS modularization. */

/* hide category links below product name */
.archive .loop-product-categories {
    display: none !important;
}

body.archive a.compare.button.added {
	display: inline-block !important;
}

@media (max-width: 1200px) {
    .archive .site-content .sidebar .custom-products-widget,
    .archive .site-content .sidebar aside#electro_onsale_product_widget-2 {
        display: none;
    }
.archive .site-content .sidebar {
    order: -1;
}
 /*compare SVG button */
}
@media (min-width: 1200px) {
.archive li.product.first:last-child .product-outer {
    height: 367px !important;
}
}

/* GRID GAP BELOW PRODUCTS BEFORE DESCRIPTION
   desc-top / desc-bottom are now printed once each by inc/shop-loop.php
   (ec_child_term_description_top/_bottom), so the old show/hide rules that
   masked a duplicated description are gone. */
ul.products {
    padding-bottom: 120px !important;
}

ul.products ~ .term-description::before {
    height: 0;
}

ul.products > li.product:last-child {
    align-self: flex-start;
}

/* Remove the universal ::before spacer — it's hitting both instances */
/* Delete the .term-description::before block entirely */

/* Keep this if the last row items are getting clipped */
ul.products {
    padding-bottom: 30px;
}

/* Promotional blocks render as a single .promo-block link with no rating
   markup at all (see inc/shop-loop.php), so the only thing left to suppress
   here is the theme-level rating row if a promo product ever picks one up. */
li.loop-custom-ads .product-rating {
    display: none !important;
}

