/*Import thu vien online*/
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css');
/*@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css');*/

/*Import thu vien hoat anh và boostrap offline*/
/*@import './animate.css-main/animate.min.css';*/
/*@import './bootstrap-5.2.2-dist/css/bootstrap.min.css';*/

:root{
    --primary-color:#7e9699;/*mau chinh*/
    --secondary-color:#aab2bc;
    --accent-color:#8f95a7;
    --black:#13131a;/*mau den chính*/
    --bg:#fafbfb;/*mau phong nen chinh*/
    --text-color:#050f09;
    --border:.2rem solid rgba(19, 19, 26, 0.750);/*mau vien chinh*/
}

*{
    font-family: 'Roboto', sans-serif;
    margin:0; padding:0;
    box-sizing: border-box;
    outline: none; border:none;
    text-decoration: none;
    text-transform: capitalize;/*viet hoa chu cai dau*/
    transition: .2s linear;
}

a {
    text-decoration: none;
}


html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 9rem;
    scroll-behavior: smooth;
}

html::-webkit-scrollbar{
    width: .8rem;
}

html::-webkit-scrollbar-track{
    background: transparent;
}

html::-webkit-scrollbar-thumb{
    background: #fff;
    border-radius: 5rem;
}

body{
    background: var(--bg);
}

section{
    padding:2rem 7%;
}

.heading{
    text-align: center;
    color:var(--secondary-color);
    text-transform: uppercase;
    padding-bottom: 3.5rem;
    font-size: 4rem;
    font-weight: bolder;
}

.heading span{
    color:var(--primary-color);
    text-transform: uppercase;
}

.button{
    margin-top: 2rem;
    display: inline-block;
    padding:.9rem 3rem;
    font-size: 1.7rem;
    color:#fff;
    background: var(--primary-color);
    cursor: pointer;
    text-decoration: none;
}

.button:hover{
    letter-spacing: 0.3rem;
    font-weight: bolder;
    color:#13131a;
}

.read-on {
    text-decoration: underline;
    text-decoration-color: #b88f5f;
    font-size: 1.7rem;
    font-weight: bolder;
    color:#fff;
}

.read-on:hover {
    letter-spacing: 0.3rem;
    color:#fff;
    font-weight: bolder;
}

/* Dinh dang phan dau trang */
.header{
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding:1.5rem 7%;
    border-bottom: var(--border);
    position: fixed;
    top:0; left: 0; right: 0;
    z-index: 1000;
}

.header .logo img{
    height: 6rem;
    width: 6rem;
}

/*De to noi bat khi chon navbar*/
.navbar a.active {
    color: #ffb703 !important;       /* Màu vàng nổi bật */
    font-weight: 700;
    border-bottom: 3px solid #ffb703;
    transition: all 0.3s ease;
}
.navbar a {
    text-decoration: none;
    color: #fff;                     /* Màu chữ mặc định */
    margin: 0 10px;
    padding-bottom: 4px;
}

.header .navbar a{
    margin:0 3.5rem;
    font-size: 2rem;
    font-weight: 600;
    color:var(--text-color);
    text-decoration: none;
}

.header .navbar a:hover{
    color:#fff;
    padding-bottom: .5rem;
}

.header .icons div{
    color:#fff;
    cursor: pointer;
    font-size: 2.5rem;
    margin-left: 2rem;
}

.header .icons div:hover{
    color:var(--primary-color);
}

#menu-btn{
    display: none;
}

.header .search-form{
    position: absolute;
    top:115%; right: 7%;
    background: #fff;
    width: 50rem;
    height: 5rem;
    display: flex;
    align-items: center;
    transform: scaleY(0);
    transform-origin: top;
}

.header .search-form.active{
    transform: scaleY(1);
}

.header .search-form input{
    height: 100%;
    width: 100%;
    font-size: 1.6rem;
    color:var(--black);
    padding:1rem;
    text-transform: none;
}

.header .search-form label{
    cursor: pointer;
    font-size: 2.2rem;
    margin-right: 1.5rem;
    color:var(--black);
}

.header .search-form label:hover{
    color:var(--primary-color);
}

/* Xu ly Gio hang */
.header .cart-items-container{
    position: absolute;
    top:100%; right: -100%;
    height: calc(100vh - 9.5rem);
    width: 35rem;
    background: #fff;
    padding:0 1.5rem;
}

.header .cart-items-container.active{
    right: 0;
}

.header .cart-items-container .cart-item{
    position: relative;
    margin:2rem 0;
    display: grid;
    gap:1.5rem;
}


.cartItemShow {
    display: grid;
    justify-content: start;
    align-items: center;
    grid-template-areas: 
    "tab3 tab1 tab2"
    "tab3 tab1 tab5"
    "tab3 tab1 tab6";
}

.cartItemShow img {
    grid-area: tab1;
}

.cartItemShow h3 {
    grid-area: tab2;
    margin-left: 1.2rem;
}

.cartItemShow a {
    grid-area: tab3;
    font-size: 20px;
    margin-right: 1.2rem;
    color: #1b2a41;
}

#bill-total {
    font-size: 2rem;
    font-weight: bolder;
    color: red;
}

.cartItemShow a:hover {
    color: var(--primary-color);
}

.cartItemShow .price {
    grid-area: tab5;
    margin-left: 1.2rem;
    font-size: 1.6rem;
    font-weight: bolder;
    color: red;
}

.cartItemShow div {
    grid-area: tab6;
    margin-left: 1.2rem;
    font-size: 1.6rem;
    font-weight: bolder;
    color: #000;
}

.header .cart-items-container .cart-item .fa-times{
    position: absolute;
    top:1rem; right: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--black);
}

.header .cart-items-container .cart-item img{
    height: 7rem;
    width: 5rem;
}

.header .cart-items-container .button{
    width: 100%;
    text-align: center;
}
/* END - Dinh dang phan dau trang */

/* Dinh dang phan gioi thieu va slogan */
.home{
    min-height: 100vh;
    display: flex;
    align-items: center;
    background:url(../images/home-img.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.home .content{
    max-width: 60rem;
}

.home .content h3{
    font-size: 6rem;
    text-transform: uppercase; /*viet hoa tat ca*/
    color:#fff;
}

.home .content p{
    font-size: 2rem;
    font-weight: bolder;
    line-height: 1.8;
    padding:1rem 0;
    color: rgba(52, 49, 49, 1);
}
/* END - Dinh dang phan gioi thieu va slogan */

/* Dinh dang phan ve chung toi */
.about .row{
    display: flex;
    align-items: center;
    background:var(--black);
    flex-wrap: wrap;
    background-color: var(--primary-color);
}

.about .row .image{
    flex:1 1 45rem;
}

.about .row .image img{
    width: 100%;
}

.about .row .content{
    flex:1 1 45rem;
    padding: 2rem;
}

.about .row .content img{
    width: 100%;
}

.about .row .content h3{
    font-size: 3rem;
    color:#fff;
}

.about .row .content p{
    font-size: 2rem;
    color:rgb(255, 250, 250);/*mau chu chinh*/
    font-weight: 400;
    padding:1rem 0;
    line-height: 1.8;
}
/* END - Dinh dang phan ve chung toi */

/* Dinh dang phan menu */
.menu .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap:1.5rem;
}

.menu .category {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
    color: var(--text-color);
}

.menu .category a {
    text-decoration: none;
}

.menu .box-container .box span {
    font-size: 2rem;
    color: var(--accent-color);
}

.category-sec {
    border: var(--primary-color) solid 0.4rem;
    border-right: 0;
    border-left: 0;
    color: var(--text-color);
    font-size: 2.8rem ;
    font-weight: bolder;
}

.menu .category-filter {
    border-width: 10px;
    border-color: #fff;
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
    border: 5px;
    border-color: black;
}

.menu .category-sec:hover{
    color:#13131a;
    background-image: url('../images/border-cate.jpg');
    font-weight: bolder;
    border: 0.4rem solid black;
    border-image-source: url('../images/border-cate.jpg');
    border-image-slice: 80;
    color:#13131a;
    color: white; 
}

.menu .box-container .ih-item.square {
    width: auto;
    height: auto;
}

.menu .box-container .box {
    padding:2rem;
    text-align: center;
    border-radius: 2rem;/*Bo Vien*/
    border:var(--border);    
}

.menu .box-container .box img {
    border-radius: 2rem;
    height: 28rem;
    width: 25rem;
}

.menu .box-container .box h3{
    color: var(--text-color);
    font-size: 2rem;
    font-weight: 500;
    padding:1rem 0;
}

.menu .box-container .box .price{
    color: var(--text-color);
    font-size: 2.5rem;
    padding:.5rem 0;
}

.menu .box-container .box .price span{
    font-size: 1.5rem;
    color: var(--accent-color);
    text-decoration: line-through;
    font-weight: 400;
}

.menu .box-container .box:hover{
    background:#ccc;
}


.menu .box-container .box:hover > *{
    color:var(--black);
}

.products .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap:1.5rem;
}
/* END - Dinh dang phan menu */

/* Dinh dang phan san pham */
.products .box-container .box{
    text-align: center;
    border:var(--border);
    padding: 2rem;
    border-radius: 2rem;
}

.products .box-container .box .icons a{
    height: 5rem;
    width: 5rem;
    line-height: 5rem;
    font-size: 2rem;
    border:var(--border);
    color:var(--text-color);
    margin:.3rem;
}

.products .box-container .box .icons a:hover{
    background:var(--primary-color);
}

.products .box-container .box .image{
    padding: 2.5rem 0;
}

.products .box-container .box .image img{
    height: 30rem;
}

.products .box-container .box .content h3{
    color:var(--text-color);
    font-size: 2.5rem;
}

.products .box-container .box .content .stars{
    padding: 1.5rem;
}

.products .box-container .box .content .stars i{
    font-size: 1.7rem;
    color: var(--primary-color);
}

.products .box-container .box .content .price{
    color:#fff;
    font-size: 2.5rem;
}

.products .box-container .box .content .price span{
    text-decoration: line-through;
    font-weight: lighter;
    font-size: 1.5rem;
}
/* END - Dinh dang phan san pham */

/* Dinh dang phan review */
.review .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap:1.5rem;
}

.review .box-container .box{
    border:var(--border);
    text-align: center;
    padding:3rem 2rem;
}

.review .box-container .box{
    color: var(--primary-color);
}

.review .box-container .box p{
    font-size: 1.5rem;
    line-height: 1.8;
    color:var(--accent-color);
    font-weight: bold;
    padding:2rem 0;
}

.review .box-container .box .user{
    height: 7rem;
    width: 7rem;
    border-radius: 50%;
    object-fit: cover;
}

.review .box-container .box h3{
    padding:1rem 0;
    font-size: 2rem;
    font-weight: 500;
    color:var(--text-color);
}

.review .box-container .box .stars i{
    font-size: 1.5rem;
    color:var(--primary-color);
}
/* END - Dinh dang phan review */

/* Dinh dang phan lien he */
.contact .row{
    display: flex;
    background: var(--primary-color);
    flex-wrap: wrap;
    gap:1rem;
}

.contact .login{
    width: 50%;
    margin-left: 25%;
}

.contact .login .button {
    width: 50%;
    font-size: 2.5rem;
    color: var(--text-color);
    font-weight: 400;
    border: solid 2px var(--text-color);
}

.contact .row .map{
    flex:1 1 45rem;
    width: 100%;
    object-fit: cover;
}

.contact .row form{
    flex:1 1 45rem;
    padding:4rem 2rem;
    text-align: center;
}

.contact .row form h3{
    text-transform: uppercase;
    font-size: 3.5rem;
    color:#fff;
}

.contact .row form .inputBox .inputField{
    display: flex;
    align-items: center;
    margin-top: 2rem;
    /*margin-bottom: 2rem;*/
    background:var(--bg);
    border:var(--border);
}

.contact .row form .inputBox .inputField span{
    color:var(--black);
    font-size: 2rem;
    padding: 2rem;
}

.contact .row form .inputBox .inputField input{
    width: 100%;
    padding:2rem;
    font-size: 1.7rem;
    color:var(--text-color);
    text-transform: none;
    background:none;
}

.contact .row form .inputBox div{
    display: flex;
    font-size: 1.6rem;
    font-weight: bold;
}
/* END - Dinh dang phan lien he */

/* Dinh dang phan chan trang */
.footer{
    background:url(../images/footer.png) no-repeat;
    text-align: center;
    background-size: cover;
}

.footer .share{
    padding:1rem 0;
}

.footer .share a{
    height: 5rem;
    width: 5rem;
    line-height: 5rem;
    font-size: 2rem;
    color:#fff;
    border:var(--border);
    margin:.3rem;
    border-radius: 50%;
}

.footer .share a:hover{
    background-color: var(--primary-color);
}

.footer .infomation{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding:2rem 0;
    gap:1rem;
}

.footer .infomation p{
    color: #ccc;
    font-size: 2rem;
}

.footer .infomation a:hover{
    background:var(--primary-color);
}

.footer .credit{
    font-size: 2rem;
    color:#fff;
    font-weight: lighter;
    padding:1.5rem;
}

.footer .credit span{
    color:var(--primary-color);
}
/* END - Dinh dang phan chan trang */


/* media queries - tuong thich thiet bi  */
@media (max-width:991px){

    html{
        font-size: 55%;
    }

    .header{
        padding:1rem 2rem;
    }

    .content {
        margin-top: 3rem;
    }

    section{
        padding:2rem;
    }

    .category-sec {
        border: none;
    }

    .home{
        background-position: left;
        justify-content: center;
        text-align: center;
        background-size:100%;
        min-height: 40vh;
    }

}

@media (max-width:768px){

    #menu-btn{
        display: inline-block;
    }

    .header .navbar{
        position: absolute;
        top:100%; right: -100%;
        background: #fff;
        width: 30rem;
        height: calc(100vh - 9.5rem);
    }

    .header .navbar.active{
        right:0;
    }

    .header .navbar a{
        color:var(--black);
        display: block;
        margin:1.5rem;
        padding:.5rem;
        font-size: 3.5rem;
    }

    .header .search-form{
        width: 90%;
        right: 2rem;
    }


    .home .content h3{
        font-size: 4.5rem;
    }

    .home .content p{
        font-size: 1.5rem;
        padding: 0;
        margin: 0;
    }

    .about .row .content img{
        width: 100%;
    }

    .contact .login {
        width: 100%;
        margin-left: 0;
    }

}

@media (max-width:450px){

    html{
        font-size: 50%;
    }

}
/* Neu click vao eyes se hien thi */

@media screen and(max-width: 760px) {
    .it_t{
        display: none;
    }   
}
/* END - media queries - tuong thich thiet bi  */