/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Be Vietnam Pro", sans-serif;
}

body {
  background: #f5f5f5;
}

/* HEADER */

header {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 30px 10px;
  gap: 20px;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  width: 80px;
}

.logo h1 {
  font-size: 16px;
  line-height: 1.35;
}

.logo h2 {
  font-size: 14px;
}

/* SEARCH */

.search-box {
  display: flex;
  width: 50%;
  height: 50px;
  margin-bottom: 6px;
}

.search-box input {
  flex: 1;
  padding: 14px;
  border: 2px solid #ff4d00;
  border-right: none;
  outline: none;
  font-size: 18px;
  border-radius: 8px 0 0 8px;
}

.search-box button {
  width: 70px;
  border: none;
  background: #ff4d00;
  color: white;
  cursor: pointer;
  border-radius: 0 8px 8px 0;
  transition: 0.3s;
}

/* MENU */

/* SLIDER */

/* CATEGORY */

/* PRODUCTS */

.products {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;

  margin: 0 20px;
  padding: 20px 0 50px;
}

.product-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
}

.catalog-status {
  margin: 18px 5% 0;
  color: #666;
  font-size: 14px;
  text-align: right;
}

.catalog-message {
  grid-column: 1 / -1;
  padding: 40px 20px;
  color: #666;
  text-align: center;
}

.product-card img {
  width: 100%;
  height: 230px;
  object-fit: contain;
  display: block;
  padding: 15px;
  background: #fff;
}

.product-card h3 {
  padding: 15px;
}

.normal-text {
  font-weight: normal;
}

.product-card p {
  color: #ff4d00;
  font-size: 20px;
  font-weight: bold;
  padding: 0 15px;
}

.product-card button {
  margin: auto 15px 15px;
  width: calc(100% - 30px);
  padding: 12px;
  border: none;
  background: #ff4d00;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

/* FOOTER */

footer {
  background: linear-gradient(to bottom, #fff3eb, #ffe6d6);
  color: #333;
  padding-top: 40px;
  border-top: 3px solid #ff5a00;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 0 5%;
}

.footer-content h3 {
  margin-bottom: 15px;
  color: #ff4d00;
}

.footer-content p,
.footer-content a {
  color: #040404;
  text-decoration: none;
  line-height: 2;
}

.copyright {
  text-align: center;
  padding: 20px;
  margin-top: 30px;
  border-top: 1px solid #ffd4bf;
  color: #666;
}

/* FLOAT BUTTON */

.floating-buttons {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floating-buttons a {
  width: 55px;
  height: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  font-size: 20px;
}

.call {
  background: hsl(22, 88%, 66%);
}

.zalo {
  background: #0068ff;
}

/* TOP MENU */

.top-menu {
  background: linear-gradient(90deg, #ff7b29, #ff4d00);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  padding: 14px 20px;
  flex-wrap: wrap;
}

.top-menu a {
  color: white;
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
}

.top-menu a:hover {
  transform: translateY(-2px);
  color: #ffe0cc;
}

.top-menu i {
  font-size: 14px;
}

/* CATEGORY MENU */

.category-menu {
  width: 300px;
  background: hsl(0, 100%, 100%);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-menu ul {
  list-style: none;
}

.category-menu ul li {
  position: relative;
}

.category-menu ul li a {
  display: block;
  padding: 18px 20px;
  text-decoration: none;
  color: black;
  border-bottom: 1px solid #eee;
  white-space: nowrap;
}

/* SUBMENU */

.submenu {
  position: absolute;
  top: 0;
  left: 100%;
  width: 250px;
  background: hsl(0, 0%, 100%);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 999;
}

.category-menu ul li:hover .submenu {
  display: block;
}

/* MENU CẤP 3 */

.dropdown2 {
  position: relative;
}

.submenu2 {
  position: absolute;
  top: 0;
  left: 100%;
  width: 250px;
  background: hsl(0, 0%, 100%);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 999;
}

.dropdown2:hover .submenu2 {
  display: block;
}

/* LAYOUT */

.main-layout {
  display: flex;
  gap: 20px;
  padding: 0 20px 20px;
  align-items: flex-start;
}

/* BANNER */

/* RESPONSIVE */

@media (max-width: 992px) {
  .products {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* Luôn 6 sản phẩm */
    gap: 20px;
    padding: 20px 5% 50px;
  }

  .categories {
    grid-template-columns: repeat(2, 1fr);
  }

  .search-box {
    width: 100%;
    margin: 20px 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .top-menu {
    gap: 15px;
    padding: 10px;
  }

  .top-menu a {
    font-size: 13px;
  }

  .main-layout {
    flex-direction: column;
  }

  .category-menu {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .products {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* Luôn 6 sản phẩm */
    gap: 20px;
    padding: 20px 5% 50px;
  }

  .categories {
    grid-template-columns: 1fr;
  }

  .logo h1 {
    font-size: 16px;
  }

  .slides,
  .slides img {
    height: 100px;
  }

  .banner img {
    height: 250px;
  }
}
.website-container {
  width: 1500px;
  max-width: 100%;
  margin: 0 auto;
  background: white;
}
.left-menu {
  width: 300px;
  flex-shrink: 0;
}

.menu-title {
  background: linear-gradient(90deg, #ff7b29, #ff4d00);
  color: white;
  text-align: center;
  padding: 18px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 12px 12px 0 0;
  letter-spacing: 1px;
}
/* POPUP */

.popup-overlay {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  background: rgba(0, 0, 0, 0.6);

  display: flex;

  justify-content: center;
  align-items: center;

  z-index: 9999;
}

.popup-box {
  position: relative;

  width: 500px;

  background: white;

  border-radius: 15px;

  overflow: hidden;

  animation: popupShow 0.4s ease;
}

.popup-box img {
  width: 100%;

  display: block;
}

.popup-content {
  padding: 20px;

  text-align: center;
}

.popup-content h2 {
  color: #ff4d00;

  margin-bottom: 10px;
}

.popup-content p {
  margin-bottom: 20px;

  font-size: 16px;
}

.popup-content a {
  display: inline-block;

  padding: 12px 25px;

  background: #ff4d00;

  color: white;

  text-decoration: none;

  border-radius: 6px;
}

.close-popup {
  position: absolute;

  top: 10px;
  right: 10px;

  width: 35px;
  height: 35px;

  border: none;

  border-radius: 50%;

  background: red;

  color: white;

  font-size: 18px;

  cursor: pointer;
}

@keyframes popupShow {
  from {
    transform: scale(0.7);

    opacity: 0;
  }

  to {
    transform: scale(1);

    opacity: 1;
  }
}
/* TỪ KHÓA TÌM KIẾM */

.search-keywords {
  width: 50%;

  margin-left: auto;

  display: flex;

  flex-wrap: wrap;

  gap: 10px;

  margin-top: 0px;
  margin-bottom: 2px;

  padding-bottom: 0px;
}

.search-keywords a {
  background: #f1f1f1;

  color: #333;

  text-decoration: none;

  padding: 6px 14px;

  border-radius: 30px;

  font-size: 14px;

  transition: 0.3s;
}

.search-keywords a:hover {
  background: #ff4d00;

  color: white;
}

/* MOBILE */

@media (max-width: 992px) {
  .search-keywords {
    width: 100%;

    margin-top: 10px;
  }
}
.search-area {
  width: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.company-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.company-desc {
  margin-top: 8px;

  font-size: 15px;

  color: #555;

  font-weight: 500;

  background: #fff3eb;

  padding: 8px 14px;

  border-left: 4px solid #f6f2f1;

  border-radius: 6px;

  width: fit-content;
}
/* TIÊU ĐỀ SẢN PHẨM */

.section-title {
  width: 300px;

  background: #ff5a0a;

  color: white;

  font-size: 18px;

  font-weight: bold;

  text-align: center;

  padding: 16px;

  border-radius: 10px 10px 0 0;

  margin: 30px 0 0 20px;

  letter-spacing: 1px;

  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}
h6 {
  font-weight: normal;
}
h5 {
  font-weight: normal;
}
/* =========================
  CHI TIẾT SẢN PHẨM
  ========================= */

.product-detail {
  width: 100%;
  display: flex;
  gap: 40px;
  padding: 40px;
  background: white;
  margin-top: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* ẢNH */

.product-detail-image {
  flex: 1;
  display: flex;
  text-align: center;
  align-items: center;
}

.product-detail-image img {
  width: 100%;
  max-width: 380px;
  object-fit: contain;
}

/* NỘI DUNG */

.product-detail-info {
  flex: 1;
}

.product-detail-info h1,
.product-detail-info h2 {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 25px;
  color: #222;
}

/* THÔNG TIN */

.product-info-list {
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
  margin-bottom: 25px;
}

.product-info-list p {
  font-size: 20px;
  margin-bottom: 15px;
  color: #444;
}

.product-info-list span {
  color: #0080ff;
}

/* GIÁ */

.product-price {
  font-size: 30px;
  color: red;
  font-weight: bold;
  margin-bottom: 30px;
}

/* MUA HÀNG */

.product-buy {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}

/* SỐ LƯỢNG */

.quantity-box {
  display: flex;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
}

.quantity-box button {
  width: 50px;
  height: 50px;
  border: none;
  background: #f5f5f5;
  font-size: 22px;
  cursor: pointer;
}

.quantity-box input {
  width: 60px;
  border: none;
  text-align: center;
  font-size: 20px;
}

/* BUTTON */

.cart-btn,
.buy-btn {
  height: 50px;
  padding: 0 28px;
  border: none;
  color: white;
  font-size: 18px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
}

.cart-btn {
  background: #ff5a00;
}

.buy-btn {
  background: #0099ff;
}

/* MÔ TẢ */

.product-description {
  border-top: 1px solid #eee;
  padding-top: 25px;
}

.product-description h3 {
  font-size: 20px;
  margin-bottom: 20px;
}

.product-description ul {
  padding-left: 25px;
}

.product-description li {
  font-size: 20px;
  line-height: 1.8;
  color: #333;
}

/* RESPONSIVE */

@media (max-width: 992px) {
  .product-detail {
    flex-direction: column;
    padding: 20px;
  }

  .product-detail-info h1 {
    font-size: 20px;
  }

  .product-price {
    font-size: 30px;
  }

  .product-description li {
    font-size: 18px;
  }
}
.detail-btn {
  display: block;

  margin: auto 15px 15px;

  width: calc(100% - 30px);

  padding: 12px;

  background: #ff5a00;

  color: white;

  text-align: center;

  text-decoration: none;

  border-radius: 8px;

  font-size: 16px;

  transition: 0.3s;
}

.detail-btn:hover {
  background: #e65100;

  transform: translateY(-2px);
}
.product-sidebar {
  width: 320px;
  flex-shrink: 0;
}

.sidebar-box {
  background: #f3f5f8;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 25px;
}

.sidebar-title {
  background: #e65100;
  color: white;
  padding: 15px;
  font-weight: bold;
}

.staff-item,
.support-item {
  padding: 15px 20px;
  border-bottom: 1px solid #ddd;
}

.staff-item {
  display: flex;
  justify-content: space-between;
}

.product-meta {
  font-size: 18px;
  color: #555;
  margin-bottom: 15px;
}

.product-meta span {
  color: #ff4d00;
  font-weight: normal;
}
.sidebar-title-orange {
  background: linear-gradient(90deg, #ff7b29, #ff5a00);
  color: white;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  padding: 18px;
  border-radius: 12px 12px 0 0;
  letter-spacing: 1px;
}

.benefits {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 25px;
  background: #f3f5f8;
  border-radius: 0 0 12px 12px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #e5e5e5;
}

.benefit-item:last-child {
  border-bottom: none;
}

.benefit-item i {
  font-size: 24px; /* Giảm kích thước icon */
  color: #5aa2ea;
  width: 30px;
  text-align: center;
}

.benefit-item span {
  font-size: 15px; /* Giảm kích thước chữ */
  font-weight: 500;
  line-height: 1.4;
}
/* =========================
  BREADCRUMB
  ========================= */

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 10px;

  padding: 15px 25px;

  background: #f5f5f5;

  border-radius: 8px;

  margin: 20px;
}

.breadcrumb a {
  text-decoration: none;

  color: #555;

  font-size: 16px;

  transition: 0.3s;
}

.breadcrumb a:hover {
  color: #ff5a00;
}

.breadcrumb span {
  color: #999;
}

.breadcrumb .current {
  color: #0080ff;
  font-weight: 500;
}
/* BANNER */
.banner {
  flex: 1;
  overflow: hidden;
  border-radius: 10px;
}

.slides {
  position: relative;
  height: 500px;
}

.slides img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: contain; /* Hiển thị đầy đủ ảnh */

  opacity: 0;
  transform: scale(1.05);

  transition:
    opacity 3s ease,
    transform 8s linear;
}

.slides img.active {
  opacity: 1;
  transform: scale(1);
}
.zalo-btn img {
  width: 55px;
  height: 55px;
  object-fit: contain;
}
/* ==========================
  CHI TIẾT NỘI DUNG SẢN PHẨMs
  ========================== */

.product-content {
  width: calc(81% - 40px);
  margin: 30px auto;
  background: #fff;

  margin-top: 30px;

  padding: 40px 50px;

  border-radius: 12px;

  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.content-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.content-tabs button {
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
}

.content-tabs .active {
  background: #ff4d00;
  color: white;
}

.content-box {
  max-width: 1100px;
  margin: 0 auto;

  line-height: 1.9;
}
.content-box h2 {
  font-size: 22px;
  margin-top: 35px;
  margin-bottom: 20px;
}

.content-box h3 {
  margin-top: 20px;
  margin-bottom: 10px;
  color: #333;
  font-size: 24px;
}

.content-box p {
  font-size: 17px;
  line-height: 1.9;
}

.content-box ul {
  padding-left: 25px;
}

.content-box li {
  font-size: 17px;
  line-height: 1.9;
}
.pdf-section {
  width: calc(100% - 40px);
  margin: 30px auto;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.pdf-viewer {
  width: 100%;
}

.pdf-viewer iframe {
  display: block;
  width: 100%;
  border: none;
}
.pdf-section iframe {
  display: block;
  width: 100%;
  border: none;
}
.pdf-title {
  background: linear-gradient(90deg, #ff7b29, #ff5a00);
  color: white;
  text-align: center;
  padding: 18px;
  font-size: 18px;
  font-weight: bold;
}
/* ===== GIỚI THIỆU CÔNG TY ===== */

.about-company {
  background: #fff;
  margin: 20px 0;
  border: 1px solid #ddd;
}

.about-title {
  background: linear-gradient(90deg, #ff7b29, #ff4d00);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  padding: 15px;
}

.about-content {
  padding: 30px;
  line-height: 1.8;
  color: #444;
}

.about-content h2 {
  font-size: 26px;
  color: #d62828;
}

.about-content h3 {
  font-size: 20px;
  color: #ff5a00;
  margin-top: 25px;
}

.about-content ul {
  padding-left: 25px;
}

.about-content p,
.about-content li {
  font-size: 16px;
}
.about-title h2 {
  font-size: 24px;
  margin: 0;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.policy-page {
  width: calc(100% - 40px);
  margin: 30px auto;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.page-title {
  background: linear-gradient(90deg, #ff7b29, #ff4d00);
  color: #fff;
  padding: 12px 20px;
  margin-bottom: 25px;
  border-radius: 5px;
}

.page-title h2 {
  margin: 0;
  font-size: 22px;
}

.policy-content {
  padding: 30px;
  line-height: 1.8;
  color: #444;
}

.policy-content h3 {
  font-size: 22px;
  color: #ff5a00;

  margin-top: 35px;
  margin-bottom: 15px;

  padding-left: 12px;

  border-left: 5px solid #ff5a00;
}

.policy-content p {
  text-align: justify;
}
.policy-content li {
  font-size: 16px;
}

.policy-content ol {
  margin-top: 15px;
  margin-bottom: 20px;
}

.policy-content li {
  line-height: 1.9;
}
.product-filter {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;

  padding: 20px 5%;
  background: white;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-group label {
  font-weight: bold;
}

.filter-group select {
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  min-width: 220px;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;

  margin: 40px 0;
}

.pagination a {
  width: 42px;
  height: 42px;

  display: flex;
  justify-content: center;
  align-items: center;

  text-decoration: none;

  border: 1px solid #ddd;

  color: #333;

  background: white;

  transition: 0.3s;
}

.pagination a:hover {
  background: #ff5a00;
  color: white;
}

.pagination .active {
  background: #ff5a00;
  color: white;
  border-color: #ff5a00;
}
.product-sidebar {
  width: 320px;
}

.commit-box,
.support-box {
  background: #f7f7f7;

  border-radius: 10px;

  overflow: hidden;

  margin-bottom: 25px;
}

.box-title {
  background: #ff6416;

  color: #fff;

  text-align: center;

  font-size: 30px;

  font-weight: bold;

  padding: 18px;
}

.commit-item {
  display: flex;

  align-items: center;

  gap: 15px;

  padding: 18px;

  border-bottom: 1px solid #ddd;
}

.commit-item:last-child {
  border-bottom: none;
}

.commit-item i {
  color: #4d8ff7;

  font-size: 28px;

  width: 35px;
}

.commit-item span {
  font-size: 20px;
}

.support-content {
  display: flex;

  justify-content: space-between;

  padding: 18px;

  font-size: 22px;
}

.support-content a {
  color: #000;

  text-decoration: none;
}
.product-page {
  display: flex;

  gap: 25px;

  align-items: flex-start;
}

.filter-sidebar {
  width: 260px;

  flex-shrink: 0;
}

.product-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 20px 0 30px;
}

.filter-title {
  font-size: 20px;
  font-weight: bold;
  margin-right: 10px;
}

.filter-btn {
  padding: 10px 18px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
  transition: 0.3s;
}

.filter-btn:hover {
  background: #ff5b00;
  color: #fff;
  border-color: #ff5b00;
}

.filter-btn.active {
  background: #ff5b00;
  color: #fff;
  border-color: #ff5b00;
}
.product-card h3 {
  padding: 15px;
  font-size: 18px;
  line-height: 1.5;

  height: 85px; /* hoặc 90px */
  overflow: hidden;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.product-name {
  padding: 0 15px;
  margin-top: 12px;
  margin-bottom: 14px;
  line-height: 1.4;
}

.product-code-box {
  padding: 0 15px;
  margin-bottom: 14px;
  font-size: 15px;
  color: #444;
}

.product-code {
  color: #0080ff;
}

.product-price {
  margin-bottom: 20px;
  font-size: 30px;
  font-weight: bold;
  color: #ff5a00;
}


/* Thanh tìm kiếm và bộ lọc danh mục sản phẩm */
.catalog-toolbar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  align-items: end;
  margin: 18px 0;
  padding: 16px;
  background: #fff;
  border: 1px solid #e4e8ee;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgb(0 0 0 / 6%);
}

.catalog-search {
  position: relative;
  display: flex;
  align-items: center;
}

.catalog-search i {
  position: absolute;
  left: 14px;
  color: #687383;
  pointer-events: none;
}

.catalog-search input,
.catalog-select select {
  width: 100%;
  height: 44px;
  border: 1px solid #cbd3dd;
  border-radius: 7px;
  background: #fff;
  color: #1f2937;
  font: inherit;
}

.catalog-search input {
  padding: 0 14px 0 42px;
}

.catalog-select {
  display: grid;
  gap: 5px;
  color: #445064;
  font-size: 13px;
  font-weight: 600;
}

.catalog-select select {
  min-width: 160px;
  padding: 0 36px 0 12px;
}

.catalog-search input:focus,
.catalog-select select:focus {
  border-color: #d71920;
  outline: 3px solid rgb(215 25 32 / 12%);
}

.catalog-message {
  grid-column: 1 / -1;
  padding: 28px;
  text-align: center;
  color: #667085;
  background: #f8fafc;
  border-radius: 8px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .catalog-toolbar {
    grid-template-columns: 1fr 1fr;
  }
  .catalog-search {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .catalog-toolbar {
    grid-template-columns: 1fr;
    padding: 12px;
  }
  .catalog-search {
    grid-column: auto;
  }
  .catalog-select select {
    min-width: 0;
  }
}


/* Bộ lọc checkbox nhiều lựa chọn */
.catalog-checkbox-group {
  min-width: 0;
  margin: 0;
  padding: 10px 12px 12px;
  border: 1px solid #cbd3dd;
  border-radius: 8px;
  background: #fff;
}

.catalog-checkbox-group--wide {
  grid-column: span 2;
}

.catalog-checkbox-group legend {
  padding: 0 5px;
  color: #344054;
  font-size: 13px;
  font-weight: 700;
}

.catalog-checkbox-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 8px 12px;
  max-height: 190px;
  overflow-y: auto;
}

.catalog-checkbox-option {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #344054;
  font-size: 14px;
  line-height: 1.35;
  cursor: pointer;
}

.catalog-checkbox-option input {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin: 1px 0 0;
  accent-color: #d71920;
  cursor: pointer;
}

.catalog-checkbox-option:has(input:checked) {
  color: #b21319;
  font-weight: 600;
}

@media (max-width: 600px) {
  .catalog-checkbox-group--wide {
    grid-column: auto;
  }
  .catalog-checkbox-options {
    grid-template-columns: 1fr;
    max-height: 230px;
  }
}

/* Căn thẳng hàng tên, mã, giá và nút trong thẻ sản phẩm */
.product-card .product-name {
  display: -webkit-box;
  height: 5.6em;
  min-height: 5.6em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.product-card .product-code-box {
  min-height: 2.8em;
  line-height: 1.4;
}

.product-card .product-price {
  min-height: 1.4em;
  line-height: 1.4;
}

/* PRODUCT SIDEBAR STANDARD — shared by every product detail page */
.product-sidebar--standard { width: 320px; max-width: 100%; flex: 0 0 320px; font-family: "Be Vietnam Pro", sans-serif; }
.product-sidebar--standard .sidebar-box { margin: 0 0 24px; overflow: hidden; border-radius: 12px; background: #f3f5f8; box-shadow: none; }
.product-sidebar--standard .sidebar-title-orange { margin: 0; padding: 17px 14px; border-radius: 0; background: linear-gradient(90deg,#ff7624,#ff5700); color: #fff; font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: 0; text-align: center; }
.product-sidebar--standard .benefits { display: block; padding: 18px 25px; border-radius: 0; background: #f3f5f8; }
.product-sidebar--standard .benefit-item { display: grid; grid-template-columns: 30px minmax(0,1fr); align-items: center; gap: 12px; min-height: 66px; padding: 12px 0; border-bottom: 1px solid #dfe3e8; }
.product-sidebar--standard .benefit-item:last-child { border-bottom: 0; }
.product-sidebar--standard .benefit-item span { color: #111; font-size: 15px; font-weight: 500; line-height: 1.45; }
.product-sidebar--standard .benefit-item .benefit-icon { display: inline-flex; align-items: center; justify-content: center; width: 25px; height: 25px; border-radius: 50%; background: #4c98e8; color: #fff; font-size: 16px; font-weight: 700; line-height: 1; }
.product-sidebar--standard .staff-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 12px 18px; border: 0; color: #111; font-size: 16px; }
.product-sidebar--standard .staff-item a { color: #111; text-decoration: none; white-space: nowrap; }
@media (max-width: 900px) { .product-sidebar--standard { width: 100%; flex-basis: 100%; } }


/* PRODUCT TECHNICAL SPECIFICATIONS — shared by every product detail page */
.product-specifications { width: calc(100% - 40px); margin: 0 20px 32px; overflow: hidden; border: 1px solid #e5e7eb; border-radius: 10px; background: #fff; }
.product-specifications__title { margin: 0; padding: 16px 20px; border-bottom: 3px solid #1689ed; background: #f3f3f3; color: #171717; font-size: 20px; font-weight: 700; line-height: 1.35; }
.product-specifications__table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.product-specifications__table th, .product-specifications__table td { padding: 13px 16px; border-bottom: 1px solid #e8e8e8; font-size: 15px; line-height: 1.45; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.product-specifications__table tr:nth-child(even) { background: #f5f5f5; }
.product-specifications__table tr:last-child th, .product-specifications__table tr:last-child td { border-bottom: 0; }
.product-specifications__table th { width: 28%; color: #58719a; font-weight: 500; }
.product-specifications__table td { color: #111; font-weight: 400; }
@media (max-width: 640px) { .product-specifications { width: calc(100% - 20px); margin: 0 10px 24px; } .product-specifications__title { font-size: 18px; } .product-specifications__table th { width: 38%; } .product-specifications__table th, .product-specifications__table td { padding: 11px 10px; font-size: 14px; } }



/* Stable category icons: no external icon-font dependency */
.category-menu .menu-category-icon { display: inline-block; width: 1.35em; margin-right: 3px; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; font-style: normal; line-height: 1; text-align: center; vertical-align: -0.08em; }


/* Product highlights use dash markers instead of round bullets */
.product-description ul { margin: 0; padding-left: 0; list-style: none; }
.product-description li { padding-left: 0; }
.product-description li::before { content: none; display: none; }


/* Slightly larger product title on every detail page */
.product-detail-info h1,
.product-detail-info h2 { font-size: 24px; }
@media (max-width: 992px) {
  .product-detail-info h1,
  .product-detail-info h2 { font-size: 22px; }
}


/* Responsive product grid: prevent cards and images from collapsing on phones */
@media (max-width: 1200px) {
  .products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 12px; padding: 18px 0 42px; gap: 14px; }
}
@media (max-width: 640px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 10px; padding: 14px 0 36px; gap: 10px; }
  .product-card { min-width: 0; }
  .product-card img { width: 100%; height: 170px; padding: 10px; object-fit: contain; }
  .product-card .product-name { height: 6em; min-height: 6em; margin: 10px 0 12px; padding: 0 10px; font-size: 14px; line-height: 1.5; }
  .product-card .product-code-box { min-height: 3em; margin-bottom: 10px; padding: 0 10px; font-size: 13px; line-height: 1.5; }
  .product-card .product-price { min-height: 1.5em; margin-bottom: 14px; padding: 0 10px; font-size: 19px; line-height: 1.5; }
  .product-card button { width: calc(100% - 20px); margin: auto 10px 10px; padding: 11px 6px; font-size: 14px; }
}


/* Compact and accessible header/category navigation on small screens */
.company-name { color: #111; font-size: 16px; font-weight: 700; line-height: 1.35; }
.company-contact { margin: 2px 0; color: #111; font-size: 15px; font-weight: 600; line-height: 1.35; }
@media (max-width: 640px) {
  .top-menu { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; gap: 14px; padding: 9px 12px; scrollbar-width: none; }
  .top-menu::-webkit-scrollbar { display: none; }
  .top-menu a { flex: 0 0 auto; min-height: 36px; display: inline-flex; align-items: center; }
  .top-bar { padding: 14px 14px 16px; gap: 14px; }
  .logo { width: 100%; align-items: center; gap: 10px; }
  .logo img { width: 68px; height: 68px; object-fit: contain; }
  .company-name { font-size: 14px; }
  .company-contact { font-size: 13px; }
  .company-desc { display: none; }
  .search-box { margin: 0; }
  .search-box input { min-height: 46px; font-size: 15px; }
  .search-box button { min-width: 52px; min-height: 46px; }
  .left-menu { width: 100%; }
  .menu-title { position: relative; cursor: pointer; user-select: none; padding-right: 48px; }
  .menu-title::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; }
  .left-menu.is-open .menu-title::after { content: "−"; }
  .left-menu .category-menu { display: none; }
  .left-menu.is-open .category-menu { display: block; }
  .floating-buttons { right: 10px; bottom: 14px; }
}

