/* ------------------------------------------------------------------------------
* Author: web-zone.org
* @package Airin Blog
* Description: Styles for WooCommerce
* ------------------------------------------------------------------------------ */


/* line-height */
.woocommerce .airinblog-css-site-main div.product form.cart div.quantity,
.woocommerce .airinblog-css-site-main div.product .woocommerce-tabs ul.tabs {
    line-height: 1.5;
}

/* Widget support */
.widget .product-categories li {
    padding-top: 0.5em;
}

/* Edit link - View Cart (sticks to neighboring elements) */
.woocommerce a.added_to_cart {
    padding-left: 5px;
}

/* Styles for Mini Cart in the Top menu */
.airinblog-woo-mini-cart {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 5px;
    margin-right: 10px;
    min-width: 120px;
}
.airinblog-woo-mini-cart-price {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.airinblog-woo-mini-cart:after {
    font-family: "icomoon";
    content: "\e901";
    text-rendering: auto;
    margin-left: 7px;
    font-size: 2.375em;
}
.airinblog-woo-mini-cart.airinblog-cart-mid {
    min-width: 130px;
}
.airinblog-woo-mini-cart.airinblog-cart-mid:after {
    font-size: 1.675em;
}
.airinblog-woo-mini-cart.airinblog-cart-mid a {
    font-size: 1em;
}
.airinblog-woo-mini-cart.airinblog-cart-small:after {
    font-size: 1.375em;
}
.airinblog-woo-mini-cart.airinblog-cart-big {
    min-width: 140px;
}

/* Styles for the cart in the main menu */
.airinblog-menu-cart-total:before {
    font-family: "icomoon";
    content: "\e900";
    text-rendering: auto;
    margin-right: 7px;
    font-size: 0.875em;
}

/* Tab focus support */
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    outline: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a:focus {
    padding: 0.5em;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

/* Edit cards while in focus */
.woocommerce a.woocommerce-loop-product__link:focus {
	outline: none;
}

/* Editing the drop-down list of sorting by attributes */
.select2-container li.select2-search--inline .select2-search__field {
    padding-left: 5px;
}
.select2-container--default span.select2-selection--multiple {
    border-radius: 0;
}
.select2-container--default .select2-selection--multiple li.select2-selection__choice {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 0;
}

/* Editing the selection of attributes in the product card */
.woocommerce .variations_form .variations tr > td,
.woocommerce .variations_form .variations tr > th {
    padding: 5px 15px 5px 0;
}

/* Breadcrumbs */
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) nav.woocommerce-breadcrumb,
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) nav.woocommerce-breadcrumb a {
    color: inherit;
}

/* Cart in widgets */
.widget :where(.wc-block-mini-cart__badge) {
    background-color: inherit;
    color: inherit;
}

/* Fix block (Order summary) */
.wc-block-components-order-summary-item {
    flex-wrap: wrap;
}

/* Fix block (dropdown) */
.woocommerce-widget-layered-nav-dropdown {
    display: flex;
    flex-direction: column;
}