/*
Theme Name: Astra Child
Author: Saneep
Description: Astra Child Theme
Version: 1.0
Template: astra

This is the child theme for Astra theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/

/* custom css for cart start here  */
@media only screen and (min-width:280px){
  
    .wc-block-components-sidebar-layout {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    body .wc-block-components-sidebar-layout .wc-block-components-main {
        padding: 0px;
        width: 100%;
    }
    tr.wc-block-cart-items__row {
        box-shadow: 0px 2px 8px rgba(0,0,0,0.16);
        min-height: 90px;
        background-color: #f4f8f7;
        border-radius: 8px;
        border: 1px solid #487170;
        box-sizing: border-box;
        height: 100%;
        padding: 15px !IMPORTANT;
        display: flex !IMPORTANT;
        position: relative;
        margin-bottom: 20px;
        gap: 17px;
    }
    .editor-styles-wrapper table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image img, table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image img {
        width: 63px !important;
        height: 63px;
    }
    td.wc-block-cart-item__image {
        width: 63px;
        height: 63px;
        border-radius: 8px;
        flex-shrink: 0;
    }
    td.wc-block-cart-item__total {
        display: flex;
        align-items: end;
    }
    a.wc-block-components-product-name {
        color: #030303;
        font-size: 14px;
        font-family: "Nunito", Sans-serif;
        font-weight: 500;
        letter-spacing: 1px;
        line-height: normal !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-right: 18px;
        color: #030303;
        font-size: 14px;
        font-family: "Nunito", Sans-serif;
        font-weight: 500;
        letter-spacing: 1px;
        line-height: 18px;
        margin-bottom: 10px !important;
    }
    span.price.wc-block-components-product-price {
        line-height: normal !important;
    }
    .wc-block-components-product-metadata {
        display: none;
    }
    .wc-block-cart-item__quantity {
        padding-right: 0px !IMPORTANT;
    }
    .wc-block-cart-item__wrap {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        height: 100%;
    }
    .wc-block-cart-item__prices {
        display: none;
    }
    td.wc-block-cart-item__total {
        position: absolute;
        bottom: 20px;
        left: 190px;
    }
    button.wc-block-cart-item__remove-link {
        position: absolute;
        top: 15px;
        right: 15px;
        background-image: url(/wp-content/uploads/2024/05/Icon-trash.svg) !important;
        font-size: 0px !important;
        width: 14px;
        height: 14px;
        background-size: contain !important;
        background-repeat: no-repeat !important;
    }
    
    .wc-block-components-quantity-selector {
        width: 78px !important;
        height: 30px !important;
        background-color: #ffffff;
        border-radius: 8px;
        border: 1px solid #4c6aa3;
        box-sizing: border-box !IMPORTANT;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 0px !important;
        justify-content: center;
        border-radius: 8px !important;
    }
    span.wc-block-formatted-money-amount.wc-block-components-formatted-money-amount.wc-block-components-product-price__value {
        color: #030303;
        font-size: 14px;
        font-family: "Nunito", Sans-serif;
        font-weight: 600;
        letter-spacing: 1px;
        line-height: normal;
        text-align: right;
    }
    input.wc-block-components-quantity-selector__input {
        color: #030303 !important;
        font-size: 14px !important;
        font-family: "Nunito", Sans-serif !important;
        font-weight: 500 !important;
        letter-spacing: 1px;
        line-height: 18px !important;
        text-align: center;
        padding: 0px !important;
        min-width: 23px !important;
        height: auto !important;
        flex: 0 0 0 !important;
    }
    button.wc-block-components-quantity-selector__button.wc-block-components-quantity-selector__button--minus , button.wc-block-components-quantity-selector__button.wc-block-components-quantity-selector__button--plus {
        color: #030303;
        font-size: 18px;
        font-family: "Nunito", Sans-serif;
        line-height: 23px;
        text-align: center;
        min-width: auto;
        width: max-content;
    }
    button.wc-block-components-quantity-selector__button.wc-block-components-quantity-selector__button--plus:focus, button.wc-block-components-quantity-selector__button.wc-block-components-quantity-selector__button--plus:hover {
        background: white !important;
        border: none;
        outline: none;
        box-shadow: none;
    }
    .wc-block-cart table.wc-block-cart-items td {
        margin: 0 0 0px !important;
    }
    .is-large.wc-block-cart .wc-block-cart-items td {
        border-top: 0px solid hsla(0,0%,7%,.11) !important;
        padding: 0px !important;
    }
    td.wc-block-cart-item__image {
        padding-right: 0px !important;
    }
    table.wc-block-cart-items.wp-block-woocommerce-cart-line-items-block >tbody >tr:last-child {
        margin-bottom: 0px;
    }
    .wc-block-components-sidebar {
        box-sizing: border-box;
        margin-top: 45px !important;
       margin-bottom: 35px !important;
    }
    .wp-block-woocommerce-cart-order-summary-block {
        /* height: 228px; */
        background-color: #f4f8f7;
        border-radius: 2px 2px 0 0;
        /* width: calc(100% + 40px);
        margin-left: -20px; */
        padding: 30px 20px 35px;
    }
    .wp-block-woocommerce-cart-order-summary-subtotal-block.wc-block-components-totals-wrapper {
        padding: 0;
        color: #030303;
        font-size: 14px;
        font-family: "Roboto", Sans-serif;
        font-weight: 500;
        line-height: 18px;
        border: none;
        margin-bottom: 8px;
    }
    .wp-block-woocommerce-cart-order-summary-coupon-form-block.wc-block-components-totals-wrapper {
        display: none;
    }
    .wc-block-components-totals-wrapper {
        color: #030303;
        font-size: 16px;
        font-family: "Roboto", Sans-serif;
        font-weight: 700;
        line-height: 20px;
        /* padding: 8px 0 0 !important; */
    }
    .wp-block-woocommerce-cart-order-summary-block>div {
        padding: 0px !IMPORTANT;
    }
    .wp-block-woocommerce-cart-order-summary-block>div:last-child{
        padding: 8px 0 0 !important;
    }
   
    .wc-block-cart__payment-options.wp-block-woocommerce-cart-express-payment-block {
        display: none;
    }
    .wc-block-cart__submit.wp-block-woocommerce-proceed-to-checkout-block {
        background-color: #f4f8f7;
        border-radius: 0 0 2px 2px;
        /* width: calc(100% + 40px); */
        /* margin-left: -20px; */
        padding: 0px 20px 35px;
        margin-bottom: 0px;
    }
    .wc-block-components-sidebar.wc-block-cart__sidebar.wp-block-woocommerce-cart-totals-block {
        position: fixed;
        bottom: 0;
        width: 100%;
        margin-bottom: 0 !important;
    }
    .wc-block-cart__submit-container {
        cursor: pointer;
        height: 50px;
        padding: 0px 8px;
        border: 0;
        box-sizing: border-box;
        border-radius: 8px;
        display: flex;
        background-color: #4c6aa3 !important;
    }
    span.wc-block-components-button__text {
        color: #ffffff;
        font-size: 18px;
        font-family: "Inter", Sans-serif;
        font-weight: 600;
        line-height: normal;
        outline: none;
        font-family: "Inter", Sans-serif;
        height: 100%;
        display: flex !important;
        align-items: center;
        position: relative;
    }
    
    .wc-block-cart .wc-block-cart__submit-container--sticky {
       display: none;
    }
    .wc-block-cart__submit-container a {
        background: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 100% !important;
    }
    span.wc-block-components-button__text:before {
        background-image: url("https://patientportal.chronictherapy.com.au/wp-content/uploads/2024/04/shopping_cart_checkout.svg");
        content: "";
        width: 30px;
        height: 30px;
        font-size: 27px;
        width: 27px;
        height: 27px;
        margin-right: 5px;
    }
    .woocommerce-cart .e-con-inner {
        display: none !important;
    }
   
    tr.wc-block-cart-items__header {
        display: none;
    }
    .woocommerce-cart  header.entry-header.ast-no-thumbnail {
        margin-top: 15px;
        position: relative;
        margin-bottom: 40px;
    }
    .arrow-image {
        display: inline-block;
        width: 20px;
        height: 20px;
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        margin: auto;
    }
    .woocommerce-cart header.entry-header.ast-no-thumbnail h1 {
        text-align: center;
        color: #030303;
        font-size: 24px;
        font-family: "Nunito", Sans-serif;
        font-weight: 700;
        line-height: 31px;
        margin: 0px;
    }
    .woocommerce-cart .entry-content.clear {
        height: calc(100vh - 335px);
        overflow-y: auto;
    }
    a.components-button.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained:focus {
        box-shadow: none;
        outline: 0;
    }
	body.page-template-default.page.page-id-8 {
    max-width: 600px !important;
    margin: 0px auto !important;
}
   .woocommerce-cart .wp-block-woocommerce-cart-totals-block {
		max-width: 600px !important;
		margin: 0 auto !important;
	}
}

.woocommerce-page.woocommerce-checkout form #order_review table a.remove {
    width: 24px;
    height: 23px;
    line-height: 24px;
}
.woocommerce-js a.remove:before {
    left: -1px!important;
    top: 2px!important;
}