/* Reset CSS */
* {
    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: white;
        text-decoration: none;
        font-weight: bold;
        padding: 1vw;
        text-transform: uppercase;
        font-size: 1.4vw;
    }

        .header-nav a:hover {
            background-color: #3d2b1f;
        }

/* Định dạng vùng chứa slideshow */
.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow:hidden;
    height: auto;
}

/* Ẩn các slide theo mặc định */
.mySlides {
    display: none;
}

/* Hiệu ứng chuyển động mờ dần */
.fade {
    animation-name: fade;
    animation-duration: 0.5s;
}

/* Định dạng mũi tên điều khiển */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 1.4vw;
    margin-top: -3vw;
    color: #3d2b1f;
    font-weight: bold;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* Khi di chuột qua, mũi tên sẽ sáng lên */
.prev:hover, .next:hover {
    background-color: white;
}

/* Định dạng các dấu chấm chỉ hình ảnh */
.dots {
    position: absolute;
    bottom: 1.5vw; 
    left: 50%;
    transform: translateX(-50%); 
    display: flex;
    gap: 1vw;
}

.dot {
    width: 0.7vw;
    height: 0.7vw;
    background-color: #ddd;
    border-radius: 50%;
    display:inline-block;
    cursor: pointer;
    margin: 0;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color:#3d2b1f;
}

/* Hiệu ứng mờ dần */
@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

/* Định dạng tiêu đề */
.introduce-container {
    display:inline;
    justify-content: center;
    text-align: center;
    margin: 0;
    max-width: 100%;
}
.carista h1 {
    color: #8a5b3d; 
    font-size: 4.2vw;
    font-weight: bold;
    margin-top: 2vw;
    margin-bottom: 3vw;
}
/* Định dạng cho các đoạn văn */
.introduce p {
    font-family: sans-serif; 
    font-size: 1.5vw; 
    color:#3d2b1f; 
    line-height: 1.6;
    width: 50%;
    margin: 1vw auto;
}
.spotlight-product {
    max-width: 100%;
    margin: 8vw auto;
    text-align: center;
}
.spotlight-product h1 {
    color: #8a5b3d; 
    font-size: 4.2vw;
    font-weight: bold;
    margin-top: 2vw;
}
.product-list {
    display: flex;
    justify-content:center;
    margin: 2vw 1vw;
    gap: 5vw;
}

.product {
    width: 100%;
    background-color: white;
}

.product img {
    width: 100%;
    height: 30vw;
    border-radius: 8px;
}

.product a {
    font-size: 1.5vw;
    color: #8a5b3d;
    font-weight: bold;
    text-decoration: none;
}

.product p {
    color:#3d2b1f;
    font-size: 1.2vw;
    padding:0.4vw 0;
    margin-bottom: 1vw;

}

.product .price {
    font-size: 1.4vw;
    color: #3d2b1f;
    font-weight: bold;
}
.blog {
    display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            padding: 2vw;
}

.title {
    color: #8a5b3d; 
    font-size: 4vw;
    font-weight: bold;
}

.button {
    display: flex;
    align-items: center;
    padding: 1vw 2vw;
    text-decoration: none;
    color: #333;
    font-size: 1.2vw;
    transition: background-color 0.3s;
    gap: 0.5vw;
}

.button:hover {
    background-color: #f0f0f0;
}

.arrow {
    font-size: 1.2vw;
}

hr {
    width: 50%;
    height: 0.2vw;
    background-color: #006838; 
    border: none;
    margin: 1vw auto;
}
footer {
    display: flex;
    justify-content:center;
    padding: 1vw 1vw;
    background-color: #8a5b3d;
    color:white;
    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;
}