/*!********************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[3]!./src/styles/globals.css ***!
  \********************************************************************************************************************************************************************************************************************************************************************/
/* Định dạng chung */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    height:100%;
  }
/* ======= Address Bar Styling ======= */
.address-bar {
    width: 100%; /* Chiếm toàn bộ chiều ngang */
    background-color: black;
    color: white;
    text-align: center;
    font-size: 14px;
    padding: 5px 0; /* Tạo khoảng cách trên dưới */
  }
  
  /* ======= Navbar Styling ======= */
  nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%; /* Luôn full màn hình */
    height: 75px;
    padding: 0px 0px;
    background-color: white;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  /* Container để giữ nội dung trong navbar */
  .nav-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    position: relative;
    gap: 15px; 
  }
  
  /* Logo */
  .logo {
    display: flex;
    width: 180px;
    height: 75px;
    align-items:center;
  }
/* 📌 Định dạng logo */
.logo img {
    width: 180px;  /* Đặt kích thước mong muốn */
    height: auto;  /* Giữ tỉ lệ hình ảnh */
}

  /* Khung tìm kiếm */
  .search-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%; /* Luôn bằng 1/2 màn hình */
    max-width: 1000px;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    padding: 0px;
  }
  
  /* Ô nhập tìm kiếm */
  .search-box input[type="text"] {
    flex: 1;
    padding: 8px;
    border: none;
    outline: none;
  }
  
  /* Nút tìm kiếm */
  .search-box button {
    background-color: #facc15;
    border: none;
    padding: 3px 8px;
    cursor: pointer;
  }
  
  .search-box button:hover {
    background-color:  #facc15;
  }
  .search-icon {
    width: 30px; /* Kích thước icon */
    height: 30px;
    margin: 5;
    background-color: #facc15;
    object-fit: contain;
}
/* Định dạng Sidebar */
.sidebar {
  position: absolute;
  top: 10px;
  margin-left: 0px;
  margin-right: 1375px;
  width: 330px;
  height: auto;
  display: flex;
  flex-direction: column;
  z-index: 10;
  background-color: #f4f4f4;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

/* Tiêu đề Sidebar */
.sidebar-title {
  font-size: 20px;
  font-weight: bold;
  background: #f8f9fa;
  padding: 0px;
  text-transform: uppercase;
}

/* Danh sách danh mục sản phẩm */
.sidebar-list {
  list-style: none;
  padding: 5;
  margin: 0;
}

/* Mỗi item trong danh sách */
.sidebar-list li {
  padding: 10px 5px;
  font-size: 18px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: background 0.3s ease; /* Thêm hiệu ứng chuyển màu mượt */
}
/* Hiệu ứng hover khi di chuột vào */
.sidebar-list li:hover {
  background-color: #f2d709;
}

/* Khi bấm vào mục, background đổi */
.sidebar-item:hover {
  background: #f2d709;
  border-radius: 5px;
  cursor: pointer;
}

/* Đảm bảo các icon trong sidebar không bị lệch */
.sidebar-icon {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  background-color: #555;
}

/* Thêm hiệu ứng chuyển động khi hover */
.sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px; /* Khoảng cách giữa icon và text */
  padding: 10px;
  transition: background-color 0.3s ease; /* Mượt mà hơn khi hover */
}

.sidebar-item:hover {
  background-color: #f2d709;
  border-radius: 5px;
}


/* 📌 Tổng layout trang chủ */
.homepage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 20px;
}

/* 📌 Slideshow chính giữa */
.slideshow-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1000px;
    height: 600px;
    border-radius: 10px;
    overflow: hidden;
    background-color: #f4f4f4;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1);
}
/* 📌 Định dạng ảnh bên trong Slideshow */
.slideshow-img {
    width: 100%;
    height: 100%;
    max-width: 1000px; /* Không vượt quá kích thước gốc */
    max-height: 600px;
    object-fit: cover;
    border-radius: 10px;
    aspect-ratio: 16/9;
}
/* 📌 Indicator của slideshow (Khôi phục) */
.indicator-container {
    position: absolute;
    top: 600px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator.active {
    background-color: #facc15; /* Màu vàng khi đang active */
}

/* 📌 Small Banners cố định góc trên phải */
.small-banner-wrapper {
    position: absolute;
    margin-top: 0px;
    margin-left: 1370px;
    margin-right: 0px;
    width: 330px;
    height: 600px;
    display: flex;
    flex-direction: column;
    z-index: 10;
    background-color: #f4f4f4;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;

}

/* 📌 Căn chỉnh small banners */
.small-banners-wrapper img {
    width: 100%; /* Kích thước đồng bộ */
    height: 190px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 10px ;
}

/* 📌 Triple Banners dưới slideshow */
.triple-banner-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 1000px;
}

.triple-banner {
    display: flex;
    gap: 105px;
}

.banner-item {
    position: relative;
    width: 500px;
    height: 450px;
    overflow: hidden;
    background-color: #f4f4f4;
}

.banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Text hiển thị trên banner */
.banner-text {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 20px;
    font-weight: bold;
    padding: 8px 0;
    border-radius: 0 0 10px 10px;
}

/* ========== Footer ========== */
.footer {
    display: flex;
    bottom: 0;
    width: 100%;
    justify-content: center; /* Chia đều 4 cột */
    align-items: flex-start;
    background-color: #f4f4f4;
    padding: 20px 40px;
    margin-top: 30px; /* Khoảng cách với phần trên */
    border-top: 3px solid #e0e0e0; /* Viền ngăn cách footer */
    flex-wrap: wrap; /* Đảm bảo không bị tràn ở màn hình nhỏ */
}

/* Mỗi cột trong footer */
.footer-section {

    width: 430px;
    top: calc(100% + 20px); /* Đẩy xuống dưới logo */
    min-width: 100px; /* Đảm bảo không bị thu nhỏ quá */
    margin-right: 20px;
    
}

/* Tiêu đề mỗi cột */
.footer-section h4 {
    position: relative;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

/* Nội dung trong footer */
.footer-section p {
    width: 380px;
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
}

/* Biểu tượng (icon) trong thông tin liên hệ */
.footer-section p i {
    margin-right: 5px;
    color: #ff9800; /* Màu nổi bật */
}

/* Định dạng danh sách chính sách */
.footer-section ul {
    list-style-type: none;
    padding: 0;
}

.footer-section ul li {
    font-size: 14px;
    color: #555;
    margin-bottom: 5px;
}

/* Tick ✓ trước mỗi chính sách */
.footer-section ul li::before {
    content: "✔ ";
    color: #4caf50; /* Màu xanh lá cây */
    font-weight: bold;
}



/* Product Layout*/
.container {
  max-width: 1000px;
  max-height: 1000px;
  height: 800px;
  margin: auto;

}

.grid {
  display: grid;
}

.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.md\:grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.lg\:grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.xl\:grid-cols-5 {
  grid-template-columns: repeat(5, 1fr);
}

/*img {
  display: block;
}*/
/* Kiểm soát kích thước ảnh sản phẩm */
.product-image {
  width: 180px;  /* Đặt chiều rộng ảnh cố định */
  height: 180px; /* Đặt chiều cao ảnh cố định */
  object-fit: cover; /* Đảm bảo ảnh không bị méo, tự crop nếu cần */
  border-radius: 8px; /* Bo tròn nhẹ góc ảnh */
  display: block; /* Tránh lỗi margin không mong muốn */
  margin: auto; /* Căn giữa ảnh */
}
@media screen and (max-width: 1919px) {
  body {
    transform: scale(calc(100vw / 1920));
    transform-origin: top left;
    width: 1920px; /* C?n d? tr�nh n?i dung b? co l?i */
  }
}
