/**
 * Cart styles
 */
.woocommerce #ast-cart-wrapper .woocommerce-cart-form .delivery-method-title{
    font-size: 20px;
    margin-bottom: 10px;
}
.woocommerce #ast-cart-wrapper .woocommerce-cart-form table{
    border-spacing: 0 20px;
    border: 0;
}
.woocommerce #ast-cart-wrapper .woocommerce-cart-form table tr{
    box-shadow: 0 1px 5px #d5d5d5;
    background: #FFFFFF;
    position: relative;
}
.woocommerce #ast-cart-wrapper .woocommerce-cart-form table tr td{
    border: 0;
}
.woocommerce #ast-cart-wrapper .woocommerce-cart-form table .cart_item .product-thumbnail a{
    display: flex;
    justify-content: center;
}
.woocommerce #ast-cart-wrapper .woocommerce-cart-form table .cart_item .product-thumbnail img{
    max-width: 140px;
    max-height: 140px;
}
.woocommerce #ast-cart-wrapper .woocommerce-cart-form table .cart_item .product-name{
    padding-top: 20px;
    padding-bottom: 20px;
    vertical-align: top;
}
.woocommerce #ast-cart-wrapper .woocommerce-cart-form table .cart_item .product-name .rx-product{
    font-size: 12px;
    color: #E35454;
}
.woocommerce #ast-cart-wrapper .woocommerce-cart-form table .cart_item .product-name .ast-product-name{
    line-height: 1.5;
}
.woocommerce #ast-cart-wrapper .woocommerce-cart-form table .cart_item .product-name>div:not(:last-child){
    margin-bottom: 20px;
}
.woocommerce #ast-cart-wrapper .woocommerce-cart-form table .cart_item .product-name .delivery-method-block label{
    display: flex;
    align-items: center;
    gap: 10px;
}
.woocommerce #ast-cart-wrapper .woocommerce-cart-form table .cart_item .product-name .delivery-method-block label input{
    /* Add if not using autoprefixer */
    -webkit-appearance: none;
    appearance: none;
    /* For iOS < 15 to remove gradient background */
    background-color: #fff;
    /* Not removed via appearance */
    margin: 0;
    font: inherit;
    color: var(--ast-global-color-0);
    width: 1.15em;
    height: 1.15em;
    border: 0.15em solid currentColor;
    border-radius: 50%;
    display: grid;
    place-content: center;
}
.woocommerce #ast-cart-wrapper .woocommerce-cart-form table .cart_item .product-name .delivery-method-block label input:hover{
    cursor: pointer;
}
.woocommerce #ast-cart-wrapper .woocommerce-cart-form table .cart_item .product-name .delivery-method-block label input::before {
    content: "";
    width: 0.65em;
    height: 0.65em;
    border-radius: 50%;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em var(--ast-global-color-0);
}
.woocommerce #ast-cart-wrapper .woocommerce-cart-form table .cart_item .product-name .delivery-method-block label input:checked::before {
    transform: scale(1);
}
.woocommerce #ast-cart-wrapper .woocommerce-cart-form table .cart_item .product-name .ast-product-name a{
    font-size: 15px;
}
.woocommerce #ast-cart-wrapper .woocommerce-cart-form table .cart_item .product-name .delivery-method-block{
    display: flex;
    flex-direction: column;
    font-size: 13px;
}
.woocommerce #ast-cart-wrapper .woocommerce-cart-form table .cart_item .product-name .delivery-method{
    display: flex;
    flex-direction: column;
}
.woocommerce #ast-cart-wrapper .woocommerce-cart-form table .cart_item .product-name .delivery-not-possible{
    font-size: 13px;
    font-weight: 400;
    color: #727272;
}
.woocommerce #ast-cart-wrapper .woocommerce-cart-form table .cart_item .product-name .cart-choose-pharmacy{
    display: flex;
}
.woocommerce #ast-cart-wrapper .woocommerce-cart-form table .cart_item .product-name .cart-choose-pharmacy .cart-choose-pharmacy-title{
    font-size: 13px;
    font-weight: 400;
    text-decoration: underline;
    min-width: 110px;
    color: #71C45D;
    cursor: pointer;
    line-height: 1.5;
}
.woocommerce #ast-cart-wrapper .woocommerce-cart-form table .cart_item .product-name .cart-choose-pharmacy.notice .cart-choose-pharmacy-title{
    color: #E35454;
}
.woocommerce #ast-cart-wrapper .woocommerce-cart-form table .cart_item .product-name .cart-choose-pharmacy .pharmacy-error-notice{
    display: none;
    font-size: 13px;
    font-weight: 400;
    min-width: 110px;
    color: #E35454;
    line-height: 1.5;
    margin-left: 15px;
}
.woocommerce #ast-cart-wrapper .woocommerce-cart-form table .cart_item .product-name .cart-choose-pharmacy.notice .pharmacy-error-notice{
    display: inline-block;
}
.woocommerce #ast-cart-wrapper .woocommerce-cart-form table .cart_item .product-name .cart-choose-pharmacy .cart-choose-pharmacy-desc{
    font-size: 13px;
    font-weight: 400;
    color: #727272;
    margin-left: 10px;
    line-height: 1.5;
}
.woocommerce #ast-cart-wrapper .woocommerce-cart-form table .cart_item .product-name .cart-choose-pharmacy .delete-pharmacy{
    font-size: 13px;
    font-weight: 400;
    color: #E35454;
    margin-left: 10px;
    line-height: 1.5;
}
.woocommerce #ast-cart-wrapper .woocommerce-cart-form table .cart_item .product-name .cart-choose-pharmacy .delete-pharmacy:hover{
    cursor: pointer;
}
.woocommerce #ast-cart-wrapper .woocommerce-cart-form table .cart_item .product-quantity .woo-price-and-quantity.block a{
    visibility: hidden;
}
.woocommerce #ast-cart-wrapper .woocommerce-cart-form table .cart_item .product-quantity .quantity .qty,
.woocommerce #ast-cart-wrapper .woocommerce-cart-form table .cart_item .product-quantity .quantity .minus,
.woocommerce #ast-cart-wrapper .woocommerce-cart-form table .cart_item .product-quantity .quantity .plus{
    border: 0;
}
.woocommerce #ast-cart-wrapper .woocommerce-cart-form table .cart_item .product-quantity .woo-price-and-quantity{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.woocommerce #ast-cart-wrapper .woocommerce-cart-form table .cart_item .product-quantity .woo-item-price{
    font-size: 13px;
    color: #727272;
    font-weight: 400;
}
.woocommerce #ast-cart-wrapper .woocommerce-cart-form table .cart_item .product-remove a.remove:before{
    content: none;
}
.woocommerce #ast-cart-wrapper .woocommerce-cart-form table .cart_item .product-remove span{
    transform: none;
}
.woocommerce #ast-cart-wrapper .woocommerce-cart-form table .cart_item .product-remove span svg{
    width: 20px;
    height: 20px;
    fill: #71C45D;
}
#ast-cart-wrapper .cart-collaterals .cart_totals{
    padding: 44px 45px 0;
    box-shadow: 0 1px 5px #d5d5d5;
    background: #FFFFFF;
    border: none;
}
#ast-cart-wrapper .cart-collaterals .cart_totals>h2{
    background: none;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    border-bottom: 0;
}
#ast-cart-wrapper .cart-collaterals .cart_totals table{
    border: 0;
}
#ast-cart-wrapper .cart-collaterals .cart_totals table th{
    width: 60%;
}
#ast-cart-wrapper .cart-collaterals .cart_totals table th,
#ast-cart-wrapper .cart-collaterals .cart_totals table td{
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    padding: 8px 0;
    border: 0;
}
#ast-cart-wrapper .cart-collaterals .cart_totals table tr:last-child th,
#ast-cart-wrapper .cart-collaterals .cart_totals table tr:last-child td{
    border-top: 1px solid #EAEAEA;
}
#ast-cart-wrapper .cart-collaterals .cart_totals table td:before{
    display: none;
}
#ast-cart-wrapper .cart-collaterals .cart_totals table .order-total td span{
    font-weight: 600;
}
#ast-cart-wrapper .cart-collaterals .cart_totals .wc-proceed-to-checkout .checkout-button{
    border-radius: 40px;
}
#ast-cart-wrapper .woocommerce-cart-form .shop_table tbody tr td.actions{
    display: none;
}
#ast-cart-wrapper .cart-collaterals .cart_totals .wc-proceed-to-checkout button.checkout-button{
    font-size: 1.1em;
    line-height: 1.8em;
    display: block;
    text-align: center;
    margin-bottom: 1em;
    padding: 10px 46px;
    width: 100%;
}
.woocommerce-cart-form__contents .product-remove a.remove{
    position: absolute;
    top: 15px;
    right: 15px;
}

#cart-loading{
    display: none;
    position: fixed;
    top: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgba(184, 184, 187, 0.50);
    z-index: 222;
}
#cart-loading.show{
    display: flex;
    justify-content: center;
    align-items: center;
}
#cart-loading .loading-block svg{
    width: 150px;
    height: 150px;
    animation: rotation 2s infinite linear;
}

@media screen and (min-width: 922px){
    .woocommerce #ast-cart-wrapper .woocommerce-cart-form table .cart_item .product-subtotal{
        padding-right: 0;
    }

}
@media screen and (max-width: 922px){
    .woocommerce #ast-cart-wrapper .woocommerce-cart-form table tr{
        display: flex;
        flex-wrap: wrap;
    }
    .woocommerce #ast-cart-wrapper .woocommerce-cart-form table tr td:before{
        content: none;
    }
    .woocommerce #ast-cart-wrapper .woocommerce-cart-form table tr td.product-thumbnail{
        width: 30%;
    }
    .woocommerce #ast-cart-wrapper .woocommerce-cart-form table tr td.product-thumbnail img{
        width: 100px;
    }

    .woocommerce #ast-cart-wrapper .woocommerce-cart-form table tr td.product-name{
        width: 70%;
    }
    .woocommerce #ast-cart-wrapper .woocommerce-cart-form table tr td.product-name>.ast-product-image{
        margin-top: 30px;
    }
    .woocommerce #ast-cart-wrapper .woocommerce-cart-form table .cart_item .product-name .ast-product-name a{
        text-align: start;
    }
    .woocommerce #ast-cart-wrapper .woocommerce-cart-form table .cart_item .product-name .delivery-method-block{
        align-items: flex-start;
    }
    .woocommerce #ast-cart-wrapper .woocommerce-cart-form table .cart_item .product-name .cart-choose-pharmacy{
        justify-content: end;
    }
    .woocommerce #ast-cart-wrapper .woocommerce-cart-form table tr td.product-quantity,
    .woocommerce #ast-cart-wrapper .woocommerce-cart-form table tr td.product-subtotal{
        width: 50%;
    }
    .woocommerce #ast-cart-wrapper .woocommerce-cart-form table .cart_item .product-remove{
        position: absolute;
        right: 15px;
        transform: none;
        vertical-align: baseline;
    }

}
