
/*
 * AVA Engineering — Cart Design v1.0
 * WooCommerce Cart Blocks only
 */

body.woocommerce-cart {
    --ava-cart-orange: #ef681d;
    --ava-cart-dark: #172633;
    --ava-cart-border: #dfe6ed;
}

/* Main cart container */
body.woocommerce-cart .wp-block-woocommerce-cart {
    width: 100%;
    max-width: 1280px;
    margin: 38px auto 75px;
    box-sizing: border-box;
}

/* Cart layout */
body.woocommerce-cart .wc-block-cart__main {
    min-width: 0;
}

body.woocommerce-cart .wc-block-cart__sidebar {
    min-width: 0;
}

/* Product area */
body.woocommerce-cart .wc-block-cart-items {
    border: 1px solid var(--ava-cart-border);
    border-radius: 15px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(20,30,40,.055);
}

body.woocommerce-cart .wc-block-cart-items th {
    padding: 20px 16px;
    color: #627080;
    background: #f5f7f9;
    font-size: 12px;
    font-weight: 700;
}

body.woocommerce-cart .wc-block-cart-items td {
    padding: 22px 16px;
}

/* Product image */
body.woocommerce-cart .wc-block-cart-item__image img {
    width: 110px;
    max-width: 100%;
    height: auto;
    border-radius: 9px;
}

/* Product name */
body.woocommerce-cart .wc-block-components-product-name {
    color: #17212b;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
}

body.woocommerce-cart .wc-block-components-product-name:hover {
    color: var(--ava-cart-orange);
}

/* Product description */
body.woocommerce-cart .wc-block-components-product-metadata {
    color: #627080;
    font-size: 13px;
    line-height: 1.6;
}

/* Quantity controls */
body.woocommerce-cart .wc-block-components-quantity-selector {
    border: 1px solid #d9e1e8;
    border-radius: 8px;
    overflow: hidden;
}

/* Order summary card */
body.woocommerce-cart .wc-block-cart__sidebar {
    padding: 26px;
    border: 1px solid var(--ava-cart-border);
    border-radius: 15px;
    background: #f5f7f9;
    box-shadow: 0 10px 28px rgba(20,30,40,.055);
    box-sizing: border-box;
}

body.woocommerce-cart .wc-block-cart__sidebar
.wc-block-components-totals-wrapper {
    border-color: #dfe6ed;
}

/* Total price */
body.woocommerce-cart
.wc-block-components-totals-footer-item__value {
    color: #17212b;
    font-size: 23px;
    font-weight: 800;
}

/* Checkout button */
body.woocommerce-cart .wc-block-cart__submit-button {
    min-height: 52px;
    border-radius: 9px;
    background: var(--ava-cart-orange);
    color: #fff !important;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(239,104,29,.16);
}

body.woocommerce-cart .wc-block-cart__submit-button:hover {
    background: #d55411;
    color: #fff !important;
}

/* Coupon inputs */
body.woocommerce-cart
.wc-block-components-totals-coupon__input input {
    border-radius: 8px;
}

/* Empty cart */
body.woocommerce-cart .wc-block-cart__empty-cart-wrapper {
    padding: 55px 22px;
    text-align: center;
}

body.woocommerce-cart .wc-block-cart__empty-cart__title {
    color: #17212b;
    font-weight: 800;
}

/* Tablet */
@media (max-width: 1024px) {
    body.woocommerce-cart .wc-block-cart__sidebar {
        padding: 21px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    body.woocommerce-cart .wp-block-woocommerce-cart {
        margin: 22px auto 48px;
    }

    body.woocommerce-cart .wc-block-cart__sidebar {
        padding: 18px;
        border-radius: 12px;
    }

    body.woocommerce-cart .wc-block-cart-items {
        border-radius: 12px;
    }

    body.woocommerce-cart .wc-block-cart-items td {
        padding: 14px 10px;
    }

    body.woocommerce-cart .wc-block-cart__submit-button {
        width: 100%;
    }
}