* {
    box-sizing: border-box;
}
body{
    margin: 0px;
    padding: 0px;
    font-family: Arial, Helvetica, sans-serif;
}
#header {
    width: 100%;
    height: 120px;
    background-color: darkblue;
}
#wrapper {
    width: 100%;
    height: auto;
    background-color: white;
}
#footer {
    width: 100%;
    height: 300px;
    background-color: darkblue;
}
#top{
    height: 48px;
    width: 100%;
    background-color: darkblue;
}
#top-bar-content{
    width: 80%; 
    height:100%; 
    margin: 0px auto; 
    color:#FFF;
	display: flex;
	align-items: center;
	justify-content: space-between;
	
	
}
#top-bar-left{
    float:left; 
    width: 60%; 
    height: 100%;
    line-height:48px;
	margin-top: 15px;
}
#top-bar-left a{
    
}
#top-bar-right{
    float:right; 
    width:40%; 
    height:70%; 
    line-height:20px; 
    text-align:right;
}
#top-bar-right a{ 
    text-decoration:none;
    color: white;
}
#top-bar-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.auth-box {
    display: flex;
    gap: 10px;
	margin-top: 5px;
}

.auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 15px;
    border-radius: 30px;
    background: rgba(255,255,255,0.2);
    
    font-weight: bold;
    transition: 0.3s;
}

.auth-btn:hover {
    background: lightblue;
    color: #333;
}
.search-box{
    width: 400px;
    margin: 10px auto;
    display: flex;
    align-items: center;
}
.search-box input{
    flex: 1;
    height: 40px;
    border: none;
    outline: none;
    padding-left: 15px;
    border-radius: 20px 0 0 20px;
}
.search-box button{
    width: 40px;
    height: 40px;
    border: none;
    background: ;
    color: white;
    border-radius: 0 20px 20px 0;
    cursor: pointer;
}
#banner-cart a {
    display: inline-block;
    font-weight: bold;
    text-decoration: none;
    color: black;
    margin-top: 51px;
    padding: 5px 10px;
    border: 2px solid black;
    border-radius: 10px;
    transition: 0.3s;
    cursor: pointer;
}
#banner-cart a:hover {
    background-color: lightblue;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
#banner-cart {
    display: flex;
    align-items: center;
    flex-direction: column;
	margin-left: auto;
}
#banner-cart a{
    font-weight: bold;
    text-decoration:none; 
    line-height:48px;
    text-align:center; 
    color:black;
    margin-top:0px auto;
}

.sell{
	display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 15px;
    border-radius: 30px;
    transition: 0.3s;
	
	position: absolute;
	right: 200px;
	top: 57px;
	
}
}
.content{
    width:100%; 
    height:58px; 
    margin-top:41px;
}
.content img{
    float:left; 
    margin-top:14px; 
    margin-right:10px
}
.content span{
    text-align:left; 
    line-height:29px
}
#banner-cart a {
    display: inline-block;
    font-weight: bold;
    text-decoration: none;
    color: black;
    margin-top: 51px;
    padding: 5px 10px;
    border: 2px solid black;
    border-radius: 10px;
    transition: 0.3s;
    cursor: pointer;
}
#banner-cart a:hover {
    background-color: lightblue;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
#banner-cart {
    display: flex;
    align-items: center;
    flex-direction: column;
	margin-left: auto;
}
#banner-cart a{
    font-weight: bold;
    text-decoration:none; 
    line-height:48px;
    text-align:center; 
    color:black;
    margin-top:41px;
}

#menu {
	height: 48px;
	width: 100%;
	background-color: darkred;	
}
#menu-content {
    width: 80%;
    height: 100%;
    margin: 0px auto;
}

#menu-content ul {
    list-style: none;
    margin: 0;
    color: #FFF;
    padding: 0px;
}

#menu-content li {
    float: left;
    padding: 0px 20px;
    line-height: 48px;
	position: relative;
}

#menu-content a {
    text-decoration: none;
    color: #FFF;
}
#menu ul ul{
	display: none;	
}
#menu ul li:hover ul{
	display: block;
	position: absolute;
	top: 48px;
	left: 0px;	
}

#menu ul li:hover{
	background-color: lightblue;
}
#menu ul li li{
	float: none;
	border-bottom: 1px solid #CCC;
	line-height: 40px;
	background-color: #DDD;
	color: #000;
	width: 200px;
}
#menu ul li a{
	color: #000;
	display: block;
}
#container{	
    height: 100%;
    width: 80%;
    min-height: 600px;
    background-color: white;
    margin: 30px auto;
}
#list-cate{
    width: 22%;
    height: 430px;
    background-color: #FFF;
    float: left;
    border: 2px solid #CCC;
    border-radius: 21PX;
}


#slideshow {
    width: 78%;
    height: 430px;
    float: right;
    padding-left:30px ;
}
#slideshow img{
    width: 100%;
    height: 100%;
	border-radius: 50px;
}
#list-cate h1 {
    background-color: darkred; 
    color: white;
    font-size: 16px;
    line-height: 46px; 
    margin: 0px; 
    text-align: center; 
    border-radius: 20px;
}
#list-cate ul {
    list-style: none; 
    margin: 0px;
    padding: 0px;
}
#list-cate ul li{
    line-height: 36px;
    border-bottom:1px solid #CCC ;
    width: 100%;
}
#list-cate ul li ::before{
    content: "➤ ";
    color: grey;
}
#list-cate ul li{
    transition: 0.3s;
}
#list-cate ul li a{
    display: block;
    width: 100%;
    line-height: 36px;
    text-decoration:none;
    color: darkred;
    padding-left: 15px;
}
#list-cate a:hover{
    background-color: lightblue;
    color: #FFF;
}
#ad1{
    height: 186px;
    width: 100%;
    display: flex;
    clear: both;
}
.ad-small{
    flex: 1;
    padding-left: 30px;
    margin: 30px;
}
.ad-small img{
    width: 100%;
    height: 100%;
}
#ad1 .ad-small:nth-child(1){
    padding-left: 0px;
}
.cate{
    width: 100%; 
    height:auto; 
    margin: 0px auto; 
    float: left;
}
.cate-title{
    width: 300px; 
    background-color: darkblue; 
    color: #FFF; 
    font-size: 16px; 
    line-height: 46px; 
    margin: 0px; 
    text-align: center; 
    border-radius: 20px;
	margin: 20px 0;
	margin-top: 20px;
}
.list-product{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
}

.product{
    width: calc(18% - 20px);
    border: 1px solid #CCC;
    border-radius: 20px;
    text-align: center;
    padding: 10px;
    transition: 0.3s;
}

.product:hover{
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.product-photo{
    width: 100%;
    height: 180px;
    object-fit: cover;
	background-size: auto;
}

.product-name{
    color: red;
    font-weight: bold;
    font-size: 18px;
}
.product-money{
    color: red;
    font-weight: bold;
    font-size: 18px;
}
.product-money{
    color: red; 
    font-weight: bold; 
    font-size: 18px;
}
.danhmuc{
    heigth: 100%; 
    flex: 1;
}
.danhmuc h1{
    font-size: 20px;
}
#footer{
    width: 100%; 
    height: auto; 
    background-color:pink; 
    clear: both;
	margin-top: 50px;
    color: #FFF;
	margin-bottom: 10px;
}
#footer-content{
    width: 80%; 
    height:100%; 
    margin: 0px ; 
    display: flex; 
    line-height: 30px
}
#chat{
	width: 80px;
	height: 80px;
	border-radius: 40px;
	background-color: orange;
	position: fixed;
	bottom: 40px;
	right: 40px;
}
#chat{
	width: 80px;
	height: 80px;
	border-radius: 40px;
	background-color: orange;
	position: fixed;
	bottom: 40px;
	right: 40px;
}
.col-1 { width: 8.33% }
.col-2 { width: 16.66% }
.col-3 { width: 25.00% }
.col-4 { width: 33.33% }
.col-5 { width: 41.66% }
.col-6 { width: 50.00% }
.col-7 { width: 58.33% }
.col-8 { width: 66.66% }
.col-9 { width: 75.00% }
.col-10 { width: 83.33% }
.col-11 { width: 91.66% }
.col-12 { width: 100% }


.danhmuc {
    flex: 1;
}

.danhmuc h1 {
    font-size: 18px;
    margin-bottom: 10px;
}

.danhmuc ul {
    list-style: none;
    padding: 0;
}

.danhmuc li {
    margin-bottom: 6px;
}#footer {
    background: darkred;
    color: white;
}

#footer-conten {
    width: 80%;
	margin-bottom: 20px;
    margin: auto;
	margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 30px 0;
}

.danhmuc {
    flex: 1;
}

.danhmuc h1 {
    font-size: 18px;
    margin-bottom: 10px;
}

.danhmuc ul {
    list-style: none;
    padding: 0;
}

.danhmuc li {
    margin-bottom: 6px;
}

/
#chat {
    width: 50px;
    height: 50px;
    border-radius: 90%;
    background: orange;
    position: fixed;
    bottom: 20px;
    right: 20px;
}


@media (max-width: 768px) {

    #top {
        display: none;
    }

    #banner-content {
        flex-direction: column;
        text-align: center;
    }

    #menu-content ul {
        flex-direction: column;
    }

    .product {
        width: 100%;
    }

    #footer-conten {
        flex-direction: column;
        text-align: center;
    }
}


@media (min-width: 768px) and (max-width: 1024px) {

    .product {
        width: calc(50% - 20px);
    }
}