/* ══════════════════════════════════════════════════════════
   BONSAI GARDEN — phần bán hàng
   Dải điểm mạnh · lưới sản phẩm · dịch vụ · quy trình ·
   con số · cam kết · dải chốt đơn · thanh nút đáy màn hình
   Màu vàng và màu giá lấy theo lối greenhome.com.vn,
   caycanhviet.vn và caybamien.vn.
   ══════════════════════════════════════════════════════════ */

:root {
  --vang: #d59c58;
  --vang-dam: #b87f3c;
  --do: #e03131;
}

/* ── Nút vàng, nút ở đầu trang ── */
.nut-vang { background: var(--vang); border-color: var(--vang); color: #fff; }
.nut-vang:hover { background: var(--vang-dam); border-color: var(--vang-dam); color: #fff; }

.nut-dau {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  background: var(--vang); color: #fff; border-radius: 999px;
  padding: 9px 18px; font-size: 13.5px; font-weight: 700;
}
.nut-dau:hover { background: var(--vang-dam); color: #fff; text-decoration: none; }

/* Trên điện thoại đã có thanh nút dính đáy màn hình, bỏ nút này cho khỏi tràn */
@media (max-width: 900px) {
  .nut-dau { display: none; }
  .lien-lac { flex-wrap: wrap; }
}

/* ── Nhãn nhỏ phía trên tiêu đề lớn ── */
.nhan-tren {
  display: inline-block; background: #fff; border: 1px solid var(--vang);
  color: var(--vang-dam); border-radius: 999px; padding: 5px 14px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .3px;
  margin: 0 0 14px !important;
}

/* ── Dải điểm mạnh ── */
.dai-manh {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
  gap: 1px; background: var(--vien); border: 1px solid var(--vien);
  border-radius: var(--tron); overflow: hidden; margin: 0 0 26px;
}
.manh { display: flex; gap: 12px; align-items: flex-start; background: #fff; padding: 16px 18px; }
.manh .bt {
  flex: none; width: 40px; height: 40px; display: grid; place-items: center;
  background: #eef7e9; border-radius: 50%; font-size: 19px;
}
.manh b { display: block; color: var(--xanh-tieu-de); font-size: 14.5px; margin-bottom: 2px; }
.manh span span { color: var(--chu-mo); font-size: 12.8px; line-height: 1.5; display: block; }

/* ── Lọc nhóm sản phẩm ── */
.loc-sp { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 22px; }
.nut-loc {
  border: 1px solid var(--vien-dam); background: #fff; color: var(--chu);
  border-radius: 999px; padding: 8px 18px; font: inherit; font-size: 13.5px;
  font-weight: 600; cursor: pointer;
}
.nut-loc:hover { border-color: var(--xanh-sang); color: var(--xanh); }
.nut-loc.dang-chon { background: var(--xanh); border-color: var(--xanh); color: #fff; }

/* ── Thẻ sản phẩm ── */
.luoi-sp {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(228px, 1fr));
  gap: 16px; margin: 20px 0;
}
.the-sp {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--vien); border-radius: var(--tron);
  padding: 20px 16px 16px; text-align: center;
  transition: box-shadow .15s, border-color .15s, transform .15s;
}
.the-sp:hover { border-color: var(--xanh-sang); box-shadow: var(--bong-noi); transform: translateY(-2px); }
.the-sp .nhan {
  position: absolute; top: 10px; left: 10px;
  background: var(--do); color: #fff; border-radius: 3px;
  padding: 3px 9px; font-size: 11px; font-weight: 700; text-transform: uppercase;
}
.sp-anh {
  display: grid; place-items: center; width: 74px; height: 74px; margin: 4px auto 12px;
  background: linear-gradient(160deg, #eef7e9, #d9ecd0); border-radius: 50%; font-size: 34px;
}
.the-sp h3 { margin: 0 0 6px; font-size: 15.5px; font-weight: 700; color: var(--chu-dam); line-height: 1.35; }
.the-sp > p { margin: 0 0 10px; font-size: 13px; color: var(--chu-mo); line-height: 1.55; }
.the-sp .gia { margin: auto 0 12px; color: var(--do); font-size: 15.5px; font-weight: 700; }
.hang-mua { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.nut-mua {
  background: var(--xanh); color: #fff; border-radius: 999px;
  padding: 8px 16px; font-size: 12.5px; font-weight: 700; text-transform: uppercase;
}
.nut-mua:hover { background: var(--xanh-dam); color: #fff; text-decoration: none; }
.nut-xem {
  border: 1px solid var(--vien-dam); color: var(--chu-mo); border-radius: 999px;
  padding: 8px 14px; font-size: 12.5px; font-weight: 600;
}
.nut-xem:hover { border-color: var(--xanh-sang); color: var(--xanh); text-decoration: none; }

/* ── Thẻ dịch vụ ── */
.luoi-dv {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px; margin: 20px 0;
}
.the-dv {
  background: #fff; border: 1px solid var(--vien); border-radius: var(--tron);
  padding: 22px 22px 20px; border-top: 3px solid var(--vang);
  transition: box-shadow .15s, transform .15s;
}
.the-dv:hover { box-shadow: var(--bong-noi); transform: translateY(-2px); }
.dv-bt {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 12px;
  background: #fdf5eb; border-radius: 12px; font-size: 23px;
}
.the-dv h3 { margin: 0 0 8px; font-size: 17px; color: var(--xanh-tieu-de); font-weight: 700; }
.the-dv p { margin: 0 0 14px; font-size: 14px; color: var(--chu-mo); line-height: 1.6; }
.lk-dv { font-size: 13.5px; font-weight: 700; text-transform: uppercase; }
.lk-dv::after { content: " →"; }

/* ── Quy trình 3 bước ── */
.quy-trinh {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px; margin: 30px 0 22px;
}
.buoc-qt {
  position: relative; background: var(--nen-xam); border: 1px dashed var(--vien-dam);
  border-radius: var(--tron); padding: 28px 20px 20px; text-align: center;
}
.so-qt {
  position: absolute; top: -17px; left: 50%; transform: translateX(-50%);
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%;
  background: var(--xanh); color: #fff; font-weight: 700; font-size: 15px;
  border: 3px solid #fff;
}
.buoc-qt h3 { margin: 0 0 6px; font-size: 16px; color: var(--xanh-tieu-de); font-weight: 700; }
.buoc-qt p { margin: 0; font-size: 13.5px; color: var(--chu-mo); line-height: 1.6; }

/* ── Con số ── */
.dai-so {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px; background: rgba(255, 255, 255, .16);
  border-radius: var(--tron); overflow: hidden; margin: 26px 0;
}
.dai-so div { background: var(--xanh-dam); padding: 22px 16px; text-align: center; }
.dai-so b { display: block; color: #fff; font-size: 30px; font-weight: 700; line-height: 1.1; }
.dai-so span { color: #a9c9b2; font-size: 13px; }

/* ── Cam kết ── */
.luoi-ck {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px; margin: 20px 0;
}
.the-ck {
  background: #f2f8ee; border: 1px solid #cde4bf; border-radius: var(--tron);
  padding: 18px 20px;
}
.the-ck h3 {
  margin: 0 0 7px; font-size: 15.5px; color: var(--xanh-tieu-de);
  font-weight: 700; display: flex; gap: 8px; align-items: baseline;
}
.the-ck h3 span {
  flex: none; width: 21px; height: 21px; display: grid; place-items: center;
  background: var(--xanh); color: #fff; border-radius: 50%; font-size: 12px;
}
.the-ck p { margin: 0; font-size: 13.5px; color: #4a4a4a; line-height: 1.6; }

/* ── Dải chốt đơn ── */
.dai-cta {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 24px; align-items: center;
  background: linear-gradient(120deg, var(--xanh-dam) 0%, #0a6b3c 60%, #12844a 100%);
  border-radius: var(--tron); padding: 28px 30px; margin: 32px 0; color: #fff;
}
.dai-cta h2 { margin: 0 0 8px; font-size: clamp(19px, 1rem + 1vw, 25px); color: #fff; font-weight: 700; }
.dai-cta p { margin: 0; color: #cfe3d4; font-size: 14.5px; line-height: 1.65; }
.dai-cta .hang-nut { justify-content: flex-end; }
.dai-cta .nut-vien { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.dai-cta .nut-vien:hover { background: rgba(255, 255, 255, .12); color: #fff; }

@media (max-width: 800px) {
  .dai-cta { grid-template-columns: 1fr; padding: 22px 18px; }
  .dai-cta .hang-nut { justify-content: flex-start; }
}

/* ── Hộp chốt ở cột bên ── */
.hop-chot { border-color: var(--vang); }
.hop-chot .ten-muc { background: linear-gradient(180deg, #e0ab6c, var(--vang-dam)); }
.hop-chot .hang-nut { display: flex; flex-wrap: wrap; gap: 7px; }

/* ── Thanh nút dính đáy màn hình (điện thoại) ── */
.thanh-day { display: none; }

@media (max-width: 760px) {
  .thanh-day {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
    background: #fff; border-top: 1px solid var(--vien);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, .1);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .thanh-day a {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 9px 4px; font-size: 11.5px; font-weight: 600; color: var(--chu);
    border-left: 1px solid var(--vien);
  }
  .thanh-day a:first-child { border-left: 0; }
  .thanh-day a span { font-size: 17px; line-height: 1; }
  .thanh-day a:hover { color: var(--xanh); text-decoration: none; }
  body { padding-bottom: 62px; }
  .nut-noi { display: none; }
}
