body{
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}
#header {
    background-color: #4813da;
    color: white;
    text-align: center;
    padding: 20px 0 10px 0;
}
#header h1 {
    margin: 0;
    font-size: 32px;
    font-weight: bold;
}
#header p {
    color: #ccc;
    margin: 5px 0 0;
    font-size: 16px;
}

#menu {
  background: #34495e;
  position: relative;
  z-index: 1000;
}
#menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}
#menu ul li {
  position: relative;
}
#menu ul li a {
  display: block;
  padding: 15px;
  color: white;
  text-decoration: none;
}
#menu ul li:hover {
  background-color: green;
}
#menu ul li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #34495e;
  min-width: 180px;
  flex-direction: column;
}
#menu ul li:hover > ul {
  display: flex;
}
#menu ul li ul li ul {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  background-color: #34495e;
  min-width: 180px;
  flex-direction: column;
}
#menu ul li ul li:hover > ul {
  display: flex;
}

main {
  padding: 40px 0;
  background-color: #fffaf2;
  font-family: "Segoe UI", Arial, sans-serif;
}
.featured-products {
  text-align: center;
  padding: 20px 60px;
}
.featured-products h2 {
  font-size: 26px;
  font-weight: 700;
  color: #b3471b;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 3px solid #f4c37d;
  display: inline-block;
  padding-bottom: 5px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  justify-items: center;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.product-card h3 {
  font-size: 18px;
  color: #333;
  margin: 10px 0 5px;
}
.product-card p {
  color: #d35400;
  font-weight: bold;
  margin-bottom: 12px;
}

#footer{
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 15px 0;
    margin-top: 20px;
}
#footer p{
    margin: 0;
}

/* Thanh tìm kiếm */
.search-box {
  display: flex;
  align-items: center;
  background: #fff;
  border: 2px solid #ffa94d;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(255, 153, 51, 0.2);
  width: 500px;
  max-width: 90%;
  padding: 8px;
  margin: 40px auto;
}
.search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 16px;
  font-size: 16px;
  color: #333;
  border-radius: 8px 0 0 8px;
  background-color: #f5f5f5;
}
.search-btn {
  background-color: #ff5722;
  border: none;
  color: white;
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  transition: background 0.3s;
}
.search-btn:hover {
  background-color: #e64a19;
}
.search-btn i {
  font-size: 18px;
}


.marquee-container {
  width: 100%;
  background: #fff;
  overflow: hidden;
  padding: 10px 0;
  margin-bottom: 20px;
}
.marquee-container img {
  height: 80px;
  margin: 0 30px;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
}


.menu-section {
  text-align: center;
  margin: 60px 0;
}
.menu-section h2 {
  color: #a44a1f;
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 3px solid #a44a1f;
  display: inline-block;
  padding-bottom: 5px;
  margin-bottom: 30px;
}
.menu-items {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  text-align: center;
}
.menu-items .item {
  width: 260px;
}
.menu-items .item img {
  width: 100%;
  border-radius: 10px;
}
.menu-items .item h3 {
  font-size: 20px;
  margin: 10px 0 5px;
  color: #333;
}
.menu-items .item p {
  color: #c14a0c;
  font-weight: bold;
}


.rating {
  color: #ffc107;
  font-size: 20px;
  letter-spacing: 2px;
  text-align: center;
  margin-top: -5px;
  margin-bottom: 10px;
  transition: transform 0.3s;
}
.product-card:hover .rating {
  transform: scale(1.1);
}


.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  justify-items: center;
  padding: 20px 40px;
}

.product-card {
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  transition: 0.3s;
  width: 220px;
  text-align: center;
}

.product-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 8px;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}


#header {
    background-color: #4813da;
    color: white;
    text-align: center;
    padding: 20px 0 10px;
}

#header h1 {
    margin: 0;
    font-size: 32px;
    font-weight: bold;
}


.page-content {
    padding: 40px 0;
    background: #fffaf2;
}

.page-content h2 {
    text-align: center;
    font-size: 28px;
    color: #4a8b4a;
    margin-bottom: 25px;
    text-transform: uppercase;
    font-weight: bold;
    display: inline-block;
    border-bottom: 3px solid #4a8b4a;
    padding-bottom: 5px;
    margin-left: 50%;
    transform: translateX(-50%);
}


.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 30px;
    justify-items: center;
    padding: 0 40px;
}


.product-card {
    background: #ffffff;
    width: 230px;
    text-align: center;
    padding: 15px;
    border-radius: 12px;
    border: 2px solid #e0f2e0;
    transition: 0.3s;
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}

.product-card h3 {
    font-size: 20px;
    color: #2b6e32;
    margin: 12px 0 5px;
}

.product-card p {
    font-size: 18px;
    font-weight: 700;
    color: #ff5722;
}


.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    border-color: #98d698;
}
