:root {
  --color-background: #482d2d;
  --color-slogan: #4f9a46;
  --color-subslogan: #808000;
  --color-nav: rgb(163, 90, 90, 1);
  --color-buy: #4caf50;
  --color-hotline: #01fd7f;
}
html,
body {
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Merriweather', serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  /* padding: 0 1rem;  */
  /* color: rgb(126, 39, 39); */
}
.category-menu h2 {
  background-color: #c29a5e;
  color: #fff;
  padding: 10px;
  margin: 0;
  text-align: center;
  font-size: 1rem;
}
a {
  text-decoration: none;
  color: #000;
}
.slogan {
  color: #ffd700; /* Màu vàng nhạt cho tiêu đề chính */
  font-weight: bold;
  font-size: 28px;
  font-family: 'Merriweather', serif;
  margin: 0.5rem 0;
}

.sub-slogan {
  margin-top: 8px;
  color: var(--color-subslogan);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* CSS cho thanh điều hướng */
nav {
  /* Gradient nền cho menu điều hướng */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 30px;
  border-radius: 0 0 20px 20px; /* Bo góc dưới với độ cong lớn hơn */
}

nav a {
  color: #e0e0e0; /* Màu chữ trung tính sáng */
  text-decoration: none;
  margin: 0 18px;
  font-size: 18px;
  padding: 12px 20px;
  position: relative;
  transition: color 0.3s ease, transform 0.3s ease;
  border-radius: 30px; /* Bo góc lớn cho các liên kết */
  background: rgba(255, 255, 255, 0.1); /* Nền mờ cho liên kết */
  backdrop-filter: blur(5px); /* Hiệu ứng mờ nền */
}
.dropdown-content a {
  margin: 0;
  border-radius: 0;
}

nav a:hover {
  color: #fff; /* Màu chữ khi hover */
  transform: translateY(-5px); /* Hiệu ứng nổi lên khi hover */
  background: rgba(255, 255, 255, 0.2); /* Nền mờ hơn khi hover */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* Đổ bóng khi hover */
}

nav a.active {
  color: #ffcc00; /* Màu chữ cho liên kết đang chọn */
  font-weight: bold;
  background: rgba(255, 255, 255, 0.2); /* Nền mờ hơn cho active */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* Đổ bóng cho active */
}

nav a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 100%;
  height: 5px;
  background: linear-gradient(
    45deg,
    #ffcc00,
    #ff9900
  ); /* Gradient cho đường gạch chân */
  border-radius: 5px;
  transition: transform 0.4s ease, background 0.3s ease;
}

nav a:hover,
nav a.active {
  color: #ffcc00; /* Màu vàng nhạt cho chữ khi hover hoặc active */
}

nav a:hover::after,
nav a.active::after {
  transform: translateX(-50%) scaleX(1);
}

.menu li {
  display: inline-block;
  position: relative;
}

.menu-toggle {
  display: none; /* Mặc định ẩn */
  cursor: pointer;
}

.nav-menu {
  display: flex;
  justify-content: flex-end;
}

/* Style cho dropdown menu */
.dropdown-content {
  display: none;
  position: absolute;
  background: linear-gradient(135deg, #1e1e1e, #444);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5); /* Đổ bóng lớn hơn */
  z-index: 1;
  min-width: 334px;
  padding: 0 0; /* Khoảng cách phía trên và dưới rộng hơn */
  top: 35px;
  border-radius: 25px;
  overflow: hidden; /* Đảm bảo không có phần tử nào tràn ra ngoài */
}
.dropdown:hover .dropdown-content {
  display: block;
}
.dropdown {
  padding: 3px 0;
}

.dropdown-content li {
  display: block;
}

.dropdown-content li a {
  color: #ffffff; /* Màu chữ trắng */
  font-size: 17px; /* Kích thước phông chữ lớn hơn */
  font-weight: 500; /* Độ đậm phông chữ vừa phải */
  padding: 14px 25px; /* Khoảng cách rộng rãi */
  display: block; /* Đặt mỗi mục là một block element */
  text-decoration: none; /* Loại bỏ gạch chân */
  transition: all 0.3s ease-in-out; /* Hiệu ứng chuyển mượt mà */
  position: relative; /* Định vị cho các phần tử con */
  z-index: 1; /* Đảm bảo menu luôn hiển thị trên các phần tử khác */
}

.dropdown-content li a:hover {
  color: #fff; /* Màu chữ trắng khi di chuột */
  background: #ffb800; /* Nền xanh lá đậm khi di chuột */
  border-radius: 5px; /* Góc bo tròn */
  padding-left: 30px; /* Tăng khoảng cách trái khi di chuột */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Thêm đổ bóng */
}
.navbar-dropdown a:hover:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 5px; /* Dải màu ở cạnh trái */
  background: linear-gradient(
    180deg,
    #00c6ff,
    #0072ff
  ); /* Gradient xanh dương */
  border-radius: 5px 0 0 5px; /* Bo góc dải màu */
  z-index: -1; /* Đặt dải màu phía sau văn bản */
}
.dropdown-content li a:active {
  background: linear-gradient(135deg, #FF8C00, #FFA500); /* Màu cam tối */

font-weight: bold;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  color: #ffffff; /* Màu chữ trắng */
  border-radius: 5px; /* Góc bo tròn */
  padding-left: 30px; /* Tăng khoảng cách trái */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Thêm đổ bóng */
}

/* Hiện menu khi hover vào phần tử cha */

.category-menu {
  width: 250px;
  /* Màu nền đỏ sậm cho tiêu đề */
  border-radius: 10px; /* Bo góc cho toàn bộ menu */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Đổ bóng nhẹ */
  overflow: hidden; /* Đảm bảo không có phần tử nào tràn ra ngoài */
  margin-bottom: 20px; /* Tạo khoảng cách phía dưới */
}

.category-toggle {
  text-transform: uppercase; /* Chữ in hoa */
  background-color: #c29a5e;
  color: #fff;
  padding: 10px;
  margin: 0;
  text-align: center;
  font-size: 1rem;
  width: 100%;
  border: none;
  font-weight: bold;
  font-family: 'Merriweather', serif;
}

.category-menu ul {
  list-style: none; /* Loại bỏ ký hiệu danh sách */
  padding: 0; /* Loại bỏ padding */
  margin: 0; /* Loại bỏ margin */
}

.category-menu ul li {
  border-bottom: 1px solid #eee; /* Đường viền dưới nhẹ cho từng mục */
}
.category-menu ul li:last-child {
  border-bottom: none; /* Loại bỏ viền dưới cho mục cuối */
}

.category-menu ul li a {
  display: block; /* Đặt mỗi mục là một block element */
  color: #333; /* Màu chữ xám đậm */
  font-size: 16px; /* Kích thước phông chữ */
  padding: 12px 20px; /* Khoảng cách xung quanh từng mục */
  text-decoration: none; /* Loại bỏ gạch chân */
  transition: all 0.3s ease; /* Hiệu ứng chuyển mượt mà */
}
.category-menu ul li a:hover {
  background-color: #f5f5f5; /* Nền xám nhạt khi di chuột */
  padding-left: 25px; /* Tăng khoảng cách trái khi di chuột */
  color: #a67b47; /* Màu chữ đỏ sậm khi di chuột */
  border-left: 4px solid #a67b47; /* Đường viền trái khi di chuột */
}
.category-menu ul li a.active {
  background-color: #ddd; /* Nền xám sáng cho mục đang chọn */
  color: #8b0000; /* Màu chữ đỏ sậm cho mục đang chọn */
  font-weight: bold; /* Chữ đậm hơn */
  padding-left: 25px; /* Tăng khoảng cách trái */
  border-left: 4px solid #8b0000; /* Đường viền trái cho mục đang chọn */
}

.test {
  position: absolute;
}
.test {
  display: none;
}

.test1:hover .test {
  display: block;
}

.products,
.categories,
.news {
  padding: 2rem 0;
}

.products .container,
.categories .container,
.news .container {
  text-align: center;
}

.product-list,
.category-list,
.news-list {
  display: flex;
  justify-content: space-around;
  gap: 1rem;
  flex-wrap: wrap;
}

.product,
.category,
.news-item {
  border: 1px solid #ccc;
  padding: 1rem;
  flex: 1 1 30%;
  box-sizing: border-box;
}

.product img,
.category img,
.news-item img {
  max-width: 100%;
  height: auto;
}

.m-w {
  display: flex;
  max-width: 1200px;
  justify-content: space-between;
  margin: 10px auto auto auto;
}
.menu-icon {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  margin-top: 10px;
}
.description {
  display: inline-block;
  padding-left: 10px;
}
.description p {
  margin: 0;
  opacity: 0.8;
}
.description .br {
  font-weight: bold;
  opacity: 1;
}
.container .logo img {
  width: 8rem;
  border-radius: 50%;
}
.banner-menu {
  width: 900px;
  height: 350px;
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: fixed;
  right: 10px;
  bottom: 30px;
  color: #fff;
  align-items: end;
  z-index: 10000;
}
.price {
  color: red;
  font-size: 18px;
}
.sale {
  text-decoration: line-through; /* Gạch ngang giá niêm yết */
  color: #999;
}
p {
  margin: 0.5rem 0;
}
.detail-btn {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
}
.btn {
  display: inline-block;
  background-color: var(--color-buy); /* Màu nền */
  color: white; /* Màu chữ */
  text-align: center; /* Căn giữa nội dung */
  padding: 10px 20px; /* Độ lớn của nút */
  text-decoration: none; /* Bỏ gạch chân cho link */
  border-radius: 5px; /* Đường cong viền */
  border: none; /* Bỏ viền */
  cursor: pointer; /* Con trỏ tay khi rê chuột */
  font-size: 16px; /* Kích thước chữ */
  transition: background-color 0.3s; /* Hiệu ứng chuyển đổi màu nền */
  margin-bottom: 25px;
  margin-top: 15px;
}

.btn-xt {
  display: inline-block;
  background-color: var(--color-nav); /* Màu nền */
  color: white; /* Màu chữ */
  text-align: center; /* Căn giữa nội dung */
  padding: 10px 20px; /* Độ lớn của nút */
  text-decoration: none; /* Bỏ gạch chân cho link */
  border-radius: 5px; /* Đường cong viền */
  border: none; /* Bỏ viền */
  cursor: pointer; /* Con trỏ tay khi rê chuột */
  font-size: 16px; /* Kích thước chữ */
  transition: background-color 0.3s; /* Hiệu ứng chuyển đổi màu nền */
  margin-bottom: 25px;
  margin-top: 15px;
}
.btn-xt.margin35 {
  margin-top: 35px;
}
.btn:hover {
  background-color: #45a049; /* Màu nền khi di chuột vào */
}
.btn-xt:hover {
  background-color: #894a4a;
}

.hotline,
.zalo {
  display: flex;
  align-items: center;
}
.contact .zalo {
  margin-right: 8px;
  margin-top: 10px;
}
/* .hotline img {
        width: 75px;
        background-color: #ffffff00;
        animation: heartbeat 1s infinite;
        
    } */
@keyframes icon-bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.hotline img {
  width: 75px;
  animation: icon-bounce 2s infinite;
}
.zalo img {
  width: 60px;
  transition: transform 0.3s ease-in-out;
  margin-left: 10px;
}

.call-button {
  background-color: #008cba;
  color: white;
  border: none;
  padding: 10px 20px;
  text-align: center;
  display: none;
  font-size: 16px;
  margin: 4px 2px;
  height: 38px;
  border-radius: 8px;
}
.hotline .call-button {
  background-color: #06e25e;
}

.zalo:hover img {
  animation: heartbeat 1s infinite;
}
.zalo:hover .call-button {
  display: inline-block;
}
.hotline:hover .call-button {
  display: inline-block;
}
.hotline:hover img {
  animation: heartbeat 1s infinite;
}

@keyframes heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}



.socal-media {
  padding: 0;
}
.socal-media li {
  display: inline-block;
}
.socal-media li:hover {
  opacity: 0.8;
}
.socal-media li i {
  padding: 0.1rem;
}
.fa-youtube {
  color: red;
  opacity: 0.8;
  font-size: 1.5rem;
}
.fa-facebook {
  color: rgb(0, 136, 255);
  margin-left: 0.5rem;
  font-size: 1.5rem;
}
.bold {
  font-weight: bold;
  color: #555;
}
nav .menu-icon {
  display: none; /* Ẩn biểu tượng menu trên màn hình lớn */
  font-size: 24px;
  color: #e0e0e0;
  cursor: pointer;
}

.hotline-product a {
  text-decoration: none;
  color: red;
  font-weight: bold;
}
footer {
  background-color: #333333;
  color: #ffffff;
  padding-top: 50px;
  font-family: 'Roboto', sans-serif;
  position: relative;
  overflow: hidden;
}

footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
footer h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 2px solid #333;
  padding-bottom: 10px;
  letter-spacing: 1px;
}
footer p,
footer ul {
  font-size: 16px;
  line-height: 1.8;
  color: #f2f2f2;
}
footer ul {
  list-style-type: none;
  padding: 0;
}
footer ul li {
  margin-bottom: 12px;
}
footer ul li a {
  color: #f2f2f2;
  text-decoration: none;
  transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
  position: relative;
  display: inline-block;
}
footer ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: #ffffff;
  transition: width 0.3s ease-in-out;
}

footer ul li a:hover {
  color: #ffffff;
  transform: scale(1.05);
}

footer ul li a:hover::after {
  width: 100%;
}
.footer-about,
.footer-links,
.footer-contact {
  flex: 1 1 30%;
}
footer .socal-media {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

footer .socal-media li a {
  color: #f2f2f2;
  font-size: 22px;
  transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
}
footer .socal-media li a:hover {
  color: #ffffff;
  transform: scale(1.2);
}
.google-map-container {
  grid-column: span 4;
  text-align: center;
  margin-top: 20px;
}

.google-map {
  width: 100%;
  height: 180px;
  border: 2px solid #333;
  border-radius: 8px;
  overflow: hidden;

  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  max-width: 100px;
  transition: transform 0.3s ease-in-out;
}

.footer-logo img:hover {
  transform: scale(1.1);
}
/* .footer-links {
        text-align: center;

    } */

.footer-links ul li {
  margin: 0.5rem 0;
}

.ft {
  font-size: 20px;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 2px solid #333;
  padding-bottom: 10px;
  letter-spacing: 1px;
}
/* test? */

/* Định dạng cho phần header */
header {
  background-color: #333333; /* Màu xám đậm */
  color: #ffffff; /* Màu chữ trắng */
  padding: 20px 0;
  /* text-align: center; */

  width: 100%;
}
/* test */
.products {
  padding: 60px 0;
  background: linear-gradient(135deg, #f8f8f8, #ffffff);
  text-align: center;
  font-family: 'Roboto', sans-serif;
}

.products .container h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 50px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Grid Layout for Product List */
.products .product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 0 20px;
  align-items: center;
}

/* Individual Product Card */
.products .product {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
  position: relative;
  padding-bottom: 60px; /* Adjust padding to make space for the button */
}

.products .product img {
  width: 100%;
  border-bottom: 5px solid #c0392b;
  transition: transform 0.4s ease;
}

.products .product h2 {
  font-size: 1.8rem;
  color: #34495e;
  margin: 20px 0 10px;
}

.products .product p {
  font-size: 1rem;
  color: #7f8c8d;
  padding: 0 20px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.products .product .btn-xt {
  background-color: #e74c3c;
  color: #fff;
  padding: 12px 25px;
  border-radius: 50px;
  border: none;
  text-transform: uppercase;
  font-size: 1rem;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;

  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.products .product .btn-xt:hover {
  background-color: #c0392b;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Hover Effects */

.products .product p {
  margin-bottom: 30px; /* Increase the margin below the paragraph */
}
.products .product:hover img {
  transform: scale(1.1);
}
.products .container.h2 h2 {
  font-size: 22px;
  text-align: center;
  color: #2c3e50;
  margin-bottom: 35px;
  font-family: 'Roboto', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.products .container.h2 h2 a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.products .container.h2 h2 a:hover {
  color: #2980b9;
}

/* Định dạng cho danh sách sản phẩm */
.products .product-list {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}

/* Định dạng cho từng sản phẩm */
.products .product {
  background-color: #ffffff;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 380px;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.products .product a:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

.products .product img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.products .product:hover img {
  transform: scale(1.08);
}

/* Định dạng cho tên sản phẩm */
.products .product .name {
  font-size: 22px;
  font-weight: 600;
  color: #34495e;
  margin: 20px 0 15px;
  text-align: center;
}

/* Định dạng cho giá bán và giá khuyến mãi */
.products .product .sale {
  font-size: 16px;
  color: #bdc3c7;
  text-decoration: line-through;
  text-align: center;
  margin-bottom: 10px;
}

.products .product .price {
  font-size: 22px;
  font-weight: bold;
  color: #e74c3c;
  text-align: center;
  margin-bottom: 25px;
}

/* Định dạng nút mua ngay */
.products .product .contact-button.btn {
  background-color: #0056b3;
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 30px;
  text-transform: uppercase;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease,
    box-shadow 0.3s ease;
  display: block;
  margin: 0 auto;
  z-index: 10; /* Đảm bảo nút nằm trên cùng */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;
}

.products .product .contact-button.btn:hover {
  background-color: #0073e6;
  transform: scale(1.05);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Hiệu ứng overlay khi hover vào sản phẩm */
.products .product::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 15px;
  pointer-events: none;
}

.products .product:hover::after {
  opacity: 1;
}
.product {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 20px;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
}

/* Hiệu ứng khi hover vào toàn bộ sản phẩm */
.product:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

/* Định dạng hình ảnh sản phẩm */
.product img {
  width: 100%;
  height: auto;
  border-bottom: 2px solid #e0e0e0;
  border-radius: 8px 8px 0 0;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* Hiệu ứng khi hover vào hình ảnh */
.product a:hover img {
  transform: scale(1.1);
  opacity: 0.9;
}

/* Định dạng tên sản phẩm */
.product .name {
  font-size: 18px;
  color: #333;
  font-weight: 600;
  margin: 15px 0;
}

/* Định dạng giá gốc */
.product .sale {
  font-size: 16px;
  color: #888;
  text-decoration: line-through;
  margin-bottom: 5px;
}

/* Định dạng giá khuyến mãi */
.product .price {
  font-size: 20px;
  color: #e74c3c;
  font-weight: 700;
}

/* Định dạng nút bấm */
.product .contact-button {
  background-color: #3498db;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 15px;
}

/* Hiệu ứng khi hover vào nút bấm */
.product .contact-button:hover {
  background-color: #2980b9;
  transform: scale(1.05);
}

/* Đảm bảo sản phẩm không chồng chéo lên nút */
.products .product {
  z-index: 5;
}
.spbc {
  font-size: 30px;
  font-weight: 700; /* Độ đậm của chữ */
  text-align: center;
  color: #2c3e50; /* Màu chữ */
  text-transform: uppercase; /* Viết hoa tất cả chữ */
  letter-spacing: 2px; /* Khoảng cách giữa các chữ */
  margin-bottom: 30px; /* Khoảng cách phía dưới */
  position: relative;
}

.spbc::after {
  content: '';
  width: 80px; /* Độ dài của đường kẻ */
  height: 3px; /* Độ dày của đường kẻ */
  background-color: #e74c3c; /* Màu của đường kẻ */
  display: block;
  margin: 10px auto 0; /* Căn giữa đường kẻ */
}
.news {
  padding: 50px 0;
  background-color: #f9f9f9;
}

.news .container h4 {
  text-align: center;
  font-size: 28px;
  color: #333;
  margin-bottom: 30px;
}

.news-list {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}
.mrgt {
  margin-top: 41px;
}
.news-item {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  padding: 20px;
  margin-bottom: 20px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.news-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.news-item img {
  max-width: 100%;
  height: auto;
  margin-bottom: 15px;
  border-radius: 8px;
}

.news-item h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #333;
}

.news-item p {
  font-size: 16px;
  color: #666;
  text-align: justify;
  margin-bottom: 20px;
}

.btn-xt.detail-btn {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  background-color: #d32f2f; /* Màu đỏ */
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.btn-xt.detail-btn:hover {
  background-color: #a10c0c; /* Màu đỏ đậm hơn khi hover */
}

/* Nếu bạn muốn sử dụng tông màu xanh lá */
.btn-xt.detail-btn.green {
  background-color: #4caf50; /* Màu xanh lá */
}

.btn-xt.detail-btn.green:hover {
  background-color: #388e3c; /* Màu xanh lá đậm hơn khi hover */
}
.copyright {
  text-align: center;
  margin-bottom: 15px;
}
/* @media (max-width: 1235px) {
        nav {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 0;
            border-radius: 0 0 20px 20px;
        }
        nav a {
            color: #e0e0e0;
            text-decoration: none;
            margin: 0;
            font-size: 16px;
            padding: 12px 20px;
            position: relative;
            transition: color 0.3s ease, transform 0.3s ease;
            border-radius: 30px;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(5px);
        }
        .slogan {
            font-size: 25px;
            margin-bottom: 0;
        }
        .sub-slogan{
            margin-top: 5px;
            font-size: 13px;
        }
        .logo {
            width: 300px;
        }
    } */
@media (min-width: 1100px) and (max-width: 1235px) {
  .container,
  .menu-icon,
  .m-w {
    max-width: 1000px;
  }
  .container .logo img {
    width: 100px;
  }
  .slogan {
    font-size: 25px;
    margin-bottom: 0;
  }
  .sub-slogan {
    margin-top: 5px;
    font-size: 13px;
  }
  .logo {
    width: 300px;
  }
  .nav {
    margin: 0;
  }
  .menu {
    margin: 0;
  }
  nav a {
    font-size: 15px;
    margin: 0px 5px;
  }
  .menu-icon {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: auto;
    padding-top: 1rem;
    padding-bottom: 1.2rem;
    margin-top: 10px;
  }
  .description .br {
    font-size: 15px;
  }
  .description p {
    font-size: 13px;
  }
  .category-menu {
    width: 300px;
  }


  .category-menu ul li a {
    font-size: 13px;
    padding: 8px 15px;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  .products {
    padding: 30px 0;
  }
  .spbc {
    font-size: 20px;

    letter-spacing: 1px;
    margin-bottom: 20px;
    position: relative;
  }
  .products .product-list {
    gap: 30px;
  }
  .products .product {
    padding-bottom: 70px;
  }
  .products .product .btn-xt {
    padding: 12px 20px;

    font-size: 1rem;
  }
  footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
  }
  .ft {
    font-size: 16px;
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    letter-spacing: 1px;
  }
  footer p,
  footer ul {
    font-size: 13px;
    line-height: 1.5;
    color: #f2f2f2;
  }
  .footer-links ul li {
    margin: 0.4rem 0;
  }
  .dropdown-content li a {
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    padding: 12px 20px;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    position: relative;
    z-index: 1;
  }
  .hotline img {
    width: 68px;
  }
  .zalo img {
    width: 57px;
  }
}
@media (min-width: 936px) and (max-width: 1100px) {
  .container,
  .menu-icon,
  .m-w {
    max-width: 900px;
  }
  .container .logo img {
    width: 100px;
  }
  .slogan {
    font-size: 25px;
    margin-bottom: 0;
  }
  .sub-slogan {
    margin-top: 5px;
    font-size: 13px;
  }
  .logo {
    width: 300px;
  }
  .nav {
    margin: 0;
    padding: 0;
  }
  .menu {
    margin: 0;
  }
  nav a {
    font-size: 10px;
    margin: 0px 3px;
  }
  .menu-icon {
    display: flex;
    justify-content: space-between;
    max-width: 900px;
    margin: auto;
    padding-top: 1rem;
    padding-bottom: 1.2rem;
    margin-top: 10px;
  }
  .description .br {
    font-size: 15px;
  }
  .description p {
    font-size: 13px;
  }
  .category-menu {
    width: 300px;
  }
  

  .category-menu ul li a {
    font-size: 13px;
    padding: 8px 15px;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  .products {
    padding: 30px 0;
  }
  .spbc {
    font-size: 20px;

    letter-spacing: 1px;
    margin-bottom: 20px;
    position: relative;
  }
  .products .product-list {
    gap: 30px;
  }
  .products .product {
    padding-bottom: 70px;
  }
  .products .product .btn-xt {
    padding: 12px 20px;

    font-size: 1rem;
  }
  footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
  }
  .ft {
    font-size: 16px;
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    letter-spacing: 1px;
  }
  footer p,
  footer ul {
    font-size: 13px;
    line-height: 1.5;
    color: #f2f2f2;
  }
  .footer-links ul li {
    margin: 0.4rem 0;
  }
  .dropdown-content li a {
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    padding: 8px 10px;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    position: relative;
    z-index: 1;
  }
  .hotline img {
    width: 68px;
  }
  .zalo img {
    width: 57px;
  }
}
@media (min-width: 769px) and (max-width: 936px) {
  .container,
  .menu-icon,
  .m-w {
    max-width: 800px;
  }
  .menu-icon {
    display: flex;
    justify-content: space-between;

    margin: auto;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    margin-top: 10px;
  }
  .container .logo img {
    width: 80px;
  }
  .description .br {
    font-size: 13px;
  }
  .description p {
    font-size: 10px;
  }
  .category-menu {
    width: 215px;
  }
 
  .category-menu h2 {
    background-color: #c29a5e;
    color: #fff;
    padding: 8px;
    margin: 0;
    text-align: center;
    font-size: 0.8rem;
  }
  .spbc {
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0px;
    position: relative;
  }
  footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
  }
  .ft {
    font-size: 15px;
    margin-bottom: 5px;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 2px solid #333;
    padding-bottom: 5px;
    letter-spacing: 1px;
  }
  footer p,
  footer ul {
    font-size: 13px;
    line-height: 1.5;
    color: #f2f2f2;
  }

  .category-menu ul li a {
    display: block;
    color: #333;
    font-size: 13px;
    padding: 6px 12px;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  .hotline img {
    width: 60px;
    background-color: #ffffff00;
  }
  .zalo img {
    width: 48px;
    transition: transform 0.3s ease-in-out;
    margin-left: 10px;
  }
  .sub-slogan {
    margin-top: 5px;
    color: var(--color-subslogan);
    font-size: 12px;
  }
  .slogan {
    font-size: 15px;
  }
  nav a {
    font-size: 12px;
    margin: 0;
    padding: 8px 15px;
  }
  .menu {
    margin: 0;
    padding: 0;
  }
  .products .product .btn-xt {
    padding: 8px 15px;

    bottom: 5px;
    font-size: 13px;
  }
  .products .product .name {
    font-size: 15px;
    font-weight: 600;
    color: #34495e;
    margin: 15px 0 10px;
    text-align: center;
  }
  .products .product-list {
    gap: 30px;
    margin-top: 20px;
  }
  .products .product .sale {
    font-size: 13px;
    color: #bdc3c7;
    text-decoration: line-through;
    text-align: center;
    margin-bottom: 10px;
  }
  .products .product .price {
    font-size: 14px;
    font-weight: bold;
    color: #e74c3c;
    text-align: center;
    margin-bottom: 15px;
  }
  .products .product .contact-button.btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 13px 25px;
    font-size: 15px;
    cursor: pointer;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease,
      box-shadow 0.3s ease;
    display: block;
    margin: 0 auto;
    z-index: 10;

    top: 358px;
    left: 51px;
  }
  .products .container.h2 h2 {
    font-size: 15px;

    margin-bottom: 0px;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 1px;
  }
}
@media (min-width: 768px) and (max-width: 800px) {
  .container,
  .menu-icon,
  .m-w {
    max-width: 700px;
  }
  footer ul li a {
    font-size: 0.813rem;
  }
  .slogan {
    font-size: 20px;
    margin-bottom: 0;
  }
  .sub-slogan {
    margin-top: 5px;
    font-size: 10px;
  }
  nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    border-radius: 0 0 20px 20px;
  }
  .logo {
    width: 300px;
  }
  .container .logo img {
    width: 70px;
  }
  .nav {
    margin: 0;
  }
  .menu {
    margin: 0;
    padding: 0;
  }
  nav a {
    font-size: 12px;
    margin: 0px 5px;
    padding: 7px 5px;
  }
  .products .container.h2 h2 {
    font-size: 15px;
    text-align: center;
    color: #2c3e50;
    margin-bottom: 25px;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 0.8px;
    text-transform: uppercase;
  }
  .products .product p {
    font-size: 13px;
    color: #7f8c8d;
    padding: 0 15px;
    margin-bottom: 15px;
    line-height: 1.5;
  }

  .menu-icon {
    display: flex;
    justify-content: space-between;
    max-width: 700px;
    margin: auto;
    padding-top: 1rem;
    padding-bottom: 1.2rem;
    margin-top: 10px;
  }
  .category-menu h2 {
    background-color: #c29a5e;
    color: #fff;
    padding: 5px;
    margin: 0;
    text-align: center;
    font-size: 14px;
  }
  .category-menu ul li a {
    font-size: 11px;
    padding: 5px 12px;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  .description .br {
    font-size: 12px;
  }
  .description p {
    font-size: 10px;
  }
  .category-menu {
    width: 300px;
  }
  
  .products {
    padding: 30px 0;
  }
  .spbc {
    font-size: 15px;

    letter-spacing: 1px;
    margin-bottom: 20px;
    position: relative;
  }
  .products .product-list {
    gap: 30px;
  }
  .products .product {
    padding-bottom: 70px;
  }
  .products .product .btn-xt {
    padding: 8px 12px;

    font-size: 12px;
  }
  .products .product .name {
    font-size: 15px;
    font-weight: 600;
    color: #34495e;
    margin: 15px 0 10px;
    text-align: center;
  }
  .products .product .sale {
    font-size: 13px;
    color: #bdc3c7;
    text-decoration: line-through;
    text-align: center;
    margin-bottom: 5px;
  }
  .products .product .price {
    font-size: 18px;
    font-weight: bold;
    color: #e74c3c;
    text-align: center;
    margin-bottom: 15px;
  }
  footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .ft {
    font-size: 13px;
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 2px solid #333;
    padding-bottom: 5px;
    letter-spacing: 1px;
  }
  footer p,
  footer ul {
    font-size: 13px;
    line-height: 1.5;
    color: #f2f2f2;
  }
  .footer-links ul li {
    margin: 0.4rem 0;
  }
  .dropdown-content li a {
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    padding: 10px 15px;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    position: relative;
    z-index: 1;
  }
  .hotline img {
    width: 55px;
  }
  .zalo img {
    width: 45px;
  }
  .products .product .contact-button.btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease,
      box-shadow 0.3s ease;
    display: block;
    margin: 0 auto;
    z-index: 10;

    top: 450px;
    left: 35px;
  }
}
/* Responsive adjustments */
@media (max-width: 768px) {
  .container .logo {
    text-align: center;
  }
  .copyright {
    font-size: 15px;
  }
  .slogan {
    color: #ffd700;
  }
  .category-menu h2 {
    background-color: #d9534f;
  }
  .category-menu .category-title {
    font-size: 18px; /* Kích thước phông chữ tiêu đề nhỏ hơn */
  }

  .category-menu ul li a {
    font-size: 14px; /* Kích thước phông chữ nhỏ hơn */
    padding: 10px 15px; /* Khoảng cách nhỏ hơn */
  }

  .sub-slogan {
    color: var(--color-subslogan);
  }
  

  .zalo:hover .call-button,
  .hotline:hover .call-button {
    display: none;
  }
  .hotline img {
    animation: none;
  }

  .m-w {
    flex-direction: column;
    padding: 10px;
  }
  .container .logo .slogan {
    font-size: 1rem;
    font-weight: bold;
  }
  header .container {
    flex-direction: column;
  }

  header nav ul {
    display: none;
  }

  .category-menu {
    width: 100%;
    margin-bottom: 1rem;
  }
  .products .product .price {
    font-size: 20px;
  }

  .product-list,
  .category-list,
  .news-list {
    flex-direction: column;
    gap: 1rem;
  }

  .menu-icon {
    flex-direction: column;
    align-items: center;
  }

  .banner-menu {
    width: 100%;
    height: auto;
  }
  footer .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  footer .socal-media {
    justify-content: center;
  }

  footer .google-map-container {
    grid-column: span 1;
    margin-top: 30px;
  }

  .menu-icon {
    display: none;
  }

  .hidden {
    display: none;
  }
  .header {
    background-color: #333333; /* Màu xám đậm */
    color: #ffffff; /* Màu chữ trắng */
    padding: 0;
    /* text-align: center; */

    width: 100%;
  }
  /* Đặt nền trắng cho khung chứa */
  header .container {
    background-color: #333333;
    border-radius: 12px; /* Góc bo tròn cho khung chứa */
    padding-top: 35px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); /* Đổ bóng nhẹ */
  }

  /* Phong cách của nút bấm để ẩn/hiện danh mục sản phẩm */
  .category-toggle {
    background-color: #d9534f; /* Màu đỏ đậm */
    color: white; /* Màu chữ trắng */
    padding: 14px 20px;
    border: none;
    width: 100%;
    max-width: 300px; /* Độ rộng tối đa của nút */
    text-align: center; /* Căn giữa chữ */
    font-weight: bold; /* Chữ đậm */
    cursor: pointer; /* Con trỏ tay khi rê vào */
    display: flex;
    justify-content: center; /* Căn giữa biểu tượng mũi tên và chữ */
    align-items: center;
    border-radius: 30px; /* Góc bo tròn mềm mại */
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Đổ bóng nhẹ */
    margin: 20px auto; /* Đặt nút ở giữa với khoảng cách bên trên và dưới */
  }

  /* Hiệu ứng khi hover */
  .category-toggle:hover {
    background-color: #c9302c; /* Màu nền khi hover */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25); /* Đổ bóng sâu hơn khi hover */
  }

  /* Biểu tượng mũi tên */
  .category-toggle .arrow {
    font-size: 18px; /* Kích thước biểu tượng */
    transition: transform 0.3s ease, color 0.3s ease; /* Hiệu ứng xoay mũi tên và đổi màu */
    border: solid white; /* Màu mũi tên */
    border-width: 0 2px 2px 0; /* Tạo mũi tên */
    padding: 4px;
    transform: rotate(45deg); /* Xoay 45 độ tạo mũi tên */
    margin-left: 10px;
  }

  /* Mũi tên hướng xuống */
  .category-toggle .arrow.down {
    transform: rotate(45deg); /* Mũi tên xuống */
  }

  /* Mũi tên hướng lên */
  .category-toggle .arrow.up {
    transform: rotate(-135deg); /* Mũi tên lên */
  }

  /* Hiển thị danh mục sản phẩm khi được click trên mobile */
  #category-list.visible {
    display: block;
    max-height: 1000px; /* Chiều cao tối đa để hiển thị toàn bộ danh mục */
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out; /* Hiệu ứng mượt mà */
    opacity: 1;
  }

  /* Ẩn danh mục sản phẩm */
  #category-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out; /* Hiệu ứng mượt mà khi ẩn */
    opacity: 0;
  }

  /* Khi danh mục mở, mũi tên xoay lên */
  #category-list.visible + .category-toggle .arrow {
    transform: rotate(-135deg); /* Xoay mũi tên thành hướng lên */
  }

  /* Hiệu ứng cho nút khi được bấm */
  .category-toggle:active {
    background-color: #c9302c;
  }

  /* Phong cách danh sách sản phẩm */
  #category-list ul {
    list-style: none; /* Loại bỏ dấu chấm của danh sách */
    padding: 0;
    margin: 10px 0;
  }

  #category-list ul li {
    border-bottom: 1px solid #ddd; /* Đường viền dưới mỗi mục */
    padding: 10px 0;
  }

  #category-list ul li:last-child {
    border-bottom: none; /* Loại bỏ viền dưới mục cuối */
  }

  #category-list ul li a {
    color: #333; /* Màu chữ đen nhạt */
    text-decoration: none; /* Loại bỏ gạch chân */
    font-size: 16px;
    display: block;
    transition: color 0.3s ease;
  }

  /* Hiệu ứng khi hover mục sản phẩm */
  #category-list ul li a:hover {
    color: #d9534f; /* Đổi màu khi hover */
  }
  .mrgt {
    margin-top: 15px;
  }
  .products .container p.spbc {
    font-size: 24px;
    margin-bottom: 20px;
    letter-spacing: 1px;
  }
}
@media (max-width: 480px) {
  .product,
  .category,
  .news-item {
    flex: 1 1 100%;
  }
}
