@charset "utf-8";
				 body {
					
					margin: 0px;
					padding: 0px;
					font-family: Tahoma;
					background: #f9f9f9;
					background-position: center;
				}
			
				.diachi {
				
				margin-left: 20px;
					font-family: Tahoma;
					font-size: 15px;
					text-align: left;
					
				}
				
				.gmail {
				
					font-family: Tahoma;
					font-size: 15px;
					text-align: left;
					
				}
				.header1 {
					font-family: Tahoma;
					font-size: 15px;
					text-align: left;
					vertical-align: middle;
}
				.header2 {
					font-family: Tahoma;
					font-size: 13px;
					font-weight: bold;
				}
				.giohang {
                    display: flex;
                    align-items: center;
                }
				.giohang-title {
                color: #e53935; /* đỏ giống badge */
                margin-right: 8px;   /* chỉnh số này theo ý bạn */
            }

				
		/* Style cho PC */
#container {
    width: 1200px; /* ví dụ */
    margin: 0 auto;
}

/* Khi màn hình nhỏ hơn hoặc bằng 768px (mobile) */
@media (max-width: 768px) {
    #container {
        width: 100% !important;
        padding: 0 10px; /* cho nội dung đỡ sát lề */
        box-sizing: border-box;
    }
}


				#main{
					width:1200px;
					background-color:#FFF;
					height:auto;
				}
				#content-left{
					float:left;
					width:220px;
				/*	display:inline; */
				/*	_height:3100px; */
				
				}
				.hotline{
					font-family: Tahoma;
					text-decoration: none;
					font-size: 15px;
					font-weight: bold;
					color: #ff5722;
				}
				
				a.hotline:link,
				a.hotline:visited,
				a.hotline:hover,
				a.hotline:active {
					font-family: Tahoma;
					font-size: 15px;
					font-weight: bold;
					color: #ff5722;
					text-decoration: none;
				}

			
				
				 .lockmenu {
				  
					position: fixed;
					z-index: 9999; /* 👈 đảm bảo luôn nằm trên cùng */
		}
/*Phần sản phẩm mới và sản phẩm tiêu biểu*/
.title-box {
  text-align: center;
  background: linear-gradient(to right, #f5f5f5, #fefefe);
  padding: 10px 0;
  font-size: 22px;
  font-weight: 700;
  height:20px;
  font-family: 'Be Vietnam Pro', Tahoma, sans-serif;
  color: #b22222; /* đỏ đậm nhưng không gắt */
  border-bottom: 2px solid #d93600;
  box-shadow: inset 0 -2px 10px -6px rgba(200, 0, 0, 0.3);
  letter-spacing: 1px;
}

/* Riêng cho SẢN PHẨM MỚI */
.title-box {
  color: #b22222;
  
}

.label-new {
  background-color: #ff4757;
  color: white;
  font-size: 12px;
  
  padding: 2px 6px;
  margin-left: 10px;
  border-radius: 4px;
  font-weight: bold;
  font-family: Tahoma, sans-serif;
  vertical-align: middle;
  animation: pulse 1.2s infinite;
}

/* Riêng cho SẢN PHẨM TIÊU BIỂU */
.featured-title {
  color: #1e3d59; /* Xanh than tinh tế */
  border-bottom-color: #1e90ff; /* Xanh dương đậm */
}

.label-featured {
  background-color: #1e90ff; /* Xanh nổi bật */
  color: white;
  font-size: 12px;
  padding: 2px 6px;
  margin-left: 10px;
  border-radius: 4px;
  font-weight: bold;
  font-family: Tahoma, sans-serif;
  vertical-align: middle;
  animation: blink 1.5s infinite;
}
/* Hiệu ứng nhẹ khác pulse */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* Hiệu ứng nhấp nháy nhẹ */
@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

		
/*Phần thống kê truy cập*/		
.dangonline {
	font-family: tahoma;
	font-size: 13px;
	color: #FF0000;
	font-weight: bold;
}
.tongsotruycap {
	font-family: tahoma;
	font-size: 12px;
	font-weight: bold;
	color: #000066;
}
.truycaphomnay {
	font-family: tahoma;
	font-size: 13px;
	color: #990033;
}
.truycaphomqua {
	font-family: tahoma;
	font-size: 13px;
	color: #000000;
}
/*phần hiển thị sản phẩm*/

.section-spcungloai {
  	background-color:#fff;
  	 

  }
  
  .spcungloai {
  	background:#fff;
   	color: #333; /* màu chữ đậm hơn */
	align-items: center;	
  	text-align: center;
    width: 258px;
    z-index: 1; /* 👈 thấp hơn lockmenu */
	will-change: transform; /* 🔄 Gợi ý trình duyệt chuẩn bị GPU layer */
    border: 2px solid transparent;
    border-radius: 10px;
     padding: 8px 8px 0px;   /* ✅ GIẢM KHOẢNG DƯỚI */
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
    overflow: hidden;
  }
  .spcungloai:hover {
    transform: translateY(-8px) scale(1.0);
    border-color: #ff4d4d;
    box-shadow:
      0 0 10px rgba(255, 77, 77, 0.4),
      0 0 20px rgba(255, 77, 77, 0.3),
      0 0 30px rgba(255, 77, 77, 0.2);
    
  }
  .product-image-spcungloai {
  
    max-width: 100%;
    height: 180px; /* 👉 chỉnh chiều cao ảnh ở đây */
    object-fit: contain;
    margin: 5px 0;
    transition: transform 0.3s ease;
	
}

.product-image-spcungloai:hover {
  transform: scale(1.1);/*zom hình khi rê chuột*/
  z-index: 10;
}
  .product-grid-spcungloai {
  padding: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 39px;
  justify-content: flex-start; /* PC: dồn trái */
}  
@media (max-width: 820px) {
  .product-grid-spcungloai {
   
    margin-left: 6px;
  }
}


.section-chung-cactrang {
  background-color: #fff;
  margin-left: 225px;
}

.section-index {
  background-color: #fff;
  margin-left: 225px;
}
/* chỉ giữ chiều cao khi có nhiều sản phẩm */
.section-index:has(.product-card:nth-child(8)) {
  min-height: 70vh;
}
/* ❌ Không có sản phẩm → Ẩn toàn bộ section */
.section-index:not(:has(.product-card)) {
  display: none;
}

/* ❌ Ẩn luôn separator đứng NGAY SAU section rỗng */
.section-index:not(:has(.product-card)) + .separator {
  display: none;
}

/* ✅ Trên màn hình nhỏ thì bỏ margin-left */
@media (max-width: 768px) {
  .section-chung-cactrang {
      background-color: #fff;
    margin-left: 0;
  }
}

  .product-grid {
  padding: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 39px;
  justify-content: flex-start; /* PC: dồn trái */
}

/* ✅ Mobile: canh giữa */
@media (max-width: 768px) {
  .product-grid {
    justify-content: center;
  }
}



  .product-card {
  	background:#fff;
   	color: #333; /* màu chữ đậm hơn */
	align-items: center;	
  	text-align: center;
    width: 265px;
    z-index: 1; /* 👈 thấp hơn lockmenu */
	will-change: transform; /* 🔄 Gợi ý trình duyệt chuẩn bị GPU layer */
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
    overflow: hidden;
  }

  .product-card:hover {
    transform: translateY(-8px) scale(1.0);
    border-color: #ff4d4d;
    box-shadow:
      0 0 10px rgba(255, 77, 77, 0.4),
      0 0 20px rgba(255, 77, 77, 0.3),
      0 0 30px rgba(255, 77, 77, 0.2);
    
  }

.product-image {
  
    max-width: 90%;
    height: 180px; /* 👉 chỉnh chiều cao ảnh ở đây */
    object-fit: contain;
    margin: 5px 0;
    transition: transform 0.3s ease;
	
}

.product-image:hover {
  transform: scale(1.1);/*zom hình khi rê chuột*/
  z-index: 10;
}
  

.product-title {
  font-family: 'Tahoma', sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: #DC7110;
  display: inline-block;  /* Hoặc block nếu cần toàn dòng */
  margin: 5px 0;
  text-decoration: none;
  text-align: center;
  min-height: 40px;
  transition: color 0.3s ease;
}

.product-title a {
  color: #DC7110;
  text-decoration: none;
  font-weight: bold;
}

.product-title a:hover {
  color: #cc3300;
}
.product-title:hover {
  color: #cc3300;
}

  .product-price {
 background: #fff5f5;
  border: 1px dashed #e74c3c;
  padding: 3px 7px;
  font-weight: bold;
  color: #c0392b;
  display: inline-block;
  border-radius: 4px;
  }

  .product-brand {
	font-family: 'tahoma', sans-serif;
	font-weight:500;
  	color:#CC9900;
    font-size: 14px;
    text-align: center;
  }
			 /* PHÂN TRANG CHUNG */
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
  justify-content: center;
  align-items: center;
}

.pagination .page-link {
  display: inline-block;
  padding: 8px 12px;
  margin: 0 3px;
  background: #eee;
  color: #333;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.pagination .page-link:hover {
  background: #d9534f;
  color: #fff;
}

.pagination .current-page {
  font-weight: bold;
  color: #d9534f;
  padding: 8px 12px;
}

.pagination a {
  padding: 6px 12px;
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.pagination a:hover {
  background-color: #007BFF;
  color: #fff;
  border-color: #007BFF;
}

.pagination a.active {
  background-color: #007BFF;
  color: white;
  border-color: #007BFF;
  font-weight: bold;
  pointer-events: none;
}

.pagination a, .pagination strong {
  margin: 0 5px;
  padding: 6px 12px;
  border: 1px solid #ccc;
  background: #fff;
  text-decoration: none;
  color: #333;
  border-radius: 4px;
}
.pagination strong {
  background: #c91401;
  color: #fff;
  border-color: #c91401;
}

/* MOBILE: Vuốt ngang */
@media (max-width: 768px) {
  .pagination {
    justify-content: flex-start; /* canh trái để dễ vuốt */
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding: 10px 5px;
    -webkit-overflow-scrolling: touch; /* vuốt mượt */
  }

  .pagination a, 
  .pagination strong {
    flex: 0 0 auto; /* không co lại */
    margin: 0 4px;
  }
}
.pagination-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 15px;
  overflow: hidden; /* tránh tràn ngoài */
}

.pagination-scroll {
  display: flex;
  gap: 6px;
  padding: 6px 10px;
  overflow-x: scroll;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* ẩn scrollbar Firefox */
}
.pagination-scroll::-webkit-scrollbar {
  display: none; /* ẩn scrollbar Chrome/Safari */
}

.page-link {
  flex: 0 0 auto;
  padding: 8px 14px;
  background: #f5f5f5;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: 0.3s;
  white-space: nowrap;
}
.page-link:hover {
  background: #007bff;
  color: #fff;
}
.page-link.active {
  background: #007bff;
  color: #fff;
  font-weight: bold;
}



/*giỏ hàng rung*/
@keyframes shake {
  0% { transform: translateX(0); }
  20% { transform: translateX(-5px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(5px); }
  100% { transform: translateX(0); }
}

.shake-cart {
  animation: shake 0.4s ease;
}
				/*footer*/
				.footer-bar {
				  width: 100%;
				  padding-top: 5px;
                  padding-bottom: 5px;
				  height: 30px;
				  background-color: #CC9933;
				  display: flex;
				  justify-content: center;
				  align-items: center;
				  font-size: 14px;
				  color: #FFFFFF;
				  text-align: center;
				}


                                                    /* =========================
                                                       PHẦN TELCALL – PC
                                                       ========================= */
@media (min-width: 769px) {

  /* Wrapper chung */
  .contact-float {
    position: fixed;
    right: 30px;
    z-index: 9999;
    pointer-events: none;
  }

  /* Nút trên */
  .contact-float.zalo {
    bottom: 100px;
  }

  /* Nút dưới */
  .contact-float.phone {
    bottom: 20px;
  }

  .contact-float a {
    pointer-events: auto;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: ring-pulse 2.2s infinite; /* PC rung chậm hơn */
  }

  .contact-float a:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.25);
  }

  .contact-float img {
    width: 46px;
    height: 46px;
    animation: ring-shake 2.2s infinite;
    transform-origin: 50% 50%;
  }

  /* Màu + màu sóng */
  .contact-float.zalo a {
    background: #0a68ff;
    --pulse-color: rgba(255, 153, 0, 0.4); /* cam */
  }

  .contact-float.phone a {
    background: #e60808;
    --pulse-color: rgba(230, 8, 8, 0.45); /* đỏ */
  }
}

/* ===== HIỆU ỨNG RUNG ICON ===== */
@keyframes ring-shake {
  0% { transform: rotate(0); }
  2% { transform: rotate(-12deg); }
  4% { transform: rotate(12deg); }
  6% { transform: rotate(-12deg); }
  8% { transform: rotate(12deg); }
  10% { transform: rotate(0); }
  100% { transform: rotate(0); }
}

/* ===== HIỆU ỨNG SÓNG LAN (DÙNG BIẾN MÀU) ===== */
@keyframes ring-pulse {
  0% {
    box-shadow: 0 0 0 0 var(--pulse-color);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(0,0,0,0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0,0,0,0);
  }
}


					
					/* =========================
 /* =========================
   GIAO DIỆN MOBILE (Tel)
   ========================= */
@media (max-width: 768px) 
{

                  .contact-float {
                    position: fixed;
                    left: 10px;
                    width: 42px;
                    height: 42px;
                    z-index: 9999;
                    pointer-events: none;
                  }

              .contact-float a {
                pointer-events: auto;
                width: 42px;
                height: 42px;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 50%;
                animation: pulse 1.6s infinite;
              }

                  .contact-float img {
                    width: 40px;
                    height: 40px;
                  }

              /* Zalo */
              .contact-float.zalo {
                bottom: 70px;
              }
              .contact-float.zalo a {
                background: #0a68ff;
                --pulse-color: rgba(255, 153, 0, 0.45); /* cam */
              }

                  /* Phone */
                  .contact-float.phone {
                    bottom: 10px;
                  }
                  .contact-float.phone a {
                    background: #e60808;
                    --pulse-color: rgba(230, 8, 8, 0.5); /* đỏ */
                  }

              @keyframes pulse {
                0% {
                  box-shadow: 0 0 0 0 var(--pulse-color);
                }
                70% {
                  box-shadow: 0 0 0 10px rgba(0,0,0,0);
                }
                100% {
                  box-shadow: 0 0 0 0 rgba(0,0,0,0);
                }
              }
}



	
						
/*tải thêm sản phẩm*/
.load-more-btn {
  display: inline-block;
  margin: 20px auto;
  padding: 12px 24px;
  background-color: #fff;
  color: #006666;
  font-size: 16px;
  font-weight: bold;
  border: 2px solid #006666;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.load-more-btn:hover {

   color: #006666;
  border-color: #ff4d4d;
  transform: translateY(-4px) scale(1.03);
  box-shadow:
    0 0 10px rgba(255, 77, 77, 0.4),
    0 0 20px rgba(255, 77, 77, 0.3),
    0 0 30px rgba(255, 77, 77, 0.2);
}

/*đã tải hết sản phẩm*/
.load-end-message {
  background: #e6ffee;
  color: #2e7d32;
  border: 1px solid #b2dfdb;
  padding: 12px 20px;
  margin: 20px auto;
  max-width: 200px;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  animation: fadeIn 2.6s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}						

/*Đánh giá*/

  .rating-box {
    margin-top: 10px;
    border-top: 1px solid #ddd;
    padding-top: 10px;
    font-family: Tahoma, sans-serif;
  }

.rating-header {
  display: flex;
  align-items: center;
  gap: 10px; /* khoảng cách giữa 2 phần */
  margin-bottom: 10px;
}

.rating-average {
  font-size: 18px;
  color: #ff9900;
  font-weight: bold;
}

  .rating-item {
    background: #f9f9f9;
    border: 1px solid #ddd;
    margin-bottom: 5px;
    padding: 12px;
    border-radius: 6px;
  }

  .rating-stars {
    color: #f39c12;
    font-size: 16px;
  }

  .rating-name {
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
  }

  .rating-date {
    font-size: 12px;
    color: #777;
  }

  .rating-comment {
    margin-top: 8px;
    color: #222;
  }

  .rating-form {
    margin-top: 10px;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fcfcfc;
  }

  .rating-form h4 {
    margin-bottom: 15px;
  }

 .rating-form input[type="text"],
.rating-form textarea,
.rating-form select {
  width: 893px;
  max-width: 910px; /* 👈 thêm dòng này để giới hạn */
  padding: 8px;
  margin-bottom: 12px;
  min-width: 250px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: Tahoma, sans-serif;
}


  .rating-form input[type="submit"] {
    background-color: #f39c12;
	width: 893px;
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }

  .rating-form input[type="submit"]:hover {
    background-color: #d68910;
  }
  
  /*Phân trang đánh giá*/
  .pagination a, .pagination strong {
  padding: 4px 8px;
  text-decoration: none;
  border: 1px solid #ccc;
  color: #333;
  font-size: 14px;
  border-radius: 4px;
}
.pagination strong {
  background-color: #007bff;
  color: white;
  font-weight: bold;
  border-color: #007bff;
}
.pagination a:hover {
  background-color: #CC3300;
}
/* Canh giữa phân trang trên mobile */
@media (max-width: 768px) {
  .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    text-align: center;
    margin: 10px auto;
  }
}

/* MENU CHÍNH */
.main-nav {
  margin-top: 7px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-family: Tahoma;
  background: #34495e;
  padding: 10px 11px;
  flex-wrap: wrap;
  height: auto;
}

.menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.menu li {
  margin-right: 13px;
}

.menu li a {
  color: white;
  font-weight: bold;
  align-items: center;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 4px;
}

.menu li a:hover,
.menu li a.active {
  background: #fff;
  color: #d93600;
}

/* FORM TÌM KIẾM ĐẸP */
.search-form {
  display: flex;
  align-items: center;
  max-width: 215px;
  background: white;
  border: 1px solid #ccc;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.search-form input[type="text"] {
  flex: 1;
  max-width:150px;
  padding: 8px 14px;
  font-size: 14px;
  font-family: Tahoma, "Be Vietnam Pro", sans-serif;
  border: none;
  outline: none;
}

.search-form button {
  background: #e74c3c;
  color: white;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s ease;
}

.search-form button:hover {
  background: #c0392b;
}

/*hiện từ khóa gợi ý tìm kiếm*/
.suggestions-box {
  font-family: tahoma, sans-serif;
  font-size: 14px;
  color: #fff;
  position: absolute;
  top: 65px;
  left: 950px;
  background: #1c2833;
  border: 1px solid #ccc;
  z-index: 9999;
  display: none;
  max-height: 300px;
  overflow-y: auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.suggestions-box::-webkit-scrollbar {
  display: none;
}
.suggestion-item {
  display: flex;
  align-items: center;
  padding: 8px;
  gap: 10px;
  cursor: pointer;
}
.suggestion-thumb {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border: 1px solid #ddd;
  border-radius: 4px;
}
.suggestion-item:hover {
  background-color: #fff;
  color:#CC0000;
}
.suggestion-item.selected {
  background-color: #fff;
  color: #CC0000;
}


