/* ==========================================================================
   Giỏ hàng – Meme 3D Refined Styling (Overriding Flatsome Defaults)
   ========================================================================== */

/* 1. Xóa đường kẻ viền đen xấu ở tiêu đề "TỔNG CỘNG GIỎ HÀNG" */
.cart-sidebar .widget-title,
.cart-sidebar h3,
.cart-sidebar .cart_totals h2,
.cart_totals h2,
.cart-sidebar .cart-sidebar-title {
    border: none !important;
    border-top: none !important;
    border-bottom: 2px solid #f7941d !important;
    box-shadow: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-top: 0 !important;
    background: transparent !important;
    color: #222 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.cart-sidebar .widget-title::before,
.cart-sidebar .widget-title::after,
.cart_totals h2::before,
.cart_totals h2::after {
    display: none !important;
    content: none !important;
}

/* 2. Tiêu đề sản phẩm trong bảng giỏ hàng: Không in đậm (Regular / Normal) */
.woocommerce-cart table.cart td.product-name a,
.woocommerce-cart table.cart .product-name a,
.woocommerce-cart .cart_item .product-name a {
    font-weight: 400 !important;
    color: #333333 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.woocommerce-cart table.cart td.product-name a:hover {
    color: #f7941d !important;
}

/* 3. Tối ưu lại khoảng cách & border cho bảng giỏ hàng và sidebar */
.woocommerce-cart .cart-wrapper {
    margin-top: 10px;
}

.woocommerce-cart table.cart th {
    font-weight: 600 !important;
    color: #555 !important;
    border-bottom: 1px solid #ececec !important;
    font-size: 13px !important;
}

.woocommerce-cart table.cart td {
    border-bottom: 1px solid #f2f2f2 !important;
}

/* 4. Khung sidebar Tổng cộng giỏ hàng */
.woocommerce-cart .cart-sidebar .cart_totals,
.woocommerce-cart .cart_totals {
    border: 1px solid #e2e2e2 !important;
    border-radius: 6px !important;
    padding: 20px !important;
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

/* Nút Tiến Hành Thanh Toán */
.woocommerce-cart a.checkout-button,
.woocommerce-cart a.button.checkout {
    background-color: #f7941d !important;
    border-color: #f7941d !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-radius: 4px !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
    box-shadow: 0 3px 10px rgba(247, 148, 29, 0.25) !important;
    transition: all 0.2s ease !important;
}

.woocommerce-cart a.checkout-button:hover,
.woocommerce-cart a.button.checkout:hover {
    background-color: #e08313 !important;
    border-color: #e08313 !important;
    transform: translateY(-1px) !important;
}

/* 5. Ghi chú VAT */
.custom-vat-note {
    font-size: 12px !important;
    font-weight: 400 !important;
    color: #777777 !important;
    margin-top: 4px !important;
}
