/* .wc-block-cart-items__row {
    border-radius: 8px !important;
    border-bottom: 0px solid var(--Colour-Accent-1, #ECEBF3) !important;
}
.wc-block-cart-items__row td {
    border-bottom: 1px solid var(--Colour-Accent-1, #ECEBF3) !important;
    border-radius: 8px !important;
}
.wc-block-cart-items__row::after {
    border-bottom: 1px solid var(--Colour-Accent-1, #ECEBF3) !important;
    content: "";
}
.my-custom-block-row  td{
    border-top: 0 !important;
} */
.wc-block-cart-item__image img{
    aspect-ratio: 4 / 3 !important;
    object-fit: contain !important;
}
.wp-block-woocommerce-cart-order-summary-totals-block .wc-block-components-totals-wrapper {
    padding: 0px !important;
}

.my-custom-block {
    display: flex;
    padding: 0px;
    width: 100%;
}
.wc-block-components-sidebar-layout{
    margin-bottom: 0px !important;
}
.wc-block-cart__sidebar{
    margin-bottom: 0px !important;
}
.wc-block-components-notice-snackbar-list{
    display: none;
}
.wc-block-cart__submit{
    margin-bottom: 0px !important;
}
.my-custom-block ul {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.my-custom-block li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    align-items: flex-end;
}

.wc-block-cart table.wc-block-cart-items td{
    margin: 0px !important;
}
button.wc-block-components-button.wp-element-button.wc-block-components-totals-coupon__button.contained{
    border-radius: 999px !important;
}

.my-custom-block li::marker {
    display: none;
}

.my-custom-block li .left {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.my-custom-block li .left img {
    /* width: 50px;
    height: 50px; */
    max-width: 50px;
    object-fit: contain;
    border: 1px solid var(--e-global-color-accent);
    border-radius: 8px;
    box-shadow: -1px 4px 8px 0px rgba(0, 0, 0, 0.05);
    aspect-ratio: 4/3;
}

.my-custom-block li .left p{
    display: flex;
    gap: 4px;
    margin: 0;

}
.my-custom-block li .left p span{
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
}
.my-custom-block li .left p span{
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 120% !important;
    color: var(--e-global-color-text, #000527) !important;
}

/*  */

/* Quantity Selector */

.wc-block-components-quantity-selector {
    margin: 0px !important;
}

input.wc-block-components-quantity-selector__input {
    font-size: 20px !important;
    padding: 0px !important;
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-quantity-selector {
    margin-bottom: 0px !important;
}

/* Totals and Coupon */
.wp-block-woocommerce-cart-order-summary-coupon-form-block.wc-block-components-totals-wrapper,
.wp-block-woocommerce-cart-order-summary-totals-block {
    border-top: 0px !important;
}

.wc-block-components-totals-item,
.wc-block-components-totals-coupon.wc-block-components-panel {
    /* padding: 0px !important; */
}

.wc-block-components-panel__button {
    font-family: var(--main-font);
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 120%;
}

.wc-block-cart__sidebar .wc-block-components-totals-coupon .wc-block-components-panel__button {
    padding-left: 0px !important;
}

.wc-block-components-totals-coupon__form {
    flex-direction: column;
}

.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__input {
    flex: 1 66px !important;
}

.wp-block-woocommerce-cart-order-summary-totals-block {
    color: var(--e-global-color-text, #000527);
    font-family: "Lexend Deca";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.wc-block-components-totals-shipping {
    padding: 16px 0px 0px;
}

.wc-block-components-totals-shipping .wc-block-components-totals-item strong {
    text-transform: none !important;
    font-weight: 700 !important;
}

/* Form Elements */
.wc-block-components-text-input label {
    color: rgba(101, 101, 101, 0.20) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    left: 16px !important;
    line-height: 14px !important;
    top: 32% !important;
    color: #1d192185 !important;
    transform: unset !important;
}

.wc-block-components-text-input.is-active input[type=text] {
    padding: 12px 24px !important;
}

.wc-block-components-text-input.is-active label {
    display: none;
}

/* Form Elements with Borders */
input#wc-block-components-totals-coupon__input-coupon {
    border-radius: 999px;
    border: 2px solid var(--border-color);
}

.wc-blocks-components-select .wc-blocks-components-select__select {
    border-radius: 999px !important;
    padding: 12px 24px 1px !important;
    border: 2px solid var(--border-color) !important;
}

label.wc-blocks-components-select__label {
    padding-left: 21px;
    color: var(--border-color) !important;
}

.wc-block-components-shipping-calculator-address .wc-block-components-text-input input {
    border-radius: 999px !important;
    border: 2px solid var(--border-color) !important;
}

/* Buttons */
button.wc-block-components-button.wp-element-button.wc-block-components-totals-coupon__button.contained,
button.wc-block-components-button.wp-element-button.wc-block-components-shipping-calculator-address__button.outlined,
a.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained {
    background: #453784;
    border: 0px;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    color: #fff;
}

a.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained {
    border-radius: 999px;
    text-decoration: none;
}

.wc-block-components-button__text {
    text-indent: -9999px;
    /* Hide the text by pushing it off-screen */
    display: block;
    /* Keep the element displayed */
    position: relative;
    /* For positioning the pseudo-element */
    width: 100%;
    /* Take full width of parent */
}

.wc-block-components-button__text::after {
    content: "Checkout";
    position: absolute;
    left: 0;
    right: 0;
    /* Add this to center horizontally */
    top: 50%;
    /* Position at vertical middle */
    transform: translateY(-50%);
    /* Adjust vertical alignment */
    text-indent: 0;
    /* Reset text-indent for the pseudo-element */
    text-align: center;
    /* Center the text horizontally */
}

/* Remove Link */
.wc-block-cart-item__remove-link {
    background: none;
    border: none;
    width: 24px;
    height: 24px;
    padding: 0;
    text-indent: -9999px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.wc-block-cart-item__remove-link::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-image: url('/wp-content/uploads/2025/06/delete.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

body .wc-block-components-quantity-selector:after {
    border: 10px !important;

}

th.wc-block-cart-items__header-image,
th.wc-block-cart-items__header-product,
th.wc-block-cart-items__header-total {
    border: 0px !important;
}

.wc-block-cart-item__quantity {
    display: flex !important;
}

.wc-block-cart-item__image {
    min-width: 115px !important;
    padding: 0 !important;
    vertical-align: middle !important;
}

.wc-block-cart-item__wrap .wc-block-components-product-name {
    color: var(--Colour-Primary, #453784) !important;

    font-family: "Lexend Deca" !important;
    font-size: 20px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: 120% !important;
    margin: 0 !important;
    margin-bottom: 8px !important;
}

.wc-block-cart-item__wrap {
    color: var(--Colour-Text, #000527);

    font-family: "Lexend Deca" !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 120% !important;
    margin: 0 !important;
}

.wc-block-components-product-details__name,
.wc-block-components-product-details__value,
.wc-block-components-product-details__colour,
.wc-block-components-product-details {
    font-family: "Lexend Deca" !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 120% !important;
}


.wc-block-formatted-money-amount.wc-block-components-formatted-money-amount.wc-block-components-product-price__value {
    color: var(--Colour-Primary, #453784) !important;

    font-family: "Lexend Deca" !important;
    font-size: 20px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: 120% !important;
}


.my-custom-block .original-price {
    color: rgba(29, 25, 33, 0.20) !important;
    font-family: "Lexend Deca" !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: 120% !important;
    text-decoration-line: line-through !important;
}

.my-custom-block .discounted-price{
    color: var(--Colour-Text, #1D1921) !important;
    font-family: "Lexend Deca" !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: 120% !important;
}

/* Tablet */
@media screen and (max-width: 1024px) { 
    .wc-block-components-sidebar-layout.wc-block-cart.wp-block-woocommerce-filled-cart-block{
        flex-direction: column !important;
    }

    .wc-block-components-sidebar-layout .wc-block-components-main {
        width: 100% !important;
    }

    .wc-block-components-sidebar-layout .wc-block-components-sidebar {
        width: 100% !important;
    }
    .wc-block-components-sidebar.wc-block-cart__sidebar.wp-block-woocommerce-cart-totals-block{
        padding-left: 0px !important;
    }
    table.wc-block-cart-items .wc-block-cart-items__row{
        grid-template-columns: repeat(3, 1fr) !important;
        padding-bottom: 0 !important;
    }
    .my-custom-block li .left{
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-end;
    }
}

/* Mobile */
@media screen and (max-width: 768px) { 
    .wc-block-components-sidebar-layout{
        flex-direction: column !important;
    }
}


.wc-block-cart__empty-cart__title.with-empty-cart-icon:before {
    mask-image: url(/wp-content/uploads/2025/07/remove_shopping_cart.svg) !important;
    background-color: var(--e-global-color-primary, #fff) !important;
    width: 180px !important;
    height: 180px !important;
    mask-size: 180px !important;
}

/*  */
.wc-block-cart__main .wc-block-cart-items__row td{
    border: 0 !important;
    border-top: 1px solid hsl(0deg 0% 7% / 94%) !important;
}

.wc-block-cart__main .wc-block-cart-items__row:first-of-type td{
    border-top: 0 !important;
}

.wc-block-cart__main .wc-block-cart-items .my-custom-block-row > td{
    border-top: 1px dotted  #ECEBF3 !important;
}
.my-custom-block-row .total-row{
    padding-bottom: 0 !important;
}

#check_shortcode{
    font-family: "Lexend Deca" !important;
}
.wc-block-components-product-low-stock-badge{
    margin-bottom: 8px !important;
}
.wc-block-cart-item__prices{
    margin-bottom: 8px !important;
}
.wc-block-components-sale-badge{
    margin-bottom: 8px !important;
}