body{
font-family: Arial;
margin:0;
background:#f5f5f5;
}

.topbar{
background:#eee;
padding:10px;
text-align:center;
}

header{
display:flex;
justify-content:space-between;
align-items:center;
padding:15px 50px;
background:white;
}

.logo{
display:flex;
align-items:center;
font-size:22px;
font-weight:bold;
color:green;
}

.logo img{
width:40px;
margin-right:10px;
}
.search-box{
    text-align:center;
    margin:20px 0;
}

.search input{
width:300px;
padding:10px;
border-radius:20px;
border:1px solid #ccc;
}


nav{
background:#0f8b6d;
padding:15px;
display:flex;
gap:30px;
align-items:center;
}

nav a{
color:white;
text-decoration:none;
font-weight:bold;
}

.booking{
margin-left:auto;
background:red;
color:white;
padding:10px 20px;
border:none;
border-radius:20px;
}

.banner img{
width:100%;
height:600px;
object-fit:cover;
}

.intro{
text-align:center;
padding:50px;
}

.services{
display:flex;
justify-content:center;
gap:40px;
padding:40px;
}

.service{
background:white;
padding:20px;
text-align:center;
}

.service img{
width:200px;
}

.products{
padding:50px;
text-align:center;
}

.product-list{
display:flex;
justify-content:center;
gap:30px;
}

.product{
background:white;
padding:20px;
width:200px;
}

.product img{
width:100%;
}

/* CAM KẾT */

.features{
display:flex;
justify-content:space-around;
padding:40px;
background:#f7f7f7;
text-align:center;
}

.feature{
width:250px;
}

.feature h3{
color:#333;
}



/* SẢN PHẨM BÁN CHẠY */

.best-products{
padding:50px;
background:#fff;
text-align:center;
}

.best-products h2{
color:green;
font-size:32px;
margin-bottom:40px;
}



.product-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:25px;
padding:0 100px;
}



.product-card{
background:white;
padding:15px;
border-radius:10px;
box-shadow:0 0 10px rgba(0,0,0,0.1);
transition:0.3s;
}

.product-card:hover{
transform:translateY(-5px);
}



.product-card img{
width:100%;
border-radius:10px;
}



.price{
color:red;
font-weight:bold;
margin-top:10px;
}



.price-sale{
margin-top:10px;
}

.price-sale del{
color:#999;
margin-right:10px;
}

.price-sale span{
color:red;
font-weight:bold;
}

/* Tiêu đề */

.posts h2{
text-align:center;
color:#0b7a3c;
font-size:36px;
margin:30px 0;
font-weight:bold;
}

/* Layout bài viết */

.post-container{
width:90%;
margin:auto;
display:flex;
gap:30px;
justify-content:center;
}

/* Card bài viết */

.post{
background:white;
width:500px;
display:flex;
box-shadow:0 4px 10px rgba(0,0,0,0.1);
}

.post img{
width:80%;
object-fit:cover;
}

.post-content{
background:#0b7a3c;
color:white;
padding:20px;
width:50%;
display:flex;
flex-direction:column;
justify-content:center;
}

.post-content h3{
font-size:20px;
margin-bottom:10px;
}

.post-content p{
font-size:15px;
line-height:1.4;
}
.account-menu{
    display:flex;
    align-items:center;
    gap:18px;
    font-size:16px;
    font-weight:500;
}

.account-menu a{
    text-decoration:none;
    color:#333;
    transition:0.3s;
}

.account-menu a:hover{
    color:#2c8f7b;
}

.account-user{
    color:#2c8f7b;
    font-weight:bold;
}

.cart-link{
    position:relative;
    color:#2c8f7b !important;
    font-weight:bold;
}

.order-link{
    padding:8px 14px;
    border-radius:8px;
    background:#f3f3f3;
}

.order-link:hover{
    background:#2c8f7b;
    color:white !important;
}

.logout-link{
    padding:8px 14px;
    border-radius:8px;
    background:#ffeded;
    color:#e53935 !important;
    font-weight:bold;
}

.logout-link:hover{
    background:#e53935;
    color:white !important;
}
.auth-menu{
    display:flex;
    align-items:center;
    gap:15px;
}

.login-link,
.register-link{
    text-decoration:none;
    border:2px solid #2c8f7b;
    color:#2c8f7b;
    padding:10px 20px;
    border-radius:30px;
    font-weight:600;
    transition:0.3s;
    font-size:15px;
}

.admin-menu{
    display:flex;
    gap:15px;
}

.admin-menu a{
    text-decoration:none;
    background:#222;
    color:white;
    padding:10px 16px;
    border-radius:8px;
    transition:0.3s;
}

.admin-menu a:hover{
    background:#2c8f7b;
}