* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    color: #000;
    background-color: #FAF0E6;
    line-height: 1.5;
}

.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 5px 10px;
    height: 60px;
    background-color: #e55a00;
    color: #fff;
    border-radius: 0 0 10px 10px;
}
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    margin-left: 30px;
    margin-top: 30px;
    max-width: 70px;
    height: 100%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 20px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    margin-right: 20px;
}

.nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav li {
    margin: 10px 0;
}

.nav a {
    color: #fff;
    font-family: 'Kanit', sans-serif;
    font-size: 18px;
    font-weight: 900;
    text-decoration: none;
}

.nav a:hover {
    text-decoration: underline;
}

/* Menu Styles */
.menu-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.menu {
    position: fixed;
    top: 60px;
    height: 80px;
    left: 0;
    right: 0;
    z-index: 900;
    margin: 0;
    padding: 10px 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.menu li {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 100px;
}

.menu-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 0;
    transition: transform 0.3s ease;
}

.menu a {
    color: #000;
    font-family: 'Jaro', sans-serif;
    font-size: 15px;
    text-decoration: none;
}

.menu li:hover .menu-img {
    transform: scale(1.1);
}

.menu li:hover a {
    color: #ff6200;
}


.promotion-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  max-width: 800px;
  margin: auto;
}

.promo-card {
  display: flex;
  background-color: #fff5eb;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  padding: 15px;
  align-items: center;
}

.promo-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  margin-right: 20px;
}

.promo-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.promo-title {
  color: #e60000;
  font-weight: bold;
  margin-bottom: 8px;
  font-size: 18px;
}

.promo-time {
  font-size: 14px;
  color: #555;
  margin-top: 5px;
}



.footer {
    background-color: #5C4033; /* màu nâu */
    color: #fff;
    padding: 10px 10px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    border-radius: 10px 10px 0 0;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
}

.footer-left .row {
    display: flex;
    flex-direction: row;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-right {
    display: flex;
    flex-direction: row; /* đổi từ column -> row */
    justify-content: center;
    align-items: center;
    gap: 10px;
}


.footer-button {
    padding: 10px 20px;
    background-color: #ff6200;
    color: #fff;
    font-family: 'Kanit', sans-serif;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.footer-button:hover {
    background-color: #e55a00;
}










/* Media Queries */
@media screen and (min-width: 1024px) {
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-links {
        display: flex;
        gap: 20px;
    }

    .cart {
        display: flex;
        align-items: center;
    }
}

@media screen and (max-width: 1024px) {
    .logo-img {
        margin-top: 0;
        max-width: 40px;
    }


    .menu {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
    }

    .menu ul {
        display: flex;
        list-style: none;
        gap: 20px;
        justify-content: flex-start;
        flex-wrap: nowrap;
        width: 100%;
    }

    .menu li {
        flex: 0 0 auto;
    }

    .menu a {
        font-size: 18px;
    }
                    .footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-left .row {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .footer-right {
        margin-top: 20px;
    }

}

@media screen and (max-width: 768px) {
    .logo {
        margin-left: -15px;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 999;
    }

    .hamburger {
        display: block;
        font-size: 24px;
        cursor: pointer;
        margin-left: 10px;
        order: -1; /* Hamburger ở bên trái */
    }

    .nav-links {
        display: none;
    }

    .cart {
        margin-right: 10px;
        position: absolute;
        right: 10px; /* Đảm bảo cart vẫn ở bên phải */
        top: 50%;
        transform: translateY(-50%);
        font-size: 16px;
        color: white;
        z-index: 999;
    }

    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

   

    .menu {
        top: 60px;
        height: 100px;
        width: 100%;
        overflow-x: auto;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
    }

    .menu ul {
        
        gap: 20px;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        width: max-content;
    }

    .menu li {
        flex: 0 0 auto;
    }

}

@media screen and (max-width: 480px) {
    .logo-img {
        margin-top: 0;
        max-width: 40px;
    }


    .products {
        margin-top: 220px;
    }

    .product-item img {
        max-width: 100px;
    }




   
}
