@import '../components/checkout-steps.css';
.cart-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    padding: var(--space-2xl);
    border: 1px solid var(--color-neutral-300);
    border-radius: var(--radius-lg);
}
.cart-wrapper h1 {
    font-size: var(--h4-size);
    font-weight: var(--font-weight-medium);
}
.cart-wrapper .cart-from-wrapper {
    display: flex;
    gap: var(--space-2xl);
    align-items: flex-start;
}
.cart-wrapper .cart-from-wrapper .woocommerce-cart-form {
    width: 70%;
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}
.cart-items {
    display: flex;
    flex-direction: column;
}
.cart-items .cart-items-list {
    display: flex;
    flex-direction: column;
}
.cart-items .cart-items-list .cart-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--color-neutral-300);
    align-items: stretch;
}
.cart-items .cart-items-list .cart-item:first-child {
    padding-top: 0;
}
.cart-items .cart-items-list .cart-item .cart-item-thumbnail {width: 110px;aspect-ratio: 1 / 0.5;}
.cart-items .cart-items-list .cart-item .cart-item-thumbnail a {display: block;width: 100%;height: 100%;}
.cart-items .cart-items-list .cart-item .cart-item-thumbnail img {width: 100%;object-fit: contain;height: 100%;}
.cart-items .cart-items-list .cart-item .cart-item-info {width: 45%;display: flex;flex-direction: column;justify-content: space-between;gap: var(--space-lg);}
.cart-items .cart-items-list .cart-item .cart-item-info .cart-item-info-inner {display: flex;flex-direction: column;gap: var(--space-sm);}
.cart-items .cart-items-list .cart-item .cart-item-info .cart-item-info-inner a {
    font-size: var(--font-size-md);
}
.cart-items .cart-items-list .cart-item .cart-item-info .cart-item-info-inner .variation {display: flex;flex-direction: column;gap: 0.75em;}
.cart-items .cart-items-list .cart-item .cart-item-info .cart-item-info-inner .variation .variation-item {display: flex;gap: var(--space-xs);}
.cart-items .cart-items-list .cart-item .cart-item-info .cart-item-info-inner .variation .variation-item p {font-size: var(--font-size-sm);line-height: 1;margin: 0;font-weight: var(--font-weight-regular);}
.cart-items .cart-items-list .cart-item .cart-item-info .cart-item-info-inner .variation .variation-item p:last-child {color: var(--color-neutral-500);font-weight: 300;}
.cart-items .cart-items-list .cart-item .cart-item-info .cart-item-info-subtotal {
}
.cart-items .cart-items-list .cart-item .cart-item-quantity {display: flex;align-items: center;}
.cart-items .cart-items-list .cart-item .cart-item-remove a {
    display: block;
    width: 17px;
    color: var(--color-neutral-800);
    background: transparent;
}
.cart-items .cart-items-list .cart-item .cart-item-inner {
    width: 35%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
}
.cart-items .cart-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-xl);
}
.cart-items .cart-actions .coupon {
    display: flex;
    gap: 1em;
}
.cart-items .cart-actions .coupon .coupon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0.5em 2.2em 0.5em 0.5em;
    border-radius: 0.5em;
    border: 1px solid var(--color-neutral-300);
}
.cart-items .cart-actions .coupon .coupon-wrapper svg {
    position: absolute;
    right: 0.7em;
    width: 18px;
    height: 18px;
}
.cart-items .cart-actions .coupon .coupon-wrapper .input-text {
    background-color: transparent;
    border: none;
    outline: none;
    padding: 0;
    margin: 0;
    font-size: var(--font-size-xs);
    min-width: 200px;
}
.cart-items .cart-actions .button {font-size: 0.7rem;}
.cart-items .cart-actions .button:hover {

}
.cart-wrapper .cart-from-wrapper .cart_totals {
    width: 30%;
    display: flex;
    gap: var(--space-lg);
    flex-direction: column;
    padding: var(--space-xl);
    background-color: var(--color-neutral-200);
    border-radius: var(--radius-lg);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-neutral-300);
}
.cart-wrapper .cart-from-wrapper .cart_totals h2 {font-size: var(--h6-size);font-weight: var(--font-weight-medium);}
.cart-wrapper .cart-from-wrapper .cart_totals .shop_table {
    margin: 0;
    background: transparent;
}
.cart-wrapper .cart-from-wrapper .cart_totals .shop_table th {
    font-size: var(--font-size-xs);
    font-weight: 500;
}
.cart-wrapper .cart-from-wrapper .cart_totals .shop_table td {padding: var(--space-sm) 0;font-size: var(--font-size-sm);font-weight: 300;border: none;text-align: left;}
.cart-wrapper .cart-from-wrapper .cart_totals .wc-proceed-to-checkout {padding: 0;}
.cart-wrapper .cart-from-wrapper .cart_totals .wc-proceed-to-checkout .button {
    position: relative;
    display: flex;
    padding: 0.6rem var(--space-md);
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xs);
    color: var(--color-text-inverse);
    background-color: var(--color-brand-quaternary-100);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    gap: var(--space-xs);
}
.cart-wrapper .cart-from-wrapper .cart_totals .shop_table .order-total td,
.cart-wrapper .cart-from-wrapper .cart_totals .shop_table .order-total th {
    font-size: var(--font-size-sm);
    color: #000;
}
.cart-wrapper .quantity {display: flex;gap: var(--space-xs);align-items: center;}
.cart-wrapper .quantity .qty-btn {width: 23px;height: 23px;padding: 0.35em;background-color: var(--color-brand-primary-100);color: var(--color-text-inverse);border-radius: var(--radius-md);}
.cart-wrapper .quantity svg {pointer-events: none;}
.cart-wrapper .quantity .input-text {
    width: 55px;
    font-size: var(--font-size-xs);
    background-color: var(--color-brand-primary-500);
    padding: 0.2em var(--space-sm);
    border-radius: var(--radius-md);
}
.woocommerce table.shop_table_responsive tr td::before, .woocommerce-page table.shop_table_responsive tr td::before {
    font-weight: var(--font-weight-medium);
}
.woocommerce table.shop_table_responsive tr:nth-child(2n) td, .woocommerce-page table.shop_table_responsive tr:nth-child(2n) td {
    background-color: transparent;
}
.woocommerce table.shop_table_responsive tr, .woocommerce-page table.shop_table_responsive tr strong {
    font-weight: var(--font-weight-medium);
}
.order-total {
    border-top: 1px solid var(--color-neutral-300);
}
.cart-empty {position: relative;min-height: 350px;display: flex;flex-direction: column;align-items: center;justify-content: center;gap: var(--space-xl);}
.cart-empty:before {
    background-image: url("../../images/cart-empty.png");
    content: '';
    position: absolute;
    right: 50%;
    bottom: 50%;
    transform: translate(50%, 50%);
    width: 40%;
    height: 90%;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.3;
}
.cart-empty > p {

}
.cart-empty .cart-empty-buttons {display: flex;gap: var(--space-lg);}
@media (max-width: 868px) {
    .cart-wrapper .cart-from-wrapper .woocommerce-cart-form {
        width: 65%;
    }
    .cart-wrapper .cart-from-wrapper .cart_totals {
        width: 35%;
    }
    .cart-items .cart-actions {
        flex-wrap: wrap;
        gap: var(--space-md);
    }
}
@media (max-width: 640px) {
    .cart-wrapper {
        padding: var(--space-lg);
    }
    .cart-wrapper .cart-from-wrapper {
        flex-direction: column;
    }
    .cart-wrapper .cart-from-wrapper .woocommerce-cart-form {
        width: 100%;
    }
    .cart-items .cart-items-list .cart-item .cart-item-info .cart-item-info-inner a {
        font-size: var(--font-size-sm);
    }
    .cart-items .cart-items-list .cart-item .cart-item-info .cart-item-info-inner .variation .variation-item p {
        font-size: var(--font-size-xs);
    }
    .cart-wrapper .cart-from-wrapper .cart_totals {
        width: 100%;
    }
    .cart-items .cart-actions .coupon .coupon-wrapper svg {
        position: absolute;
        right: 0.6em;
        width: 15px;
        height: 15px;
    }
    .cart-items .cart-actions .button {
        font-size: 0.6rem;
    }
    .cart-wrapper .cart-from-wrapper .cart_totals .wc-proceed-to-checkout .button {
        font-size: var(--font-size-xs);
        padding: 0.5rem var(--space-sm);
    }
    .cart-items .cart-actions .coupon .coupon-wrapper {
        width: 60%;
    }
    .cart-items .cart-actions .coupon {
        width: 70%;
    }
    .cart-wrapper .cart-from-wrapper .cart_totals .shop_table td {
        font-size: var(--font-size-xs);
    }
}