/* Cart menu styling */
.ast-cart-menu-wrap .count, .ast-cart-menu-wrap .count:after {
    border-color: #aaaaaa;
    color: #aaaaaa;
}

/* Slider shadow */
.slidercss {
    box-shadow: 1px 1px 5px #00000090;
}

/* WooCommerce category title */
.woocommerce-loop-category__title {
    font-weight: 900;
    font-size: 16px;
}

/* Hide infinite footer */
.infinite-footer {
    display: none;
}

.ast-below-header-wrap {
    background-color: #FFF;
}

/* SVG filter for noise effect */
svg#noiseFilter {
    display: none;
}

/* Header bar z-index */
.ast-above-header-bar {
    z-index: 50;
}

/* WooCommerce sale badge */
.woocommerce span.onsale, .wc-block-grid__product .wc-block-grid__product-onsale {
    background-color: #cc0000;
}

/* Hide specific widget bar */
.am-GRwidgetbar-box.am-GRwidgetbar-box_41960 {
    display: none;
}

/* Code block text color */
.wp-block-code {
    color: #000;
}

/* Menu text color */
.menu-text {
    color: #cc0000;
}

/* Sidebar font size */
.sidebar-main {
    font-size: 14px;
}

/* WooCommerce product grid and summary spacing */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    margin-bottom: 0.75em;
    display: flex !important;
    flex-direction: column;
}
.woocommerce ul.products,
.woocommerce-page ul.products {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link {
    flex: 1;
    overflow: visible;
}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link br,
.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link br {
    display: none;
}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link:has(.onsale) .ds-popular-badge,
.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link:has(.onsale) .ds-popular-badge {
    max-width: calc(100% - 50px);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.woocommerce div.product div.summary {
    margin-bottom: 0.5em;
}

/* WooCommerce block grid product title and price */
.wc-block-grid__products .wc-block-grid__product .wc-block-grid__product-title,
.wc-block-grid__products .wc-block-grid__product .price {
    font-family: Roboto;
    font-weight: 500;
}
.wc-block-grid__products .wc-block-grid__product .wc-block-grid__product-title {
    font-size: 2em;
}
.wc-block-grid__products .wc-block-grid__product .price {
    font-size: 1.5em;
}

/* WooCommerce block grid layout */
.wc-block-grid {
    margin: -25px -8px -20px;
}
.wc-block-grid__products p {
    margin-bottom: 0;
}

/* Hide product category text in all grids */
.wc-block-grid .ast-woo-product-category,
.woocommerce .products .ast-woo-product-category {
    display: none;
}

/* WooCommerce select dropdown padding */
.woocommerce .select2-container .select2-selection--single,
.woocommerce select,
.woocommerce-page .select2-container .select2-selection--single,
.woocommerce-page select {
    padding: 0 1em;
}

/* Hide best sellers block on mobile */
@media (max-width: 768px) {
    .wp-block-product-best-sellers.wc-block-product-best-sellers {
        display: none;
    }
}

/* Payment method icons on checkout */
.woocommerce-checkout #payment ul.payment_methods li img {
    height: 25px;
    vertical-align: middle;
    margin: -2px 0 0 0.5em;
    padding: 0;
    position: relative;
    box-shadow: none;
}

/* Store notice padding */
.woocommerce-store-notice, p.demo_store {
    padding: 0.5em;
}

.page-title {
    margin-bottom: .5em;
    font-weight: 900;
}

/* Search button */
#secondary .wp-block-search__button {
    padding: .0em 1em;
}