body {
font-family: ‘Roboto’, sans-serif;
background-color: #f8f9fa;
}
/* SIDEBAR */
.sidebar {
background: #ffffff;
border: 1px solid #ddd;
border-radius: 6px;
padding: 0;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
overflow: visible; /* cho phép submenu hiện ra ngoài */
position: relative;
z-index: 1100; /* z-index cao hơn banner */
}
.category-item {
position: relative; /* để submenu định vị */
padding: 14px 18px;
font-weight: bold;
border-bottom: 1px solid #eee;
color: #004d40;
cursor: pointer;
transition: all 0.2s ease;
}
.category-item:hover {
background-color: #e0f2f1;
color: #00796b;
padding-left: 22px;
}
.category-item:last-child {
border-bottom: none;
}
.category-item i {
margin-right: 8px;
color: #999;
}
/* MENU CON */
.subcategory {
display: none;
position: absolute;
top: 0;
left: 100%;
width: 650px;
background: #fff;
border: 1px solid #ccc;
padding: 15px;
box-shadow: 0 2px 6px rgba(0,0,0,0.15);
white-space: normal;
flex-wrap: wrap;
z-index: 1150; /* cao hơn sidebar và banner */
}
.category-item:hover > .subcategory {
display: flex;
}
.sub-column {
flex: 1;
padding: 0 10px;
min-width: 180px;
}
.sub-title {
color: #d32f2f;
font-weight: bold;
margin-bottom: 5px;
border-bottom: 1px solid #ddd;
padding-bottom: 5px;
}
.subcategory a {
display: block;
color: #333;
text-decoration: none;
padding: 5px 0;
font-size: 14px;
}
.subcategory a:hover {
color: #00796b;
text-decoration: underline;
}
/* SLIDE BANNER */
.carousel {
position: relative;
z-index: 1000; /* thấp hơn sidebar & submenu */
}
.carousel img {
width: 100%;
max-height: 400px;
object-fit: cover;
border-radius: 6px;
}
/* Tạo khoảng cách bên dưới phần row chứa sidebar & banner */
.row {
margin-bottom: 40px;
}
Lorem ipsum dolor sit amet, consectetuer adipiscing elit
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed dia.
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed.
Free Shipping on orders above 99$
Give a Gift to a Friend
Loved by our Customers
Shop Now
