/* ================= RESPONSIVE MOBILE ================= */
@media (max-width: 768px) {

    body {
        padding-top: 330px; /* tăng lên */
    }

    /* HEADER */
    header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 15px;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
        padding: 0;
    }

    nav ul li a {
        font-size: 16px;
    }

    /* CONTAINER */
    .container {
        flex-direction: column;
        padding: 10px;
        margin: 0;
    }

    /* SIDEBAR */
    .sidebar {
        width: 100%;
        position: relative;
        top: 0;
    }

    /* PRODUCTS */
    .products {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .product-card img {
        height: 180px;
    }

    .product-item {
        flex-direction: column;
        /* xếp dọc */
    }

    .product-image img {
        width: 100%;
        /* full màn hình */
        max-width: 100%;
    }

    /* SLIDER */
    .slider {
        max-width: 100%;
    }

    .slide img {
        width: 90%;
    }

    /* CART */
    .cart-right {
        order: 0;
        width: 100%;
    }

    .listCart {
        width: 100%;
        padding: 15px;
    }

    .listCart table {
        font-size: 14px;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .listCart img {
        width: 60px;
    }

    /* CONTACT FIXED */
    .contact-fixed {
        right: 5px;
        gap: 10px;
    }

    .contact-item {
        min-width: 150px;
        padding: 8px 12px;
        font-size: 14px;
    }

    /* FOOTER */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .orders table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .orders {
        width: 100%;
        margin: 10px;
        padding: 15px;
    }   

    .table-responsive {
        overflow-x: auto;
    }

}