/* Reset và cơ bản */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;700&display=swap');

body {
    font-family: 'Noto Sans', 'Roboto', Arial, sans-serif;
    background: linear-gradient(135deg, #f0f2f5, #e3e8ee);
    color: #2d3436;
    overflow-x: hidden;
    line-height: 1.5;
}

/* Header */
.header {
    background: linear-gradient(90deg, #007bff, #00b4d8);
    color: #fff;
    padding: 15px 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
    z-index: 100;
}

.header-logo {
    max-width: 150px;
    height: auto;
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

.header-title {
    display: none;
}

.logo-link {
    display: inline-block;
}

.header-left, .header-right {
    flex-shrink: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-icon {
    color: #fff;
    font-size: 1.2em;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.cart-icon:hover {
    color: #ffd700;
}

.cart-icon #cart-count {
    background: #dc3545;
    color: #fff;
    padding: 4px 8px;
    border-radius: 50%;
    font-size: 0.9em;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}

.menu-toggle {
    display: none;
    font-size: 1.5em;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

.menu-toggle:hover {
    color: #ffd700;
}

.category-menu {
    flex: 1;
    margin: 0 20px;
}

.category-menu.active {
    display: block;
}

.category-menu .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: #dc3545;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.2s;
    z-index: 1001;
}

.category-menu .close-btn i {
    font-size: 14px;
    color: #fff;
}

.category-menu .close-btn:hover, .category-menu .close-btn:focus {
    background: #c82333;
    transform: scale(1.1);
}

.menu-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: nowrap;
}

.menu-list li {
    display: inline-block;
    position: relative;
}

.menu-list a {
    color: #dfe6e9;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95em;
    padding: 8px 12px;
    transition: color 0.3s ease, background 0.3s ease;
    display: block;
}

.menu-list a:hover, .menu-list a:focus {
    color: #fff;
    background: #0056b3;
    border-radius: 4px;
}

.hamburger {
    display: none;
    font-size: 1.5em;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

/* Breadcrumb */
.breadcrumb {
    padding: 10px 20px;
    background: #f8f9fa;
    font-size: 0.9em;
    max-width: 1240px;
    margin: 0 auto;
    border-bottom: 1px solid #dfe6e9;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    gap: 10px;
    align-items: center;
}

.breadcrumb a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover, .breadcrumb a:focus {
    text-decoration: underline;
    color: #0056b3;
}

.breadcrumb li:last-child {
    color: #2d3436;
    font-weight: 500;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 30px auto;
    padding: 0 20px;
}

.intro {
    margin-bottom: 30px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.intro h2 {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #2d3436;
    font-weight: 700;
}

.intro p {
    color: #636e72;
    line-height: 1.6;
    font-size: 1.1em;
}

/* Search và Filter */
.search-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 15px;
    flex-wrap: wrap;
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.search-bar {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.search-bar input#search-input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 1px solid #dfe6e9;
    border-radius: 8px;
    font-size: 1em;
    color: #636e72 !important;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.search-bar input#search-input::placeholder {
    color: #636e72 !important;
    opacity: 0.8;
}

.search-bar input#search-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.search-bar::after {
    content: '🔍';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    color: #636e72;
}

#suggestions {
    position: absolute;
    background: #fff;
    border: 1px solid #dfe6e9;
    border-radius: 8px;
    max-height: 200px;
    overflow-y: auto;
    width: 100%;
    display: none;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#suggestions div {
    padding: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2d3436;
    transition: background 0.3s ease;
}

#suggestions div:hover {
    background: #f0f2f5;
    color: #007bff;
}

.search-results {
    font-size: 0.9em;
    color: #636e72;
    margin-bottom: 10px;
    font-weight: 500;
}

.filter-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-bar select {
    padding: 10px 20px;
    border: 1px solid #dfe6e9;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    appearance: none;
    padding-right: 30px;
    background-image: url('data:image/svg+xml;utf8,<svg fill="black" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.filter-bar select option {
    color: #333;
    background: #fff;
}

.filter-bar select option[value="all"] {
    color: #636e72 !important;
}

.filter-bar select:hover {
    background: #f0f2f5;
    transform: translateY(-2px);
}

/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background: #6c757d;
    color: #fff;
    padding: 10px 20px;
    font-size: 1em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: #fff;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    border-radius: 8px;
    top: 100%;
    left: 0;
}

.dropdown-content a {
    color: #2d3436;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9em;
    transition: background 0.3s ease;
}

.dropdown-content a:hover {
    background: #f0f2f5;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background: #fff;
    color: #2d3436;
}

/* Combo List */
.combo-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    transition: opacity 0.3s ease;
}

.combo-list.updating {
    opacity: 0.5;
}

.combo-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    animation: fadeIn 0.5s ease-in;
}

.combo-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.combo-item:hover img {
    transform: scale(1.05);
}

.combo-item.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton 1.5s infinite;
}

.combo-item.loading img,
.combo-item.loading h3,
.combo-item.loading p,
.combo-item.loading .buttons,
.combo-item.loading .badge {
    visibility: hidden;
}

.combo-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s;
}

.combo-item.low-stock .badge {
    background: #e67e22;
}

.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #dc3545;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.9em;
    font-weight: 500;
    text-transform: uppercase;
}

.combo-content {
    padding: 20px;
    text-align: center;
}

.combo-content h3 {
    font-size: 1.6em;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2d3436;
}

.combo-content h3 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

.combo-content h3 a:hover, .combo-content h3 a:focus {
    color: #007bff;
}

.combo-content p {
    color: #636e72;
    margin-bottom: 12px;
    font-size: 0.95em;
    line-height: 1.5;
}

.rating {
    color: #f1c40f;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.stock {
    color: #e67e22;
    font-size: 0.9em;
    margin-bottom: 12px;
}

.price {
    font-size: 1.4em;
    color: #dc3545;
    font-weight: 700;
    margin-bottom: 8px;
}

.old-price {
    text-decoration: line-through;
    color: #b2bec3;
    font-size: 1em;
    margin-bottom: 12px;
}

.popup-old-price {
    text-decoration: line-through;
    color: #b2bec3;
    font-size: 1.2em;
    margin-bottom: 8px;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
    position: relative;
    z-index: 10;
}

.buy-button, .cart-button, .detail-button {
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9em;
    flex: 1;
    min-width: 100px;
    text-align: center;
    transition: background 0.3s, transform 0.2s;
    white-space: nowrap;
}

.buy-button {
    background: #28a745;
    color: #fff;
}

.buy-button:hover, .buy-button:focus {
    background: #218838;
    transform: translateY(-2px);
}

.cart-button {
    background: #007bff;
    color: #fff;
}

.cart-button:hover, .cart-button:focus {
    background: #0056b3;
    transform: translateY(-2px);
}

.detail-button {
    background: #6c757d;
    color: #fff;
}

.detail-button:hover, .detail-button:focus {
    background: #5a6268;
    transform: translateY(-2px);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.pagination a, .pagination button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border-radius: 8px;
    background: #f8f9fa;
    color: #2d3436;
    text-decoration: none;
    font-size: 0.95em;
    font-weight: 500;
    border: 1px solid #dfe6e9;
    transition: background 0.3s, color 0.3s, transform 0.2s;
}

.pagination a:hover, .pagination button:hover,
.pagination a:focus, .pagination button:focus {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
    transform: translateY(-2px);
}

.pagination .active {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
    cursor: default;
}

.pagination .disabled {
    background: #e9ecef;
    color: #6c757d;
    border-color: #dfe6e9;
    cursor: not-allowed;
}

/* Select All và Deselect All */
.select-all-button, .deselect-all-button {
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    font-weight: 500;
    font-size: 0.9em;
    margin: 5px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.select-all-button {
    background: #28a745;
    color: #fff;
}

.select-all-button:hover, .select-all-button:focus {
    background: #218838;
    transform: translateY(-2px);
}

.deselect-all-button {
    background: #dc3545;
    color: #fff;
}

.deselect-all-button:hover, .deselect-all-button:focus {
    background: #c82333;
    transform: translateY(-2px);
}

/* Popup */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.popup-content {
    background: #fff;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    padding: 20px;
    position: relative;
    animation: fadeIn 0.3s ease-in;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid #dfe6e9;
}

.popup-content img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    position: relative;
}

.popup-content img:hover {
    transform: scale(1.02);
}

.popup-content .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: #dc3545;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.2s;
    z-index: 1001;
}

.popup-content .close-btn i {
    font-size: 14px;
    color: #fff;
}

.popup-content .close-btn:hover, .popup-content .close-btn:focus {
    background: #c82333;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .popup-content img {
        height: 200px;
    }
}

.popup-content h3 {
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2d3436;
}

.popup-content h4 {
    font-size: 1.2em;
    margin: 15px 0;
    color: #2d3436;
}

.item-list {
    list-style: none;
    margin-bottom: 20px;
}

.item-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #dfe6e9;
}

.item-list input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.quantity button {
    padding: 8px 12px;
    border: none;
    border-radius: 8px;
    background: #007bff;
    color: #fff;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.3s;
}

.quantity button:hover, .quantity button:focus {
    background: #0056b3;
}

.quantity input {
    width: 60px;
    padding: 8px;
    text-align: center;
    border: 1px solid #dfe6e9;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s;
}

.quantity input:focus {
    border-color: #007bff;
    outline: none;
}

/* Related Products */
.related-products {
    margin-top: 20px;
}

.related-products h4 {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: #2d3436;
    font-weight: 600;
}

.related-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    justify-content: center;
    align-items: stretch;
}

.related-item {
    text-align: center;
    cursor: pointer;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.related-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.related-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.related-item img:hover {
    transform: scale(1.03);
}

.related-item h4 {
    font-size: 0.9em;
    margin: 8px 0;
    flex-grow: 1;
    color: #2d3436;
}

.related-item p {
    color: #dc3545;
    font-weight: 500;
    font-size: 0.85em;
}

/* Cart Popup */
.cart-popup-content {
    max-width: 700px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #dfe6e9;
}

.cart-item input[type="number"] {
    width: 60px;
    padding: 5px;
    border: 1px solid #dfe6e9;
    border-radius: 8px;
    text-align: center;
    font-size: 1em;
}

.cart-item button {
    padding: 5px 10px;
    border: none;
    border-radius: 8px;
    background: #dc3545;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s;
}

.cart-item button:hover, .cart-item button:focus {
    background: #c82333;
}

.cart-total {
    font-size: 1.2em;
    font-weight: 700;
    margin: 15px 0;
    text-align: right;
    color: #2d3436;
}

/* Order Form */
.order-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.order-form input, .order-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #dfe6e9;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.order-form input:focus, .order-form textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.order-form textarea {
    min-height: 100px;
    resize: vertical;
}

.order-form button {
    padding: 10px;
    border: none;
    border-radius: 8px;
    background: #28a745;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.order-form button:hover, .order-form button:focus {
    background: #218838;
    transform: translateY(-2px);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #007bff;
    color: #fff;
    padding: 12px 16px;
    border-radius: 50%;
    font-size: 1.2em;
    cursor: pointer;
    display: none;
    transition: background 0.3s, transform 0.3s;
    z-index: 1000;
}

.back-to-top.show {
    display: block;
}

.back-to-top:hover, .back-to-top:focus {
    background: #0056b3;
    transform: scale(1.1);
}

/* Order Confirmation */
.order-confirmation {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #28a745;
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    z-index: 3000;
    font-size: 0.9em;
    text-align: center;
    max-width: 90%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.5s ease-out;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #2d3436;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    z-index: 3000;
    font-size: 0.9em;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.toast:hover {
    opacity: 1;
}

/* Footer */
.footer {
    background: #2d3436;
    color: #dfe6e9;
    padding: 30px 20px;
    margin-top: 30px;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.footer-section h3 {
    font-size: 1.3em;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 600;
}

.footer-contact .contact-list {
    list-style: none;
}

.footer-contact .contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-contact .contact-list i {
    font-size: 20px;
    color: #fff;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-contact .contact-list a,
.footer-contact .contact-list span {
    color: #dfe6e9;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.footer-contact .contact-list a:hover,
.footer-contact .contact-list a:focus {
    color: #ffd700;
}

.footer-categories .category-columns {
    display: flex;
    gap: 20px;
}

.category-list {
    list-style: none;
    flex: 1;
}

.category-list li {
    margin-bottom: 10px;
}

.category-list a {
    color: #dfe6e9;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.category-list a:hover, .category-list a:focus {
    color: #ffd700;
}

.footer-about p {
    font-size: 0.9em;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes skeleton {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        flex-direction: row;
        padding: 10px 15px;
        align-items: center;
    }
    .header-left, .header-right {
        display: flex;
        align-items: center;
    }
    .header-left {
        flex: 0 0 auto;
    }
    .header-right {
        flex: 0 0 auto;
        gap: 10px;
    }
    .menu-toggle {
        display: block;
        font-size: 1.2em;
        padding: 8px 12px;
        border-radius: 4px;
        background: #fff;
        color: #2d3436;
    }
    .cart-icon {
        font-size: 1.1em;
        padding: 8px;
    }
    .cart-icon #cart-count {
        padding: 3px 6px;
        font-size: 0.8em;
    }
    .category-menu {
        display: none;
        width: 100%;
        margin: 0;
        position: absolute;
        top: 60px;
        left: 0;
        background: #fff;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        padding: 10px;
    }
    .category-menu.active {
        display: block;
    }
    .menu-list {
        flex-direction: column;
        gap: 10px;
    }
    .menu-list a {
        display: block;
        padding: 10px;
        text-align: center;
        color: #2d3436;
    }
    .menu-list a:hover, .menu-list a:focus {
        color: #007bff;
        background: none;
    }
    .hamburger {
        display: block;
    }
    .search-filter {
        flex-direction: column;
        align-items: stretch;
    }
    .filter-bar {
        justify-content: center;
    }
    .combo-item img {
        height: 180px;
    }
    .popup-content {
        width: 95%;
    }
    .buttons {
        flex-direction: column;
    }
    .buy-button, .cart-button, .detail-button {
        width: 100%;
        min-width: unset;
    }
    .related-list {
        grid-template-columns: 1fr;
    }
    .related-item img {
        height: 100px;
    }
    .related-item h4 {
        font-size: 0.85em;
    }
    .related-item p {
        font-size: 0.8em;
    }
    .pagination a, .pagination button {
        min-width: 35px;
        height: 35px;
        font-size: 0.9em;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
    .category-menu .close-btn {
        top: 15px;
        right: 15px;
        z-index: 1001;
    }
}

@media (min-width: 769px) {
    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .menu-toggle {
        display: none;
    }
    .category-menu {
        display: flex;
        position: static;
        background: none;
        box-shadow: none;
        padding: 0;
    }
    .category-menu .close-btn {
        display: none; /* Xóa nút X trên máy tính */
    }
    .menu-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }
    .menu-list li a {
        display: block;
        padding: 5px 10px;
        color: #333;
        text-decoration: none;
        font-size: 16px;
        border: none;
    }
    .menu-list li a:hover {
        color: #636e72;
    }
    .header-right {
        flex: 0 0 auto;
        order: 2;
    }
    .filter-bar {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        margin-top: 10px;
    }
    .filter-bar select {
        width: 30%;
    }
}

@media (max-width: 480px) {
    .header-logo {
        max-width: 100px;
    }
    .cart-icon {
        font-size: 1em;
    }
    .menu-toggle {
        font-size: 1em;
        padding: 6px 10px;
    }
    .combo-content h3 {
        font-size: 1.4em;
    }
    .price {
        font-size: 1.2em;
    }
    .popup-content img {
        height: 200px;
    }
    .back-to-top {
        bottom: 10px;
        right: 10px;
        padding: 10px 14px;
        font-size: 1em;
    }
}