/* === HEADER / MINI CART / LOGO === */

.wc-block-mini-cart__quantity-badge .wc-block-mini-cart__icon {
    display: block;
}

.wc-block-mini-cart__quantity-badge::before {
    display: none;
}

header figure img.wp-image-1543,
.header-logo img {
    width: 140px;
}

.wc-block-mini-cart__quantity-badge .wc-block-mini-cart__icon path,
.wc-block-mini-cart__quantity-badge .wc-block-mini-cart__icon circle {
    fill: #000000;
}

footer img.wp-image-1543 {
    width: 130px;
}

.header-v1 .wc-block-mini-cart__badge {
    background: #00a499 !important;
    color: #fff !important;
}

/* === PRODUCT GRIDS: Shop, category archives, search results === */

/* Category / subcategory tiles under images on Shop & category pages */
.woocommerce ul.products li.product-category .woocommerce-loop-category__title {
    text-align: center !important;
}

/* Center all product card content and price, and colour the price */
.woocommerce ul.products li.product {
    text-align: center; /* This will also center the button inside */
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .wp-block-post-terms {
    text-align: inherit !important; /* inherit center from the li */
}

.woocommerce ul.products li.product .price {
    display: block;
    margin-left: auto;
    margin-right: auto;
    color: #00A499;
}

.woocommerce ul.products li.product .price * {
    display: inline;
}

/* Center add-to-cart / select-options buttons in all classic product grids */
.woocommerce ul.products li.product .button {
    float: none !important;             /* kill any theme float */
    display: inline-block !important;   /* allows centering via text-align */
    margin: 0.5em auto 0;               /* spacing above the button */
}


/* WooCommerce Blocks product grids (e.g. Product Search Results, All Products block) */
/* Center product title, terms and price, and colour the price. */
.wc-block-grid__product .wc-block-grid__product-title,
.wc-block-grid__product .wp-block-post-terms {
    text-align: center !important;
}

.wc-block-grid__product .wc-block-grid__product-price {
    display: block;
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
    color: #00A499;
}

.wc-block-grid__product .wc-block-grid__product-price * {
    display: inline;
}


/* Block-based product templates (e.g. Product Search Results template) */
.wc-block-product-template .wc-block-components-product-price {
    display: block;
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
    color: #00A499;
}

.wc-block-product-template .wc-block-components-product-price * {
    display: inline;
}


/* Center category & subcategory names under their images on Shop/category pages */
.woocommerce ul.products li.product-category,
.woocommerce ul.products li.product-category a,
.woocommerce ul.products li.product-category .woocommerce-loop-category__title {
    text-align: center !important;
}

/* Change WooCommerce "Sale" badge background */
.woocommerce span.onsale {
    background-color: #e4002b !important; /* your new colour */
    color: #ffffff !important;            /* text colour (optional) */
}

/* === MINI CART DRAWER EMPTY ICON === */

/* Base colour on the container/icon (covers currentColor-based SVGs) */
.wc-block-mini-cart__empty-cart,
.wc-block-mini-cart__empty-cart-icon {
    color: #E4002B !important;
}

/* === MINI CART DRAWER EMPTY ICON - RED === */

:root .wp-block-woocommerce-mini-cart-contents
.wp-block-woocommerce-empty-mini-cart-contents-block
.wc-block-mini-cart__empty-cart-wrapper
p::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23E4002B'%3E%3Cpath fill-rule='evenodd' d='M6.146 8.146a.5.5 0 0 1 .708 0L8 9.293l1.146-1.147a.5.5 0 1 1 .708.708L8.707 10l1.147 1.146a.5.5 0 0 1-.708.708L8 10.707l-1.146 1.147a.5.5 0 0 1-.708-.708L7.293 10 6.146 8.854a.5.5 0 0 1 0-.708'/%3E%3Cpath d='M8 1a2.5 2.5 0 0 1 2.5 2.5V4h-5v-.5A2.5 2.5 0 0 1 8 1m3.5 3v-.5a3.5 3.5 0 1 0-7 0V4H1v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V4zM2 5h12v9a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1z'/%3E%3C/svg%3E") !important;
}
