/* Trang danh mục + chi tiết mẫu nhà (S2C — giống trang cũ). KHÔNG định nghĩa lại .nv-the/.nv-luoi (đã ở the.css của S2B). */

/* ============ Dải ảnh đầu trang danh mục ============ */
.nv-mau-banner {
  height: 300px;
  background-color: #09502a;
  background-image: url("../img/banner-nv-2.png.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ============ Breadcrumb 13px xám (trong trang mẫu nhà) ============ */
.nv-mau-arc .nv-breadcrumb,
.nv-mau-chi-tiet .nv-breadcrumb {
  font-size: 13px;
  color: #999;
  margin: 16px 0 8px;
}
.nv-mau-arc .nv-breadcrumb a,
.nv-mau-chi-tiet .nv-breadcrumb a {
  color: #999;
}

/* ============ H1 danh mục: chữ hoa 36px Roboto Condensed đen ============ */
.nv-mau-arc .nv-mau-tieu-de {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 36px;
  font-weight: 400;
  text-transform: uppercase;
  color: #000;
  margin: 0 0 12px;
}
.nv-mau-mo-ta {
  font-size: 14px;
  color: #000;
  text-align: justify;
  margin: 0 0 20px;
  line-height: 1.7;
}

/* ============ Bộ lọc: 4 ô một hàng, hàng dưới nhỏ hơn ============ */
.nv-mau-arc .nv-loc {
  margin: 0 0 28px;
}
.nv-mau-arc .nv-loc-hang {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}
.nv-mau-arc .nv-loc-o {
  flex: 1 1 0;
  min-width: 0;
}
.nv-mau-arc .nv-loc-o-nho {
  flex: 0 1 220px;
}
.nv-mau-arc .nv-loc-nhan {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.nv-mau-arc .nv-loc select {
  width: 100%;
  font: inherit;
  font-size: 14px;
  color: #000;
  padding: 9px 10px;
  border: 1px solid #ccc;
  border-radius: 0;
  background: #fff;
}
.nv-mau-arc .nv-loc-hang-phu {
  align-items: center;
}
.nv-mau-arc .nv-loc-xoa {
  font-size: 13px;
  color: #09a250;
  white-space: nowrap;
}
.nv-mau-arc .nv-loc-xoa:hover {
  text-decoration: underline;
}

/* ============ Danh sách rỗng ============ */
.nv-mau-arc .nv-mau-rong {
  padding: 32px 16px;
  text-align: center;
  border: 1px dashed #ccc;
  background: #fff;
  font-size: 14px;
}

/* ============ Phân trang giữa, ô vuông viền xanh ============ */
.nv-mau-arc .nv-phan-trang {
  text-align: center;
  margin: 10px 0 40px;
}
.nv-mau-arc .nv-phan-trang .page-numbers {
  display: inline-block;
  min-width: 34px;
  height: 34px;
  line-height: 32px;
  padding: 0 8px;
  margin: 0 3px;
  border: 1px solid #09a250;
  color: #09a250;
  font-size: 14px;
  background: #fff;
}
.nv-mau-arc .nv-phan-trang a.page-numbers:hover {
  background: #09a250;
  color: #fff;
}
.nv-mau-arc .nv-phan-trang .page-numbers.current {
  background: #09a250;
  color: #fff;
}
.nv-mau-arc .nv-phan-trang .page-numbers.dots {
  border: 0;
  color: #999;
}

/* ============ Chi tiết: H1 chữ hoa 30px ============ */
.nv-mau-chi-tiet .nv-mau-h1 {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 30px;
  font-weight: 400;
  text-transform: uppercase;
  color: #000;
  margin: 0 0 8px;
  line-height: 1.3;
}
.nv-mau-chi-tiet .nv-chia-se {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  color: #999;
}
.nv-mau-chi-tiet .nv-chia-se a {
  padding: 4px 12px;
  border-radius: 3px;
  color: #fff;
  font-size: 12px;
}
.nv-mau-chi-tiet .nv-chia-se a[href*="facebook"] {
  background: #1877f2;
}
.nv-mau-chi-tiet .nv-chia-se a[href*="zalo"] {
  background: #0068ff;
}

.nv-mau-chi-tiet .nv-mau-doi {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
.nv-mau-chi-tiet .nv-mau-anh {
  margin: 0 0 24px;
}
.nv-mau-chi-tiet .nv-mau-anh img {
  width: 100%;
  height: auto;
  display: block;
}

/* Khối Tổng quan: gạch đầu dòng, tiêu đề xanh */
.nv-mau-chi-tiet .nv-tong-quan {
  margin: 0 0 24px;
}
.nv-mau-chi-tiet .nv-tong-quan h2 {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  color: #09a250;
  margin: 0 0 10px;
}
.nv-mau-chi-tiet .nv-tong-quan ul {
  list-style: disc;
  margin: 0;
  padding-left: 20px;
}
.nv-mau-chi-tiet .nv-tong-quan li {
  font-size: 14px;
  color: #000;
  line-height: 1.8;
}

/* Nội dung + gallery */
.nv-mau-chi-tiet .nv-mau-nd {
  font-size: 14px;
  color: #000;
  line-height: 1.7;
}
.nv-mau-chi-tiet .nv-mau-nd img {
  max-width: 100%;
  height: auto;
}

/* Tag */
.nv-mau-chi-tiet .nv-mau-tag {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.nv-mau-chi-tiet .nv-mau-tag a {
  padding: 5px 14px;
  background: #f2f2f2;
  font-size: 13px;
  color: #000;
}
.nv-mau-chi-tiet .nv-mau-tag a:hover {
  background: #09a250;
  color: #fff;
}

/* ============ Cột phải: hộp tư vấn nền xanh, nút trắng chữ xanh ============ */
.nv-mau-chi-tiet .nv-tu-van {
  background: #09a250;
  color: #fff;
  padding: 24px 20px;
  text-align: center;
  margin-bottom: 24px;
}
.nv-mau-chi-tiet .nv-tu-van h2 {
  font-family: "Roboto Condensed", sans-serif;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.nv-mau-chi-tiet .nv-tu-van-so {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}
.nv-mau-chi-tiet .nv-tu-van-goi,
.nv-mau-chi-tiet .nv-tu-van-zalo {
  display: block;
  padding: 10px;
  background: #fff;
  color: #09a250;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 10px;
}
.nv-mau-chi-tiet .nv-tu-van-zalo {
  margin-bottom: 0;
}

.nv-mau-chi-tiet .nv-mau-moi h2 {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  color: #09a250;
  margin: 0 0 12px;
}
.nv-mau-chi-tiet .nv-mau-moi ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nv-mau-chi-tiet .nv-mau-moi li {
  margin-bottom: 12px;
}
.nv-mau-chi-tiet .nv-mau-moi li a {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #000;
}
.nv-mau-chi-tiet .nv-mau-moi li img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  flex-shrink: 0;
}
.nv-mau-chi-tiet .nv-mau-moi li span {
  font-size: 14px;
  line-height: 1.4;
}

/* ============ Dự án liên quan: tiêu đề xanh 30px + lưới 3 cột ============ */
.nv-mau-chi-tiet .nv-lien-quan {
  margin-top: 40px;
}
.nv-mau-chi-tiet .nv-lien-quan h2 {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 30px;
  font-weight: 400;
  text-transform: uppercase;
  color: #09a250;
  margin: 0 0 16px;
}

/* ============ Di động ============ */
@media (max-width: 768px) {
  .nv-mau-banner {
    height: 160px;
  }
  .nv-mau-arc .nv-mau-tieu-de {
    font-size: 26px;
  }
  .nv-mau-arc .nv-loc-hang {
    flex-wrap: wrap;
  }
  .nv-mau-arc .nv-loc-o {
    flex: 1 1 calc(50% - 12px);
  }
  .nv-mau-arc .nv-loc-o-nho {
    flex: 1 1 100%;
  }
  .nv-mau-chi-tiet .nv-mau-h1 {
    font-size: 24px;
  }
  .nv-mau-chi-tiet .nv-lien-quan h2 {
    font-size: 24px;
  }
}

@media (min-width: 992px) {
  .nv-mau-chi-tiet .nv-mau-doi {
    grid-template-columns: 2fr 1fr;
  }
  .nv-mau-chi-tiet .nv-mau-phai {
    position: sticky;
    top: 96px;
  }
}
