/* DcaShop: mobile sticky add-to-cart; loaded only on product pages. */

.dca-add-to-cart .dca-custom-add-to-cart.disabled{
    display: none;
}
.woocommerce-variation-add-to-cart-disabled .dca-add-to-cart{
    display: none !important;
}
.woocommerce-variation-add-to-cart-disabled .dca-custom-add-to-cart.disabled{
    display: block;
}
.woocommerce-variation-add-to-cart-disabled .dca-custom-add-to-cart.active{
    display: none !important;
}
.dca-add-to-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    padding: 0.5rem 1.5rem;
    background-color: rgb(248 248 248 / 1);
    border-top: 1px solid rgb(215 222 224 / 1);
    width: 100%;
    z-index: 999;
}
.dca-custom-add-to-cart{
    position: relative;
}

.dca-custom-add-to-cart svg{
    width: 20px;
    height: 20px;
    position: absolute;
    left: 16px;
    top: 10px;
}

.dca-add-to-cart .product-price {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.dca-add-to-cart .product-price.stock_quantity_class{
    position: relative;
    margin: 0 !important;
}

.dca-add-to-cart .dca-custom-add-to-cart {
    font-size: 12px;
    margin: 0;
    background-color: #ef4056 !important;
    border-radius: 8px;
    height: 44px;
    width: 100%;
    color: #fff;
}
.dca-product-price del bdi{
    color:rgb(102 102 102);
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.25rem;
}
.dca-product-price bdi {
    color:#111 !important;
    line-height: 1.25rem;
    font-weight: 600;
    font-size: 18px;
}

.dca-add-to-cart .product-price ins bdi {
    color: #ef4056 !important;
    line-height: 1.25rem;
    font-weight: 600;
    font-size: 18px;
}

.dca-add-to-cart .product-discount{
    background-color: #ef4056;
    padding: 0px 5px;
    border-radius: 3px;
    height: 20px;
    color: #fff;
}

.dca-add-to-cart .product-price .woocommerce-Price-currencySymbol{
    font-size: .75rem !important;
}
.dca-product-price del .woocommerce-Price-currencySymbol, .dca-add-to-cart .product-price del .woocommerce-Price-currencySymbol{
    display:none !important;
}
.dca-product-price span.price, .dca-product-price span.woocommerce-Price-amount.amount {
    display:flex !important;
}

.dca-add-to-cart .product-stock{
    color: #ef4056 !important;
    text-align: right;
    font-weight: 600;
    font-size: .75rem;
    margin-bottom: 5px;
}
.dca-add-to-cart .product-price-normal{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: max-content;
}

.dca-add-to-cart .product-stock img{
    margin-left:5px;
}


@media (min-width: 768px){
    .dca-add-to-cart{
        display: none;
    }

}
@media (max-width: 768px){
    .single-product .single_add_to_cart_button{
        display: none !important;
    }
    .single-product .stock.in-stock{
        display: none;
    }
    .single_variation .woocommerce-variation-price{
        display: none;
    }
   .single-product .product-price-container .price-wrapper{
       display: none;
   }

}

/* Initially hidden UI elements, formerly inline styles in add-to-cart.php. */
.dca-add-to-cart #variable-discount,
.dca-add-to-cart #variable-stock,
.dca-add-to-cart .dca-cart-message {
    display: none;
}
.dca-add-to-cart .dca-cart-message {
    color: #b42318;
    font-size: 12px;
    margin-top: 8px;
}
