body.woocommerce-cart .page-title {
    display: none !important;
}

body.woocommerce-cart .woocommerce-notices-wrapper {
    display: none !important;
}

body.woocommerce-cart .metalvis-cart-hidden-actions,
body.woocommerce-cart .woocommerce-cart-form button[name="update_cart"] {
    display: none !important;
}

.woocommerce table.shop_table {
	border-radius: 0;
}

#add_payment_method .wc-proceed-to-checkout a.checkout-button, .woocommerce-cart .wc-proceed-to-checkout a.checkout-button, .woocommerce-checkout .wc-proceed-to-checkout a.checkout-button {
	font-size: 18px !important;
}

.metalvis-cart-page {
    padding: 24px 0 56px;
    background: #fff;
}

.metalvis-cart-page__header {
    margin-bottom: 20px;
}

.metalvis-cart-page__title {
	margin: 0 0 6px;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
    color: #1f2b36;
}

.metalvis-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}

.metalvis-cart-main,
.metalvis-cart-sidebar {
    min-width: 0;
}

.metalvis-cart-table-wrap {
    border: 0;
    background: #fff;
    overflow-x: auto;
}

.metalvis-cart-table {
    width: 100%;
    border-collapse: collapse;
}

.metalvis-cart-table th {
    padding: 16px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #66737d;
    text-align: left;
}

.metalvis-cart-table td {
    padding: 16px;
    border-bottom: 1px solid #edf2f6;
    vertical-align: middle;
}

.metalvis-cart-item .product-thumbnail img {
    width: 72px;
    height: auto;
    object-fit: contain;
    border: 1px solid #e3e8ee;
    background: #fff;
    padding: 6px;
}

.metalvis-cart-item .product-name a {
    color: #1f2b36;
    text-decoration: none;
    font-weight: 700;
}

.metalvis-cart-item .product-name a:hover {
    color: #0082cb;
}

.metalvis-cart-item .product-price,
.metalvis-cart-item .product-subtotal {
    font-weight: 700;
    color: #1f2b36;
}

.metalvis-cart-table .remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #d8e2ec;
    color: #7d8994 !important;
    text-decoration: none;
    font-size: 22px;
    line-height: 1;
    background: #fff;
}

.metalvis-cart-table .remove:hover {
    border-color: #00c7ff;
    color: #0082cb !important;
    background: #f7fcff;
}

.metalvis-cart-table .quantity .qty {
    width: 86px;
    min-height: 42px;
    border: 1px solid #ccd6df;
    text-align: center;
    box-shadow: none;
}

.metalvis-cart-table .actions {
    padding: 18px 16px;
    background: #fbfdff;
}

.metalvis-cart-coupon {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.metalvis-cart-coupon .input-text {
    min-width: 220px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid #ccd6df;
    font-size: 14px;
}

.metalvis-cart-table .button,
.metalvis-cart-totals .button,
.metalvis-cart-totals .checkout-button {
    min-height: 46px;
    padding: 0 22px;
    border: none !important;
    border-radius: 0;
    background: #00c7ff !important;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    box-shadow: none !important;
}

.metalvis-cart-table .button:hover,
.metalvis-cart-totals .button:hover,
.metalvis-cart-totals .checkout-button:hover {
    background: #0082cb !important;
    color: #fff !important;
}

.metalvis-cart-sidebar .cart-collaterals,
.metalvis-cart-sidebar .cart_totals {
    width: 100%;
}

.metalvis-cart-totals .cart_totals {
    padding: 22px;
    border: 1px solid #d8e2ec;
    background: linear-gradient(180deg, #fbfdff 0%, #f7fbfe 100%);
}

.metalvis-cart-totals .cart_totals h2 {
    margin: 0 0 18px;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
    color: #0082cb;
}

.metalvis-cart-totals .shop_table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 18px;
}

.metalvis-cart-totals .shop_table th,
.metalvis-cart-totals .shop_table td {
    padding: 12px 0;
    border-bottom: 1px solid #e3e8ee;
    text-align: left;
    font-size: 15px;
}

.metalvis-cart-totals .order-total th,
.metalvis-cart-totals .order-total td {
    font-size: 18px;
    font-weight: 700;
    color: #1f2b36;
}

@media (max-width: 991px) {
    .metalvis-cart-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .metalvis-cart-page {
        padding: 18px 0 40px;
    }

    .metalvis-cart-page__title {
        font-size: 28px;
    }

    .metalvis-cart-table th {
        display: none;
    }

    .metalvis-cart-table tr {
        display: block;
        border-bottom: 1px solid #e8eef3;
    }

    .metalvis-cart-table td {
        display: block;
        padding: 12px 14px;
        border-bottom: none;
    }

    .metalvis-cart-table td::before {
        content: attr(data-title);
        display: block;
        margin-bottom: 6px;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .04em;
        color: #71808d;
    }

    .metalvis-cart-table .actions {
        display: block;
    }

    .metalvis-cart-coupon {
        flex-direction: column;
        align-items: stretch;
    }

    .metalvis-cart-coupon .input-text,
    .metalvis-cart-table .button {
        width: 100%;
    }
}