* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background-color: white;
    overflow-x: hidden;
    height: auto;
}
/* Tổng quát cho header */
.header-container {
    background-color: #3d2b1f; 
    color: white;
    font-family: serif;
    width: 100%;
}

/* Phần trên với logo, thanh tìm kiếm, và biểu tượng chức năng */
.header-top {
    display: flex;
    align-items:center;
    justify-content:space-between;
    padding: 1vw 1vw;
    width: 100%;
}
.logo img {
    display: flex;
    align-items:center;
    justify-content:left;
    display: block;
    margin: 0 0 0 2vw;
    width:35%;
}
/* Tạo container cho thanh tìm kiếm */
.search-bar {
    display: flex;
    align-items: center;
    width: 50%; 
    margin: 1vw 2vw 1vw; 
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); 
}

/* Ô nhập tìm kiếm */
.search-input {
    flex: 1; 
    padding: 1vw 1vw;
    border: none;
    outline: none;
    font-size: 1vw;
}

/* Nút tìm kiếm */
.search-button {
    border: none;
    background-color: white;
    padding: 0.35vw 0.35vw ;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-icon {
    width: 2.5vw; 
    height: 2.5vw;
    transition: filter 0.3s ease;
}

.search-icon:hover {
    transform: scale(1.2);
}

/* Phần biểu tượng chức năng */
   /* Định dạng vùng chứa các biểu tượng trong header */
.header-icons {
    display: flex;
    justify-content:right;
    padding: 0;
    gap: 2vw;
}

/* Định dạng vùng chứa biểu tượng và chữ */
.icon-container {
    position: relative;
    width: 3vw;
    height: 3vw;
    display: flex;
    align-items: center;
    justify-content:center;
    overflow: hidden; 
}

/* Định dạng các biểu tượng */
.icon {
    position:absolute;
    left: 0;
    width: 3vw;
    height: 3vw;
    margin: 0;
    display:flex;
    align-items: center;
    justify-content:center;
    transition: transform 0.3s ease-in-out; 
}
.icon img {
    width: 4vw;
    height: 4vw;
    }
/* Định dạng chữ trượt ngang */
.text {
    position:absolute;
    right: 0;
    opacity: 0;                    
    color: white;              
    transition: opacity 0.3s ease-in-out;
    font-size: 1.3vw;
}

/* Khi di chuột vào container của biểu tượng */
.icon-container:hover .icon {
    transform: translateX(-100%); 
}

.icon-container:hover .text {
    opacity: 1;                
    transition-delay: 0.2s;  
}

/* Phần dưới với menu điều hướng */
.header-nav {
    background-color: #8a5b3d; 
    padding: 1vw;
    width:100%;
    margin: 0;
}

    .header-nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 4vw;
        text-align: center;
    }

    .header-nav li {
        display: inline;
    }

    .header-nav a {
        color: #ffff;
        text-decoration: none;
        font-weight: bold;
        padding: 1vw;
        text-transform: uppercase;
        font-size: 1.4vw;
    }

        .header-nav a:hover {
            background-color: #3d2b1f;
        }
    .title {
        text-align: center;
        color:#8a5b3d;
        font-size: 5vw;
        font-weight: bold;
        margin-top: 3vw;
    }
    .container {
            display:flex;
            justify-content: center;
            gap: 2vw;
            margin: 2vw auto;
            padding: 2vw;
            background: white;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            font-family: sans-serif;
        }
        .product {
            border-radius: 5px;
            overflow: hidden;
            margin-bottom: 2vw;
            text-align: center;
        }
        .product img {
            width: 30vw;
            height: 30vw;
        }
        .product h3 {
            margin: 1vw 0;
            color:#8a5b3d;
            font-size: 1.6vw;
        }
        .product p {
            color: #3d2b1f;
            font-size: 1.3vw;
        }
        .product button {
            background: #8a5b3d;
            color: white;
            font-size: 1.3vw;
            border: none;
            padding: 1vw 1.5vw;
            cursor: pointer;
        }
        .product button:hover {
            background: #3d2b1f;
        }     

        footer {
            display: flex;
            justify-content:center;
            padding: 1vw 1vw;
            background-color: #8a5b3d;
            color:#ffff;
            border-top: 2px solid #006838;
            margin-top: auto;
        }
        
        .footer-column {
            padding: 0 3vw; 
        }
        
        .footer-column h3 {
            font-size: 1.2vw;
            font-weight: bold;
        }
        
        .conect {
            display:flex;
            flex-direction: column; 
            align-items: flex-start;
            gap: 0.5vw;
        }
        .conect a {
            margin: 0.5vw 0;
            font-size: 1.1vw;
            text-decoration: none;
            color:white;
        }
        .social-icons, .payment-icons {
            display: flex;
            gap: 1.5vw; 
            align-items: center;
            margin: 1vw 0;
        }
        .footer-column .social-icons img,
        .footer-column .payment-icons img {
            width: 2vw;
            height: 2vw;
        }  