a:where(:not(.wp-element-button)){
  text-decoration: none !important;
}
.absolute-footer {
  display: none;
}
.section {
  display: block;
}
.custom-short-description{
	font-weight: 600;

}
.indexdiv2 {
    width: 100%;
    height: auto;
    padding: 60px 0;
    background: url(/wp-content/uploads/2025/07/indexdiv3bj.webp) center top no-repeat #fff;
    background-size: 100% auto;
    display: block !important;
}
.indextt {
    width: 100%;
    height: auto;
    float: left;
    text-align: center;
    background: url(/wp-content/uploads/2025/07/indextttb.webp) center bottom no-repeat;
    padding-bottom: 15px;
    margin-bottom: 35px;
}
.document_width {
    width: 1560px;
    box-sizing: border-box;
    margin: auto;
}
.indextt span {
    width: 100%;
    height: 120px;
    line-height: 120px;
    font-size: 120px;
    font-weight: bold;
    float: left;
    text-align: center;
    text-shadow: -1px 1px 0 rgba(0, 0, 0, 0.1), 1px 1px 0 rgba(0, 0, 0, 0.1);
    color: #fff;
}
.indextt strong {
    width: 100%;
    height: 120px;
    line-height: 120px;
    font-size: 60px;
    color: #1d2c38;
    margin-top: -120px;
    float: left;
    text-align: center;
    font-weight: bold;
}

.business-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  transition: all 0.3s ease;
}

.card-image {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  display: block;
  border-radius: 20px 20px 0 0;
}

/* Overlay */
.card-overlay {
  position: absolute;
  inset: 0;
  background-color: #0099ff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.3s ease;
  border-radius: 20px 20px 0 0;
}

.business-card:hover .card-overlay {
  opacity: 1;
  transform: translateY(0);
}

.overlay-content {
  text-align: left;
}

.overlay-content h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #fff;
}

.overlay-content p {
  font-size: 14px;
  margin-bottom: 20px;
  max-width: 340px;
}

.overlay-btn {
  width: 44px;
  height: 44px;
  border: 2px solid #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  cursor: pointer;
}

.overlay-btn:hover {
  background: #fff;
  color: #0099ff;
}

/* Text below */
.card-text {
  padding-top: 20px;
  text-align: left;
}

.card-text h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 10px;
}

.card-text p {
  font-size: 12px;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.5;
}

.card-btn {
  width: 44px;
  height: 44px;
  background-color: #0099ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.card-btn:hover {
  background-color: #0077cc;
}

.text-star p.pg {
    width: 100%;
    height: auto;
    float: left;
    font-size: 20px;
    margin-top: 8px;
    color: #333;
    line-height: 26px;
    padding-left: 25px;
    background: url(/wp-content/uploads/2025/07/iprotb.webp) left 4px no-repeat;
    background-size: 20px auto;
}


/*CSS blog*/
/* Container chung */
.blog-nav {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  margin-bottom: 2rem;
}
.blog-nav__inner {
  display: flex;
  align-items: center;
  max-width: 1200px; /* tuỳ chỉnh container width */
  margin: 0 auto;
  padding: 0.5rem 1rem;
}

/* Logo */
.blog-nav__logo img {
  max-height: 40px;
  width: auto;
}

/* Tabs */
.blog-nav__tabs {
  width: 100%;               /* cho full container */
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  justify-content: space-between;  /* dồn về trái */
  gap: 1rem;                    /* khoảng cách giữa các tab */
  overflow: hidden;             /* ẩn các mục nằm ngoài */
  scroll-behavior: smooth;
}
.blog-nav__tabs li {
  flex: 0 0 auto;        /* không co dãn, chỉ bám theo nội dung */
  position: relative;
}
.blog-nav__tabs a {
  display: block;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  color: #036;              /* màu chữ tab thường */
  font-weight: 500;
  transition: color .2s;
      align-items: center;
    justify-content: center;
    display: flex
;
}
.blog-nav__tabs .hidden-cat {
  display: none;
}
.blog-nav__tabs .view-more{
    flex: 0 0 auto;
}
.blog-nav__tabs.expanded {
  overflow-x: auto;      /* cho phép scroll ngang */
}
.blog-nav__tabs.expanded .hidden-cat {
  display: block;        /* hiện tất cả tab */
}
.blog-nav__tabs.expanded .view-more {
  display: none;         /* ẩn nút Xem thêm */
}
/* Thanh cuộn mượt trên iOS */
.blog-nav__tabs.expanded {
  -webkit-overflow-scrolling: touch;
}

/* style scrollbar (tùy chỉnh nếu cần) */
.blog-nav__tabs.expanded::-webkit-scrollbar {
  height: 6px;
}
.blog-nav__tabs.expanded::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.2);
  border-radius: 3px;
}

.blog-nav__tabs a:hover {
  color: #00B159;           /* màu hover */
}

/* Active tab */
.blog-nav__tabs li.active a {
  color: #00B159;           /* màu chữ active */
}
.blog-nav__tabs li.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 80%;
  height: 3px;
  background: #00B159;      /* màu underline */
  border-radius: 2px 2px 0 0;
}

.archive-page-header{
  display: none;
}


.box-text-bottom .box-image {
  border-radius: 20px;
}
.box-text-bottom .box-text {
  padding: 20px;
}
.post-item .col-inner {
  border: 1px solid #ddd;
  border-radius: 20px;
}
/* Hover nâng nhẹ toàn bộ khung .post-item */
.post-item .col-inner {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.post-item .col-inner:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}
.comments-area{
  display: none;
}


/*CSS form liên hệ*/
/* ----- Cấu trúc chung của CF7 form ----- */
.wpcf7 .form-row {
  box-sizing: border-box;
}

/* Flex container cho 2 cột */
.wpcf7 form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 auto;
}

/* Mỗi .form-row-half chiếm 50% trừ khoảng gap */
.wpcf7 .form-row-half {
  width: calc(50% - 10px);
}

/* Dòng full-width */
.wpcf7 .form-row-full {
  width: 100%;
}

/* Label */
.wpcf7 label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

/* Input chung (text, email, tel) và textarea */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  padding: 25px 16px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
  transition: border-color .2s;
}

/* Focus state */
.wpcf7 input:focus,
.wpcf7 textarea:focus {
  border-color: #0099ff;
}

/* Chiều cao textarea */
.wpcf7 textarea {
  min-height: 130px;
  resize: vertical;
}

/* CAPTCHA row: hình + input nằm cạnh */
.wpcf7 .captcha-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Đảm bảo hình CAPTCHA không quá cao */
.wpcf7 .captcha-row img {
  max-height: 42px;
  object-fit: contain;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Submit button căn giữa */
.wpcf7 .form-footer {
  width: 100%;
  text-align: center;
  margin-top: 10px;
}

.wpcf7 .form-footer input[type="submit"] {
  background-color: #0099ff;
  color: #fff;
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color .2s;
}

.wpcf7 .form-footer input[type="submit"]:hover {
  background-color: #007acc;
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
  .wpcf7 .form-row-half,
  .wpcf7 .form-row-full {
    width: 100%;
  }
}


/* Sidebar */

.taxonomy-product_container{
  padding-top: 50px;
}
.shop-sidebar {
  background: #f5f8ff;
  padding: 1em;
}
.sidebar-parent {
  background: #002b5f;
  color: #fff;
  padding: 0.75em;
  text-align: center;
  margin-bottom: 0.5em;
}
.sidebar-parent a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.sidebar-children {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sidebar-children li {
  margin-bottom: 0.25em;
}
.sidebar-children li a {
  display: block;
  padding: 0.5em;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
}
.sidebar-children li.active a,
.sidebar-children li a:hover {
  background: #cce4f6;
  color: #002b5f;
  font-weight: 600;
}

/* Specs table */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
}
.spec-table th,
.spec-table td {
  padding: 0.75em 1em;
  border: 1px solid #ddd;
  text-align: center;
}
.spec-table thead {
  background: #002b5f;
  color: #fff;
  text-transform: uppercase;
}
.spec-table tr:nth-child(even) {
  background: #f5f8ff;
}
.prod-thumb img {
  max-width: 50px;
  height: auto;
}

@media (max-width: 767px) {
.blog-nav__logo img {
    max-height: 100px;
    width: auto;
}
  /* 1.1. Bố cục: đưa sidebar xuống dưới bảng,
         cả hai chiếm 100% chiều ngang */
  .shop-sidebar {
    order: 2;                    /* xuống dưới */
    margin-top: 2rem;
  }
  .shop-sidebar .sidebar-parent {font-size: 1rem;}
  .sidebar-children li a {padding: .65em .75em;}

  /* 1.2. Bảng: cho phép cuộn ngang mượt */
  /* Nếu bạn GIỮ nguyên <table class="spec-table">:
     => chỉ cần overflow-x:auto, white-space:nowrap  */
  .spec-table {
    display: block;              /* biến bàn thành khối để cuộn */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* mượt iOS */
    width: 100%;
  }

  /* Giữ cột không bị xuống hàng */
  .spec-table th,
  .spec-table td {
    white-space: nowrap;
    padding: .65em .75em;
    font-size: .875rem;
  }

  /* Ẩn bớt padding header cho gọn */
  .spec-table thead {font-size: .8rem;}

  /* 1.3. (Tuỳ chọn) Thu nhỏ ảnh trong bảng trên mobile */
  .prod-thumb img {max-width: 40px;}
}

/* ============== 2. Tablet 768-991 px ============== */
@media (min-width: 768px) and (max-width: 991px) {

  /* Hơi thu gọn text/padding để vừa khung */
  .spec-table th,
  .spec-table td {padding: .75em;}
  .prod-thumb img {max-width: 45px;}
}


/*CSS prodcut summary*/
.product_categories { margin-bottom: .5em; font-size: .9em; color: #666; font-weight: 600;}

.product-cta-buttons .btn-datasheet,
.product-cta-buttons .btn-quote {
  display: inline-block;
  margin-right: .5em;
  padding: .6em 1.8em;
  border-radius: 50px;
  text-decoration: none;
}
.btn-datasheet { background: #0069d9; color: #fff; }
.btn-quote     { background: #009773; color: #fff; }

.xem-them-wrap a{
  border-radius: 30px;
}
/* ------------------------------------------
   1. Cho layout nút trên tablet (dưới 1024px)
   ------------------------------------------ */
@media (max-width: 1024px) {
  .product-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5em;
  }
  .product-cta-buttons .button {
    flex: 1 1 45%;
    margin: 0; /* gap đã lo rồi */
    min-width: 120px;
  }
}

/* ------------------------------------------
   2. Cho layout trên mobile (dưới 768px)
   ------------------------------------------ */
@media (max-width: 768px) {
  /* Gallery & summary chồng lên nhau full-width */
  .row.content-row.mb-0 > .product-gallery,
  .row.content-row.mb-0 > .product-info {
    width: 100% !important;
    display: block;
  }

  /* Căn giữa text */
  .product_title.entry-title,
  .product_categories,
	.custom-short-description{
    text-align: center;
  }
.custom-short-description{

	    padding: 0 1em 0 1em;
}
  /* Giảm font, padding summary cho gọn */
  .product_categories {
    font-size: 0.85rem;
    margin-bottom: 0.5em;
  }
  .product_excerpt {
    font-size: 0.95rem;
    margin: 1em auto;
    max-width: 90%;
  }

  /* Nút xếp dọc full-width */
  .product-cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-width: 100%;
    padding: 0 10px;
  }
  .product-cta-buttons .button {
    width: 100%;
    margin: 0 0 0.75em;
  }
  .product-cta-buttons .button:last-child {
    margin-bottom: 0;
  }
}


@media only screen and (max-width: 460px) {
    .indextt strong {
        height: 50px;
        line-height: 50px;
        font-size: 26px;
        margin-top: -50px;
    }
        .indextt span {
        height: 50px;
        line-height: 50px;
        font-size: 50px;
    }
    .overlay-content h3{
      font-size: 15px;
    }
    .overlay-content p {
      font-size: 13px;
    }
    .overlay-btn{
          width: 33px;
    height: 33px;
    }
}


/* Cho nav cố định ở đầu viewport khi cuộn */
.blog-nav {
  position: sticky;
  top: 100px;
  z-index: 1000;            /* đảm bảo nằm trên nội dung khác */
  background-color: #fff;   /* tránh trong suốt khi cuộn */
  /* nếu cần chiều rộng full container: */
  width: 100%;
  /* optional: thêm đổ bóng */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Nếu bạn muốn nội dung phía dưới không bị đè lên nav thì
   thêm padding-top tương ứng cho vùng post-list */
#post-list {
  padding-top: 0px; /* điều chỉnh cho bằng đúng cao của .blog-nav */
}
