/*video*/
video-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

video {
  width: 100%;
  height: auto;
  object-fit: cover; /* Đảm bảo video che toàn bộ màn hình */
}

/* General Styles */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    height: 100%;
    background-color: #ffffff;
    background-attachment: fixed;
    width: 100%; 
    overflow-x: hidden;
  }

  
  header {
    background-color:#b0e3e3;
    
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed; /* Cố định header */
    top: 0; /* Đặt header ở đầu trang */
    width: 100%; /* Bao phủ toàn bộ chiều ngang */
    z-index: 1000; /* Đảm bảo header nằm trên các phần tử khác */
    left: 0;
  }

  
  header .logo {
    font-size: 24px;
    font-weight: bold;
    color: #e30613;
  
  }
  
.logo:hover{
  cursor:pointer;
}

  .logo img {
    height: 40px;
  }
  
  header nav {
    display: flex;
    gap: 20px;
    position: relative;
    font-weight: bold;
  }
  
  header nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    position: relative;
  }

  .content {
    padding: 10px;
    flex: 1; /*Tự động mở rộng phần nội dung*/
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    width: 150%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 2;
  }
  
  nav a:hover{
    color:#e30613;
  }
  
  nav a:hover + .content, .content:hover {
    display: grid;
  }
  
  .card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s;
    width: 200px;
    margin: 5px auto;
    height: 180px;
  }
  
  .card:hover {
    transform: scale(1.1);
  }
  
  .card img {
    width: 100%;
    height: 70%;
    margin: 0 auto;
    display: block;
  }
  
  .card .info {
    padding: 10px;
    text-align: center;
    font-weight: bold;
  }
  
  /*------------------------------------------------------------------------*/
  .search-and-icons {
    display: flex;
    align-items: center;
    justify-items: center;
    gap: 20px;
    width: 40%;
    margin-right: 20px;
  }
  
  .search-bar {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 5px 10px;
  }
  
  .search-bar input {
    border: none;
    outline: none;
    padding: 5px;
  }
  
  .search-bar i {
    color: #5f5a5a;
    font-size: 18px;
    cursor: pointer;
  }
  
  .search-bar i:hover{
    color:rgba(0, 0, 0, 0.6);
    transform: scale(1.1);
  }
  
  .icons {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-items: center;
    justify-content: center;
  }
  
  .icons a {
    text-decoration: none;
    color: #333; 
  }
  
  
  .icons a:hover{
    color:#e30613;
    cursor: pointer;
  }
  
  .icons img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
  }
  
  .icons i {
    font-size: 16px;
  }
  
  .icons i:hover{
    transform: scale(1.2);
  }
  
  /*--------------------------------------------------*/

  /*main*/
  .title {
    font-size: 30px;
    margin-left: 20px;
    color: #121111;
    text-align: center;
    padding-top: 100px;
    position: relative;
  }
  
  .title:hover{
    color: #e60023;
    cursor: pointer;
  }
  .main-container {
    display: flex;
    margin-top: 30px; /* Adjust to match the height of your header */
    margin-bottom: 60px; /* Adjust to match the height of your footer */
    max-height: none; /* 100% height minus header and footer height */
    flex: 1;
    margin-left: 20px;
  }
  
  /* Sidebar (Category) */
  .category {
    width: 15%;
    background-color: #fff;
   
    box-sizing: border-box;
    overflow-y: auto;
    position: relative;

  } 
  .category ul {
    margin-block-start: 1em;
    margin-block-end: 1em;
    padding-inline-start: 0px;
  }
  .category li {
    list-style: none;
    margin: 5px 0;
  }
  .category .title {
    font-size: 24px;
    margin-bottom: 20px;
  }
  
  .category .category-list {
    margin-top: 20px;
  }
  input[type="checkbox"] {
    cursor: pointer;
    width: 20%; 
    height: 20%; 
    transform: scale(1.5); /* Phóng to checkbox */
    margin-right: 6px;
}

   label {
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
}
  /* Main Content Area */
  .content-area {
    width: 80%;
    position: relative;
    padding: 20px;
    box-sizing: border-box;
    overflow:visible;
    
  }
  
  /* Dropdown */
  .dropdown {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
  }
  
  .dropdown-btn {
    background-color: #f8f8f8;
    color: #333;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
  }
  
  .dropdown-content {
    display: none;
    position:absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 200px;
    z-index: 20;
    padding: 10px 0;
  }
  
  .dropdown-content .dropdown-item {
    padding: 10px;
    border-bottom: 1px solid #f1f1f1;
    cursor: pointer;
  }
  
  .dropdown-content .dropdown-item:last-child {
    border-bottom: none;
  }
  
  .dropdown-content input {
    margin-right: 10px;
  }
  


  /* pagination-container */
  .pagination-container {
    text-align: center;
    margin: 0 0 25px 0 ;
  }
  
  .pagination {
    list-style: none;
    padding: 0;
    display: inline-flex;
    gap: 10px;
  }
  
  .page-btn {
    background-color: #b5d0b6; /* Màu nền */  
    color: rgb(18, 12, 12); /* Màu chữ */  
    padding: 12px 24px; /* Khoảng cách bên trong */  
    text-align: center; /* Canh giữa văn bản */  
    text-decoration: none; /* Bỏ gạch chân */  
    display: inline-block; /* Hiển thị như một khối */  
    font-size: 16px; /* Kích thước chữ */  
    margin: 4px 2px; /* Khoảng cách bên ngoài */  
    border: none; /* Không viền */  
    border-radius: 8px; /* Bo tròn góc */  
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Đổ bóng */  
    transition: background-color 0.3s, transform 0.3s; /* Hiệu ứng chuyển đổi */
  }
  
  .page-btn:hover {
    background-color: #7aafe7;
    color: rgb(12, 8, 8);
    cursor: pointer;
  }
  
  .page-btn.active {
    background-color: #7aafe7;
    color: rgb(20, 8, 8);
    
  }
  
  .page-btn[disabled] {
    cursor: not-allowed;
    background-color: #e0e0e0;
    color: #aaa;
  }
  

  /* Products */
   .products-top {
     display: grid;
     grid-template-columns: repeat(4, 1fr); /* 4 cột */
     grid-auto-rows: auto;
     justify-content: center; /* Căn giữa các sản phẩm bên trong */
     gap:5px;
     margin: 10px 10px 10px 10px;
     max-height: none;
     overflow: visible;
     }
    
   

  .product {
    width: 20%;
    text-align: center;
    background-color: #fff;
    margin: 15px;
    border-radius: 10px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  /* .products-top {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 70px;
  } */
  
  /*.product {
    flex: 1 1 calc(33.333% - 20px);
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
  } */

  .product:hover {
    transform: scale(1.1);
    cursor: pointer;
  }
  
  .product img {
    width: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: inline-block;
      
  }
  
  
  .info {
    margin-top: 10px;
  }
  
  .info p {
    margin-bottom: 10px;
    color: #e30613;
    justify-content: center;
}
  .info p {
    margin: 5px 0;
    color: #666;
  }
  
  .info h3 {
    font-size: 16px;
    color: #333;
  }
  
  .price {
    color: #e60023;
    font-weight: bold;
  }


  
/* Footer Styles */
.footer {
  background-color: #b0e3e3;
  color: #000;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  height: 200px;
  margin-top: 50px;
}

.footer .column {
  flex: 1;
  margin: 0 10px;
}

.footer .column h3 {
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: bold;
}



.footer .column ul {
  list-style: none;
  padding: 0;
}

.footer .column ul li {
  margin-bottom: 10px;
  font-size: 14px;
}

.footer .column ul li a {
  text-decoration: none;
  color: #000;
  transition: color 0.3s;
}

.footer .column ul li a:hover {
  color: #e30613;
}

.footer .contact {
  font-size: 14px;
}

.footer .contact i {
  margin-right: 10px;
}

.footer .logo img {
width: 150px;
margin-top: 20px;
height: auto;
}
  