
/* FORCE CENTER GRID (HubSpot-safe) */
.product-grid {
  width: 100%;
  max-width: 1100px;   /* สำคัญมาก */
  margin-left: auto !important;
  margin-right: auto !important;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
justify-content: center !important;
}
.kz-tabs .tab-buttons .button-secondary {
    background-color: #f57423;
    border-color: #f57423;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    min-width: 165px;
    padding: 8px 20px;
    background: #f57423;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 100px;
    transition: .3s;
}
.kz-tabs .tab-buttons .button-primary {
    background-color: rgba(51, 149, 250, 1.0);
    border-color: rgba(#null,0.0);
    color: rgba(255, 255, 255, 1.0);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    min-width: 165px;
    padding: 8px 20px;
    background: #3395fa;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 100px;
    transition: .3s;
}
/* =========================
   TAB NAV – FINAL FIX
========================= */

.kz-tabs .nav-tabs {
  display: inline-flex;
  justify-content: center;
  align-items: stretch;

  border: 1px solid #dadada;
  border-radius: 12px;
  overflow: hidden;

  margin: 0 auto 40px;
  padding: 0;
position: relative;

}

/* li = column */
.kz-tabs .nav-tabs > li {
  display: flex;
  align-items: stretch;

  margin: 0;
  float: none;
}

/* divider (เส้นกลางต่อเต็ม) */
.kz-tabs .nav-tabs > li:not(:last-child) {
  border-right: 1px solid #dadada;
}

/* a = full height */
.kz-tabs .nav-tabs > li > a {
  min-width: 190px;
  height: 44px;

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

  padding: 0 10px;
  margin: 0;

  background: #fff;
  color: #5b8def;

  font-weight: 600;
  line-height: 1;          /* 🔑 แก้ text ลอย */
  border: none !important;
  border-radius: 0;
}

/* active */
.kz-tabs .nav-tabs > li.active > a,
.kz-tabs .nav-tabs > li.active > a:hover,
.kz-tabs .nav-tabs > li.active > a:focus {
  background-color: #5b8def;
  color: #fff;
}

/* hover */
.kz-tabs .nav-tabs > li:not(.active) > a:hover {
  background-color: rgba(91,141,239,0.08);
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.kz-tabs .flex {
  display: flex;
  flex-flow: row;
  flex-wrap: wrap;
  align-items: center;
  margin-right: -12px;
  margin-left: -12px;
}

.kz-tabs .flex .col {
  flex: 1;
  padding: 20px 12px;
}
/* 🔁 SWITCH LEFT / RIGHT */ .kz-tabs .flex.flex--left-image { flex-direction: row-reverse !important; } /* column */ .kz-tabs .flex .col { flex: 1; padding: 20px 12px; }
.kz-tabs .tagline-wrap {
  display: flex;
  flex-flow: row;
  flex-wrap: wrap;
  align-items: center;
}

.kz-tabs .tagline-wrap .tagline-line {
  width: 30px;
  height: 2px;
font-weight: bold;
}

.kz-tabs .fade {
  opacity: 0;
  -webkit-transition: opacity 0.15s linear;
  -o-transition: opacity 0.15s linear;
  transition: opacity 0.15s linear;
}

.kz-tabs .fade.in {
  opacity: 1;
}

.kz-tabs .tab-content > .tab-pane {
  display: none;
}

.kz-tabs .tab-content > .active {
  display: block;
}

.kz-tabs .tab-content > .tab-pane .tagline-wrap {
  justify-content: flex-start;
}

@media (max-width: 767px) {

  .kz-tabs .flex .col {
    flex: 0 0 100%;
}

@media (max-width: 479px) 
{
  
  .kz-tabs .nav-tabs li a {
    width: 100%;
  }
  
  .kz-tabs .nav-tabs .list-inline-item {
    display: block;
  }
  
  .kz-tabs .nav-tabs .list-inline-item:not(:last-child) {
    margin-right: 0;
  }
  
}
.kz-tabs .flex.flex--left-image {
  flex-direction: row-reverse;
}