/* ===============================
   EVORE EDGE — CART PAGE STYLES
   =============================== */

body.woocommerce-cart {
    background-color: #f4f7fb;
}

body.woocommerce-cart .site-main {
    padding-top: 40px;
    padding-bottom: 60px;
}

body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-error,
body.woocommerce-cart .woocommerce-info {
    border-radius: 16px;
}

body.woocommerce-cart .woocommerce-cart-form {
    background: #ffffff;
    border-radius: 24px;
    padding: 24px 24px 26px;
    border: 1px solid rgba(64, 217, 228, 0.08);
    box-shadow:
        0 18px 45px rgba(15, 23, 42, 0.10),
        0 1px 0 rgba(255, 255, 255, 0.7) inset;
    position: relative;
    overflow: hidden;
}

body.woocommerce-cart .woocommerce-cart-form::before {
    content: "";
    position: absolute;
    inset: 0;
    height: 4px;
    background: linear-gradient(90deg, #40d9e4, #23bace);
    opacity: 0.9;
}

body.woocommerce-cart .woocommerce-cart-form .shop_table {
    border: none;
    margin: 0;
}

body.woocommerce-cart .woocommerce-cart-form .shop_table thead th {
    border-bottom: 1px solid #e5e7eb;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
}

body.woocommerce-cart .woocommerce-cart-form .shop_table tbody tr.cart_item {
    border-bottom: 1px solid #e5e7eb;
}

body.woocommerce-cart .woocommerce-cart-form .product-thumbnail img {
    border-radius: 14px;
}

body.woocommerce-cart .woocommerce-cart-form .product-name a {
    font-weight: 600;
    color: #111827;
}

body.woocommerce-cart .woocommerce-cart-form .product-price,
body.woocommerce-cart .woocommerce-cart-form .product-subtotal {
    font-weight: 600;
    color: #40d9e4;
}

body.woocommerce-cart .woocommerce-cart-form .quantity .qty {
    border-radius: 999px;
    border: 1px solid #d1d5db;
    padding: 6px 10px;
    min-width: 64px;
    text-align: center;
    font-size: 13px;
}

body.woocommerce-cart .woocommerce-cart-form a.remove {
    background: #fee2e2;
    color: #b91c1c !important;
    border-radius: 999px;
    width: 22px;
    height: 22px;
    line-height: 22px;
    font-size: 14px;
    text-align: center;
}

body.woocommerce-cart .woocommerce-cart-form .actions .button {
    border-radius: 999px;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 10px 20px;
}

body.woocommerce-cart .cart-collaterals .cart_totals {
    background: #ffffff;
    border-radius: 24px;
    padding: 24px 24px 26px;
    border: 1px solid rgba(64, 217, 228, 0.10);
    box-shadow:
        0 18px 45px rgba(15, 23, 42, 0.10),
        0 1px 0 rgba(255, 255, 255, 0.7) inset;
    position: relative;
    overflow: hidden;
}

body.woocommerce-cart .cart-collaterals .cart_totals::before {
    content: "";
    position: absolute;
    inset: 0;
    height: 4px;
    background: linear-gradient(90deg, #40d9e4, #23bace);
    opacity: 0.9;
}

body.woocommerce-cart .cart-collaterals .cart_totals h2 {
    margin-top: 12px;
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

body.woocommerce-cart .cart-collaterals .cart_totals table {
    border: none;
}

body.woocommerce-cart .cart-collaterals .cart_totals tr th {
    font-size: 14px;
    color: #4b5563;
}

body.woocommerce-cart .cart-collaterals .cart_totals tr td {
    font-size: 14px;
    color: #111827;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    display: block;
    width: 100%;
    border-radius: 999px;
    padding: 12px 24px;
    background: #40d9e4;
    color: #ffffff;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow:
        0 18px 40px rgba(64, 217, 228, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.25) inset;
    transition:
        background-color 0.2s ease,
        transform 0.15s ease,
        box-shadow 0.2s ease;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background: #23bace;
    transform: translateY(-1px);
}

body.woocommerce-cart .cross-sells {
    margin-top: 32px;
}

body.woocommerce-cart .cross-sells h2 {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
}

@media (max-width: 1024px) {
    body.woocommerce-cart .woocommerce-cart-form,
    body.woocommerce-cart .cart-collaterals .cart_totals {
        border-radius: 22px;
        padding: 22px 18px 24px;
    }

    body.woocommerce-cart .site-main {
        padding-top: 28px;
        padding-bottom: 40px;
    }
}

@media (max-width: 768px) {
    body.woocommerce-cart .woocommerce-cart-form,
    body.woocommerce-cart .cart-collaterals .cart_totals {
        border-radius: 20px;
        padding: 20px 14px 22px;
        margin-bottom: 18px;
    }

    body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
        width: 100%;
    }
}

/* ===============================
   EMPTY CART STATE
   =============================== */

body.woocommerce-cart .cart-empty {
    max-width: 620px;
    margin: 0 auto 24px;
    padding: 26px 26px 22px;
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(64, 217, 228, 0.10);
    box-shadow:
        0 18px 45px rgba(15, 23, 42, 0.10),
        0 1px 0 rgba(255, 255, 255, 0.7) inset;
    text-align: center;
    font-size: 15.5px;
    color: #374151;
    position: relative;
    overflow: hidden;
}

body.woocommerce-cart .cart-empty::before {
    content: "";
    position: absolute;
    inset: 0;
    height: 4px;
    background: linear-gradient(90deg, #40d9e4, #23bace);
    opacity: 0.9;
}

body.woocommerce-cart .cart-empty::after {
    content: "🛒";
    position: absolute;
    right: 22px;
    bottom: 16px;
    font-size: 26px;
    opacity: 0.18;
}

body.woocommerce-cart .cart-empty strong {
    font-weight: 600;
    color: #111827;
}

body.woocommerce-cart .return-to-shop {
    text-align: center;
    margin-bottom: 40px;
}

body.woocommerce-cart .return-to-shop .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 11px 26px;
    background: #40d9e4;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: none;
    box-shadow:
        0 16px 36px rgba(64, 217, 228, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.25) inset;
    transition:
        background-color 0.2s ease,
        transform 0.15s ease,
        box-shadow 0.2s ease;
}

body.woocommerce-cart .return-to-shop .button:hover {
    background: #23bace;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    body.woocommerce-cart .cart-empty {
        margin: 0 16px 20px;
        border-radius: 20px;
        padding: 22px 18px 20px;
    }

    body.woocommerce-cart .cart-empty::after {
        right: 14px;
        bottom: 12px;
        font-size: 22px;
    }
}
