/* reset */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#efefef;
    font-family:'Roboto', sans-serif;
    color:#222;
}

/* =========================
   CONTAINER
========================= */
.container{
    width:96%;
    max-width:1920px;
    margin:0 auto;
}

/* =========================
   HEADER
========================= */
.header{
    position:absolute;
    top:25px;
    left:0;
    width:100%;
    z-index:100;
    background:white;
    padding:20px 0;
}

.nav-menu{
    display:flex;
    justify-content:flex-end;
    align-items:center;
    padding-right:40px;
}

.logo{
    display:none;
}

/* =========================
   HAMBURGER
========================= */
.hamburger{
    display:none;
    flex-direction:column;
    gap:6px;
    cursor:pointer;
    z-index:999;
}

.hamburger span{
    width:32px;
    height:3px;
    background:black;
    border-radius:3px;
    transition:.3s;
}

.hamburger.active span:nth-child(1){
    transform:rotate(45deg) translate(7px,6px);
}

.hamburger.active span:nth-child(2){
    opacity:0;
}

.hamburger.active span:nth-child(3){
    transform:rotate(-45deg) translate(7px,-6px);
}

/* =========================
   MENU
========================= */
.menu{
    display:flex;
    list-style:none;
    gap:55px;
    align-items:center;
}

.menu.active{
    display:flex;
}

.menu-item a,
.cart-info{
    text-decoration:none;
    color:black;
    font-size:22px;
    font-weight:300;
    transition:.3s;
    cursor:pointer;
}

.menu-item a:hover,
.cart-info:hover{
    opacity:0.7;
}

/* =========================
   CART
========================= */
.cart-info{
    position:relative;
    cursor:pointer;
}

/* hộp giỏ hàng */
.cart-box{
    display:none;
    position:absolute;
    top:85px;
    right:20px;
    width:320px;
    background:white;
    padding:20px;
    border-radius:12px;
    box-shadow:0 5px 20px rgba(0,0,0,0.2);
    z-index:999;
}

.cart-box.active{
    display:block;
}

.cart-box h3{
    font-size:24px;
    margin-bottom:15px;
    color:#222;
    border-bottom:1px solid #ddd;
    padding-bottom:10px;
}

#cart-items{
    list-style:none;
    max-height:250px;
    overflow-y:auto;
    margin-bottom:20px;
}

#cart-items li{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:10px 0;
    border-bottom:1px solid #eee;
}

.delete-btn{
    background:#ff4d6d;
    color:white;
    border:none;
    padding:6px 10px;
    border-radius:6px;
    cursor:pointer;
    transition:.3s;
}

.delete-btn:hover{
    background:#e63956;
}

/* =========================
   BANNER
========================= */
.banner{
    margin-top:25px;
    margin-bottom:70px;
}

.banner .container{
    background:url("/images/nen.jpg") center/cover no-repeat;
    height:760px;
    display:flex;
    justify-content:center;
    align-items:center;
}

.banner-content{
    text-align:center;
    color:black;
}

.banner-content h1{
    font-family:'Pacifico', cursive;
    font-size:96px;
    font-weight:400;
    letter-spacing:4px;
    margin-bottom:20px;
}

.banner-content p{
    font-size:54px;
    font-weight:300;
    margin-bottom:35px;
}

.btn-muasam{
    background:black;
    color:white;
    border:none;
    padding:18px 55px;
    font-size:32px;
    border-radius:6px;
    cursor:pointer;
    transition:.3s;
}

.btn-muasam:hover{
    background:#333;
}

/* =========================
   DANH MỤC
========================= */
.featured-categories{
    background:#fff7fa;
    padding:40px 0 80px;
}

.box-title{
    display:none;
}

.category{
    display:flex;
    justify-content:space-between;
    gap:70px;
}

.category .item{
    flex:1;
    text-align:center;
}

.category .item img{
    width:100%;
    height:330px;
    object-fit:cover;
    display:block;
    border-radius:12px;
    transition:.3s;
}

.category .item img:hover{
    transform:scale(1.03);
}

.category .item p{
    font-size:28px;
    font-weight:400;
    margin-top:20px;
    color:#333;
}

/* =========================
   FOOTER
========================= */
.footer{
    background:white;
    padding:40px 0;
    text-align:center;
}

.footer h3{
    font-size:28px;
    margin-bottom:10px;
    color:#222;
}

.footer p{
    font-size:18px;
    color:#666;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width:1200px){

    .banner .container{
        height:620px;
    }

    .banner-content h1{
        font-size:72px;
    }

    .banner-content p{
        font-size:38px;
    }

    .btn-muasam{
        font-size:24px;
    }

    .category{
        gap:30px;
    }
}

@media (max-width:768px){

    .nav-menu{
        justify-content:space-between;
        padding:0 20px;
    }

    .hamburger{
        display:flex;
    }

    .menu{
        display:none;
        flex-direction:column;
        position:absolute;
        top:80px;
        left:20px;
        width:280px;
        background:#f3f3f3;
        padding:30px;
        gap:35px;
        box-shadow:0 5px 20px rgba(0,0,0,0.25);
        border-radius:10px;
    }

    .menu.active{
        display:flex;
    }

    .banner .container{
        height:500px;
    }

    .banner-content h1{
        font-size:52px;
    }

    .banner-content p{
        font-size:28px;
    }

    .btn-muasam{
        padding:14px 35px;
        font-size:20px;
    }

    .category{
        flex-direction:column;
    }

    .category .item img{
        height:auto;
    }

    .category .item p{
        font-size:24px;
    }
}