/* ===== Header (giống style.css v1) ===== */
.header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  margin-bottom: 0;
}
.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 68px;
}
.logo img {
  height: 42px;
}
.nav-list {
  list-style: none;
  display: flex;
  gap: 28px;
}
.nav-list li a {
  font-weight: 500;
  font-size: 16px;
  color: #222;
  padding: 7px 18px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
  text-decoration: none;
}
.nav-list li a.active,
.nav-list li a:hover {
  background: #e60012;
  color: #fff;
}

/* ===== Banner (giống style.css v1) ===== */
.banner {
  background: linear-gradient(90deg, #e60012 0%, #ff90a6 100%);
  color: #fff;
  padding: 54px 0 38px 0;
}
.banner-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
}
.banner-content h1 {
  font-size: 2.15rem;
  margin-bottom: 20px;
  font-weight: 700;
}
.banner-content p {
  font-size: 1.12rem;
  margin-bottom: 6px;
  line-height: 1.7;
}
.banner-img {
  max-width: 440px;
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.13);
  background: #fff;
}

/* ===== Footer (giống style.css v1) ===== */
footer {
  background: #222;
  color: #fff;
  padding: 32px 0;
}
.footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}
.footer-logo img {
  margin-bottom: 8px;
}
.footer-logo p {
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.footer-contact p {
  font-size: 0.98rem;
}
.footer-contact a {
  color: #fff;
  margin-right: 8px;
  font-weight: 500;
  transition: color .2s;
  text-decoration: none;
}
.footer-contact a:hover {
  color: #e60012;
}

/* ===== Container (giống style.css v1) ===== */
body, h1, h2, h3, p, ul, li {
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f7f7f7;
  color: #222;
}
.container {
  width: 92%;
  max-width: 980px;
  margin: 0 auto;
}

/* ===== Phần danh mục sản phẩm ===== */
.product-category {
  background: #fff;
  padding: 42px 0 34px 0;
}
.category-title {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 38px;
  color: #e60012;
  font-weight: 700;
}
.category-grid {
  display: flex;
  gap: 38px;
  justify-content: center;
  flex-wrap: wrap;
}
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: #f6f6f6;
  border-radius: 14px;
  padding: 26px 16px;
  width: 130px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: transform .15s, box-shadow .15s, background .18s;
  text-decoration: none;
  color: #222;
  font-weight: 500;
}
.category-card img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 4px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 6px rgba(230,0,18,0.09);
}
.category-card:hover {
  transform: translateY(-6px) scale(1.06);
  background: #ffe5ea;
  color: #e60012;
  box-shadow: 0 4px 18px rgba(230,0,18,0.16);
}

/* ===== Sản phẩm bán chạy ===== */
.product-bestseller {
  background: #f7f7f7;
  padding: 44px 0 40px 0;
}
.bestseller-title {
  font-size: 1.35rem;
  color: #e60012;
  text-align: center;
  margin-bottom: 34px;
  font-weight: 700;
}
.bestseller-grid {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}
.bestseller-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 22px 18px;
  width: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .15s, box-shadow .15s;
}
.bestseller-card:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 4px 18px rgba(230,0,18,0.14);
}
.bestseller-card img {
  width: 250px;
  height: 250px;
  object-fit: contain;
  margin-bottom: 14px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.bestseller-info h3 {
  font-size: 1.07rem;
  color: #e60012;
  margin-bottom: 9px;
  font-weight: 700;
}
.bestseller-info p {
  font-size: 0.98rem;
  color: #444;
  margin-bottom: 16px;
  text-align: center;
}
.bestseller-btn {
  display: inline-block;
  border: 2px solid #e60012;
  color: #e60012;
  background: #fff;
  border-radius: 30px;
  padding: 7px 24px;
  font-weight: 500;
  font-size: 0.99rem;
  transition: background .2s, color .2s;
  text-decoration: none;
}
.bestseller-btn:hover {
  background: #e60012;
  color: #fff;
}

/* ===== Responsive (giống style.css v1) ===== */
@media (max-width: 900px) {
  .banner-flex,
  .category-grid,
  .bestseller-grid {
    flex-direction: column;
    align-items: center;
    gap: 26px;
  }
  .banner-img {
    max-width: 96vw;
  }
  .category-card {
    width: 86vw;
    max-width: 220px;
  }
  .bestseller-card {
    width: 90vw;
    max-width: 320px;
  }
}
@media (max-width: 600px) {
  .header-flex {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    gap: 12px;
  }
  .container {
    width: 99%;
  }
  .banner-content h1 {
    font-size: 1.25rem;
  }
  .footer-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/*nút hd mua hàng*/
.products-actions {
  margin-top: 32px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-guide {
  display: inline-block;
  background: #0084ff;
  color: #fff;
  font-weight: 600;
  font-size: 1.09rem;
  border-radius: 30px;
  padding: 12px 36px;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(0,132,255,0.11);
  transition: background .2s, transform .18s, box-shadow .2s;
  letter-spacing: 0.5px;
}

.btn-guide:hover {
  background: #005b99;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 20px rgba(0,132,255,0.18);
}
/*nút hd mua hàng*/

/* Nút zalo fb cạnh phải*/
.fixed-social-buttons {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 9999;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  width: 54px;
  height: 54px;
  transition: box-shadow 0.18s, transform 0.15s;
  border: 2px solid #e7e7e7;
}
.social-btn img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.social-btn:hover {
  box-shadow: 0 6px 20px rgba(230,0,18,0.18);
  transform: translateY(-2px) scale(1.08);
  border-color: #e60012;
}

.zalo-btn {
  border-color: #0084ff;
}
.zalo-btn:hover {
  border-color: #005b99;
}

.messenger-btn {
  border-color: #00b2ff;
}
.messenger-btn:hover {
  border-color: #0077b5;
}

@media (max-width: 600px) {
  .fixed-social-buttons {
    right: 12px;
    bottom: 12px;
    gap: 10px;
  }
  .social-btn {
    width: 46px;
    height: 46px;
  }
  .social-btn img {
    width: 26px;
    height: 26px;
  }
}
/* Nút zalo fb cạnh phải*/