* FONT CHUNG */
body{
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f5f5f5;
}

/* HEADER */
header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #2e8b57;
    color: white;
    padding: 10px 30px;
}

header h1{
    font-size: 30px;
    margin: 0;
    flex: 1;
    text-align: center;
}

/* LOGO + HÌNH */
.logo img,
.flower-deco img{
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
}

/* NAVBAR */
.navbar{
    background: #1f6b45;
}

.main-menu{
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu li{
    margin: 0;
}

.main-menu a{
    display: block;
    padding: 15px 25px;
    color: white;
    text-decoration: none;
    font-size: 17px;
}

.main-menu a:hover,
.main-menu .active{
    background: #14532d;
}


/******CONTAINER CHÍNH******/

/* LAYOUT */
.container{
    display: flex;
    gap: 20px;
    padding: 20px;
}

/* SIDEBAR */
.sidebar-left,
.sidebar-right{
    width: 20%;
    background: white;
    padding: 15px;
    border-radius: 10px;
}

/* MENU DỌC */
.vertical-menu{
    list-style: none;
    padding: 0;
    margin: 0;
}

.vertical-menu li{
    border-bottom: 1px solid #ddd;
}

.vertical-menu a{
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
    font-size: 15px;
}

.vertical-menu a:hover{
    background: #e8f5e9;
    color: #2e8b57;
}

/* CONTENT */
.content{
    width: 60%;
}

/* CARD */
.card{
    width: 100% !important;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* ẢNH CARD */
.card img{
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* NỘI DUNG CARD */
.card-body{
    padding: 15px;
}

.card-title{
    font-size: 22px;
    color: #2e8b57;
}

.card-text{
    font-size: 15px;
    line-height: 1.6;
}

/* BANNER */
.banner-left img{
    width: 100%;
    margin-top: 15px;
    border-radius: 10px;
}

/* CONTAINER */
.container{
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 30px 0;
}

/* CONTENT */
.content{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

/* CARD */
.card{
    width: 85%;
    max-width: 850px !important;
    border: none;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: 0.3s;
}

/* HOVER */
.card:hover{
    transform: translateY(-5px);
}

/* ROW */
.card .row{
    display: flex;
    align-items: center;
}

/* KHUNG ẢNH */
.col-md-4{
    height: 250px;
    overflow: hidden;
}

/* ẢNH */
.card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* NỘI DUNG */
.card-body{
    padding: 20px;
}

.card-title{
    font-size: 24px;
    color: #2e8b57;
    margin-bottom: 10px;
}

.card-text{
    font-size: 15px;
    line-height: 1.6;
}
/* NAVBAR STICKY */
.navbar{
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #1f6b45; 
}

/**************Trang Chủ********************/

/* RESET */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

/* CONTAINER */
.container{
    width: 95%;
    margin: 20px auto;
    display: flex;
    gap: 20px;
}

/* SIDEBAR */
.sidebar-left,
.sidebar-right{
    width: 20%;
}

/* MENU */
.vertical-menu{
    list-style: none;
    background: #f5f5f5;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #ddd;
}

.vertical-menu li{
    border-bottom: 1px solid #ddd;
}

.vertical-menu li:last-child{
    border-bottom: none;
}

.vertical-menu a{
    display: block;
    padding: 12px;
    text-decoration: none;
    color: #333;
    transition: 0.3s;
}

.vertical-menu a:hover{
    background: #4CAF50;
    color: white;
}

.vertical-menu i{
    margin-right: 8px;
}

/* BANNER */
.banner-left img{
    width: 100%;
    margin-top: 15px;
    border-radius: 10px;
}

/* PRODUCT SECTION */
.product-section{
    width: 60%;
}

.section-title{
    background: #4CAF50;
    color: white;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}

/* PRODUCT GRID */
.product-grid{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* PRODUCT CARD */
.product{
    width: 220px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    transition: 0.3s;
}

.product:hover{
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* PRODUCT IMAGE */
.product img{
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* PRODUCT NAME */
.p-name{
    font-size: 18px;
    font-weight: bold;
    padding: 10px 5px 5px;
    color: #333;
}

/* PRODUCT PRICE */
.p-price{
    color: #e53935;
    padding-bottom: 15px;
    font-weight: bold;
}

/*******CONTAINER PHỤ*******/
/* RESET */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CONTAINER */
.container{
    display: flex;
    gap: 20px;
    width: 100%;
    padding: 20px;
}

/* SIDEBAR */
.sidebar-left,
.sidebar-right{
    width: 20%;
}

/* MENU */
.vertical-menu{
    list-style: none;
}

.vertical-menu li{
    margin-bottom: 10px;
}

.vertical-menu li a{
    display: block;
    padding: 10px;
    background: #2e7d32;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.vertical-menu li a:hover{
    background: #1b5e20;
}

/* BANNER */
.banner-left img{
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 15px;
}

/* PRODUCT SECTION */
.product-section{
    width: 60%;
}

.section-title{
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #2e7d32;
    text-align: center;
}

/* GRID */
.product-grid{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
}

/* PRODUCT */
.product{
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding: 10px;
    background: #fff;
    transition: 0.3s;
}

.product:hover{
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* HÌNH ẢNH */
.product img{
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
}

/* TÊN */
.p-name{
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
    color: #333;
}

/* GIÁ */
.p-price{
    color: red;
    margin-top: 5px;
    font-weight: bold;
}

/* ẢNH TOP */
img{
    max-width: 100%;
    display: block;
}







/*****DropDown****/
/* MENU CHA */
.navbar .main-menu li{
    position: relative;
}

/* MENU CON (ẩn ban đầu) */
.dropdown-menu{
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    list-style: none;
    padding: 0;
    margin: 0;
    min-width: 200px;
    border: 1px solid #ddd;
    display: none;
    z-index: 999;
}

/* ITEM MENU CON */
.dropdown-menu li a{
    display: block;
    padding: 10px;
    color: black;
    text-decoration: none;
}

.dropdown-menu li a:hover{
    background: #4CAF50;
    color: white;
}

/* HOVER HIỆN MENU */
.dropdown:hover .dropdown-menu{
    display: block;
}































/*******Đăng Nhập*******/
/* FORM */
.form-box{
    width: 400px;
    margin: 30px auto;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-box h2{
    text-align: center;
    margin-bottom: 20px;
    color: #4CAF50;
}

.form-box form{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-box input,
.form-box textarea{
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
}

.form-box textarea{
    height: 100px;
    resize: none;
}

.form-box button{
    padding: 12px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}

.form-box button:hover{
    background: #388e3c;
}