.ast-header-search .ast-search-icon .astra-search-icon,
.ast-header-woo-cart .ast-site-header-cart .cart-container {
    --header-icon-size: 28px;
}
.ast-header-search .ast-search-icon .astra-search-icon::before {
    background: url("../icons/search.svg") center / contain no-repeat;
}
.ast-header-woo-cart .ast-site-header-cart .ast-addon-cart-wrap::before {
    background: url("../icons/shopping-bag.svg") center / contain no-repeat;
}
.ast-header-search .ast-search-icon .astra-search-icon:hover::before,
.ast-header-woo-cart .ast-site-header-cart .cart-container:hover .ast-addon-cart-wrap::before {
    opacity: 1;
}

.ast-header-woo-cart .ast-site-header-cart .astra-icon[data-cart-total]::after {
    display: inline-grid;
    place-items: center;
    box-sizing: border-box;
    min-width: 22px;
    height: 22px;
    padding: 0 4px;
    border-radius: 999px;
    background: #000;
    color: #fff;
    font-size: 11px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

:is(#astra-mobile-cart-drawer, .single-product form.cart)
.quantity.buttons_added > input.qty[type="number"]:focus {
    border: 0;
    outline: none;
    box-shadow: none;
    text-decoration: none;
}

#astra-mobile-cart-drawer .woocommerce-mini-cart__buttons.buttons > a.button.wc-forward {
    background: transparent;
    border-color: #8e8982;
    color: #171717;
    transition: background-color .2s ease, border-color .2s ease;
}
#astra-mobile-cart-drawer .woocommerce-mini-cart__buttons.buttons > a.button.checkout.wc-forward {
    gap: 9px;
    background: #171717;
    border-color: #171717;
    color: #fff;
}
#astra-mobile-cart-drawer .woocommerce-mini-cart__buttons.buttons > a.button.checkout::after {
    content: "";
    width: 17px;
    height: 17px;
    flex: none;
    margin: 0;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10h13m-5-5 5 5-5 5'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (hover: hover) {
    #astra-mobile-cart-drawer .woocommerce-mini-cart__buttons.buttons > a.button.wc-forward:not(.checkout):hover {
        background: #f4f1ec;
        border-color: #171717;
    }
    #astra-mobile-cart-drawer .woocommerce-mini-cart__buttons.buttons > a.button.checkout.wc-forward:hover {
        background: #303030;
        border-color: #303030;
    }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    #astra-mobile-cart-drawer .woocommerce-mini-cart__buttons.buttons > a.button.checkout::after {
        transition: transform .2s ease;
    }
    #astra-mobile-cart-drawer .woocommerce-mini-cart__buttons.buttons > a.button.checkout:hover::after {
        transform: translateX(3px);
    }
}
