/* Hide selected WooCommerce elements and the Download menu item on the homepage. */

/* Shared spacing for the two key-product layouts. Gutenberg's extra flow gap
   is neutralized in the Astra bridge, so this value owns section spacing. */
:root {
    --mpc-product-section-space: clamp(26px, 3.7vw, 42px);
}

.button.cancel,
.cart-subtotal,
.single-product .product_meta,
.woocommerce-message,
.woocommerce-ordering,
.woocommerce-result-count,
.woocommerce-tabs .tabs,
div.wmc-currency.BYN,
div.wmc-currency.RUB,
body.home .hide-on-home {
    display: none !important;
}

/* Disable WC headings capitalization */

#customer_login>div .button,
#customer_login>div .showcoupon-tag,
#customer_login>div .showlogin-tag,
#customer_login>div label,
.customer_details thead th,
.woocommerce-MyAccount-content .form-row label,
.woocommerce-orders-table thead th,
form.lost_reset_password .button,
form.lost_reset_password .showcoupon-tag,
form.lost_reset_password .showlogin-tag,
form.lost_reset_password label,
form.track_order .button,
form.track_order .showcoupon-tag,
form.track_order .showlogin-tag,
form.track_order label {
    text-transform: none !important
}

/* Remove product image link */

.woocommerce-product-gallery a {
    pointer-events: none;
    cursor: default
}

/* Woocommerce Multy Currency */

.woocommerce-multi-currency.wmc-shortcode.plain-vertical .wmc-currency-wrapper .wmc-sub-currency {
    z-index: 500
}

.woocommerce-multi-currency.wmc-shortcode.plain-vertical .wmc-currency-wrapper span.wmc-current-currency {
    border: none
}

.woocommerce-multi-currency.wmc-shortcode.plain-vertical .wmc-currency-wrapper .wmc-sub-currency .wmc-currency,
.woocommerce-multi-currency.wmc-shortcode.plain-vertical .wmc-currency-wrapper span.wmc-current-currency {
    padding: 0 5px
}

/* Yoast SEO Breadcrumbs The7 theme adaptation */

#breadcrumbs,
#breadcrumbs a {
    color: #b4b5bb;
    font: normal 12px/22px "Open Sans", Helvetica, Arial, Verdana, sans-serif;
    text-transform: none;
    text-decoration: none
}

#breadcrumbs a:hover {
    text-decoration: underline
}

/* Table of contents block styles in Gutenberg */

.gb_table-of-contents {
    transition: all .5s ease-in-out;
    background-color: #fafafa;
    border: 1px solid #e3e3e3;
    padding: 30px;
    margin: 20px 0 !important;
    display: grid
}

body.mpc-theme-astra .gb_table-of-contents {
    box-sizing: border-box;
    padding: 30px !important
}

body.mpc-theme-astra .gb_table-of-contents > ul {
    margin: 0 !important;
    padding-inline-start: 24px !important;
    list-style: disc outside !important
}

/* Boxcoin block align center */

.bxc-main {
    margin: auto
}
