/**
 * T-Connect Smart Package page styles
 */

.tconnect-page-content--smart h1,
.tconnect-page-content--smart h2,
.tconnect-page-content--smart h3,
.tconnect-page-content--smart h4,
#leftcolumn h2,
#leftcolumn h2 a {
  font-family: "DBHelvethaicaX-Reg", sans-serif !important;
}

.tconnect-page-content--smart {
  color: rgb(23, 55, 104);
}

/* ---- In-page nav ---- */
.smart-top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  font-size: 20px;
  line-height: 1.4;
}

.smart-top-nav a {
  display: inline-block;
  padding: 6px 12px;
  background: #f3f6fa;
  border: 1px solid #e8eef5;
  border-radius: 4px;
  color: rgb(23, 55, 104);
  text-decoration: none !important;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.smart-top-nav a:hover,
.smart-top-nav a:focus {
  background: #e8eef5;
  border-color: rgb(80, 135, 198);
  outline: none;
}

.smart-table-scroll-hint {
  display: none;
  margin: 0 0 10px;
  font-size: 18px;
  color: rgb(80, 135, 198);
  text-align: center;
}

/* ---- Hero ---- */
.smart-hero {
  position: relative;
  margin: 0 -15px 30px;
  padding: 0;
  background: none;
  border-radius: 4px;
  overflow: hidden;
  line-height: 0;
}

.smart-hero::before {
  display: none;
}

.smart-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 100%;
}

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

.smart-hero__banner {
  display: block;
  width: 100%;
  height: auto;
}

.smart-hero__subtitle {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 28px;
  font-weight: bold;
  line-height: 1.35;
}

.smart-hero__visual {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 220px;
  opacity: 0.9;
}

/* ---- Intro ---- */
.smart-intro {
  margin-bottom: 36px;
}

.smart-intro p {
  font-size: 24px;
  line-height: 1.55;
  margin: 0 0 14px;
}

.smart-intro__title {
  display: block;
  margin-bottom: 8px;
  font-size: 34px;
  font-weight: bold;
  color: rgb(80, 135, 198);
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.smart-intro__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.smart-intro__tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: #f3f6fa;
  border: 1px solid #bdc2c8;
  border-radius: 24px;
  font-size: 20px;
  font-weight: bold;
  color: rgb(23, 55, 104);
}

.smart-intro__tag--premium {
  background: #173768;
  border-color: #173768;
  color: #fff;
}

/* ---- Package cards ---- */
.smart-packages {
  margin-bottom: 40px;
}

.smart-packages__heading {
  font-size: 30px;
  font-weight: bold;
  color: rgb(80, 135, 198);
  margin: 0 0 0;
}

.smart-packages__description {
  font-size: 22px;
  font-weight: bold;
  color: rgb(23, 55, 104);
  margin: 0 0 20px;
}

.smart-packages__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 12px;
  align-items: stretch;
}

.smart-package-card {
  background: #fff;
  border: 1px solid #d5dbe3;
  border-radius: 10px;
  padding: 16px 14px 14px;
  box-sizing: border-box;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.smart-package-card:hover {
  box-shadow: 0 8px 24px rgba(23, 55, 104, 0.12);
}

.smart-package-card--smart .smart-package-card__name {
  background: linear-gradient(180deg, #e8e8ea 0%, #c4c4c6 42%, #8f97a3 100%);
  color: #fff;
}

.smart-package-card--smart .smart-package-card__list li::before {
  color: #173768;
}

.smart-package-card--connect {
  border: 3px solid #e8951c;
  background: linear-gradient(180deg, #fffbf5 0%, #fff 100%);
  position: relative;
  overflow: hidden;
}

.smart-package-card--connect .smart-package-card__name {
  background: linear-gradient(180deg, #f6c63c 0%, #e8b01c 48%, #d0940e 100%);
  color: #fff;
  text-shadow: 0 1px 1px rgba(140, 90, 0, 0.28);
}

.smart-package-card--connect .smart-package-card__list li::before {
  color: #e8951c;
}

.smart-package-card--connect::before {
  content: "แนะนำ";
  position: absolute;
  top: 10px;
  right: -48px;
  width: 140px;
  background: #e2231a;
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  padding: 5px 0;
  line-height: 1.2;
  transform: rotate(45deg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  z-index: 2;
}


.smart-package-card--max {
  border: 3px solid #6d35b0;
  background: linear-gradient(180deg, #f8f1fc 0%, #fff 100%);
}

.smart-package-card--max .smart-package-card__name {
  background: linear-gradient(180deg, #b07adf 0%, #6d35b0 100%);
  color: #fff;
}

.smart-package-card--max .smart-package-card__list li::before {
  color: #6d35b0;
}

.smart-package-card--max .smart-package-card__price--pending {
  color: rgb(23, 55, 104);
  font-size: 18px;
  font-weight: bold;
}

.smart-package-card--lite .smart-package-card__name {
  background: linear-gradient(180deg, #5ac9de 0%, #2a96c8 52%, #0e64b8 100%);
  color: #fff;
}

.smart-package-card--lite .smart-package-card__list li::before {
  color: #5087c6;
}

.smart-package-card__name {
  margin: 0;
  width: fit-content;
  max-width: 100%;
  padding: 6px 28px;
  border-radius: 999px;
  font-size: 26px;
  font-weight: bold;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  box-shadow: 0 2px 6px rgba(23, 55, 104, 0.18);
}

.smart-package-card__badge {
  display: inline-block;
  margin: 0;
  padding: 4px 10px;
  background: #f3f6fa;
  border-radius: 4px;
  font-size: 16px;
  font-weight: bold;
  color: rgb(80, 135, 198);
  align-self: center;
  max-width: 100%;
  line-height: 1.35;
  border-radius: 8px;
}

.smart-package-card__badge--premium {
  background: #173768;
  color: #fff;
}

.smart-package-card__badge--core {
  background: #e8eef5;
  color: rgb(23, 55, 104);
}

.smart-package-card__price {
  margin: 0;
  width: 100%;
  font-size: 24px;
  font-weight: bold;
  color: #e8951c;
  text-align: left;
  line-height: 1.15;
}

.smart-package-card__price-note {
  display: inline;
  font-size: 16px;
  font-weight: normal;
  color: rgb(80, 135, 198);
  margin-left: 4px;
  line-height: 1.15;
}

.smart-package-card__desc {
  margin: 0;
  width: 100%;
  font-size: 20px;
  line-height: 1.15;
  text-align: left;
}

.smart-package-card__list,
#contentwrapper .smart-package-card__list {
  margin: 0;
  padding: 0;
  width: 100%;
  list-style: none;
  text-align: left;
}

.smart-package-card__list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 2px;
  font-size: 19px;
  line-height: 1.15;
}

.smart-package-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: rgb(80, 135, 198);
  font-weight: bold;
}

.smart-packages__notes {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.45;
  color: rgb(23, 55, 104);
}

.smart-packages__notes p {
  margin: 0 0 6px;
}

.smart-packages__notes-label {
  font-size: 18px;
  font-weight: bold;
}

@supports not (grid-template-rows: subgrid) {
  .smart-packages__grid {
    grid-template-rows: none;
    gap: 16px;
  }

  .smart-package-card {
    display: flex;
    flex-direction: column;
    grid-row: auto;
  }

  .smart-package-card__badge {
    min-height: 0;
    display: inline-flex;
    align-items: center;
  }

  .smart-package-card__price {
    min-height: 0;
  }

  .smart-package-card__desc {
    min-height: 0;
  }
}

/* ---- Comparison table (TCFR+ style) ---- */
@font-face {
  font-family: "DB Heavent";
  src: url("../fonts/DBHeavent/DB_Heavent.woff") format("woff"),
       url("../fonts/DBHeavent/DB_Heavent.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DB Heavent Md";
  src: url("../fonts/DBHeavent/DB_Heavent_Med.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DB Heavent Bd";
  src: url("../fonts/DBHeavent/DB_Heavent_Bd.woff") format("woff"),
       url("../fonts/DBHeavent/DB_Heavent_Bd.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.smart-table-section {
  margin-bottom: 40px;
  background: #f3f6fa;
  margin-left: -15px;
  margin-right: -15px;
  padding: 32px 15px;
}

.smart-table-section__heading {
  font-size: 30px;
  font-weight: bold;
  color: rgb(80, 135, 198);
  margin: 0 0 20px;
  text-align: center;
}

.smart-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

.smart-table {
  --smart-blue: #0070c1;
  --smart-blue-500: #0f64af;
  --smart-blue-border: #0f64af;
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  border-spacing: 0;
  background: #0070c1;
  border: 2px solid #0f64af;
  border-radius: 16px;
  overflow: hidden;
  padding: 1px;
  table-layout: fixed;
  font-family: "DB Heavent", "DBHelvethaicaX-Reg", sans-serif;
  color: #173768;
}

.smart-table col.smart-table__col-feature {
  width: 48%;
}

.smart-table col.smart-table__col-plan {
  width: 13%;
}

.smart-table th,
.smart-table td {
  padding: 8px 4px;
  font-size: 20px;
  line-height: 1.35;
  text-align: center;
  border: 2px solid #0f64af;
  vertical-align: middle;
  background: #fff;
  font-family: "DB Heavent", "DBHelvethaicaX-Reg", sans-serif;
}

.smart-table thead th {
  font-family: "DB Heavent Md", "DB Heavent", sans-serif;
  font-weight: normal;
  font-size: 20px;
  color: #fff;
  vertical-align: middle;
  padding: 8px;
  text-transform: uppercase;
}

.smart-table thead th.smart-table__col-feature,
.smart-table thead th.smart-table__corner {
  background: #0f64af;
  color: #fff;
  text-align: left;
  vertical-align: top;
  padding: 0;
  text-transform: none;
  position: relative;
}

.smart-table__box-head {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #1e73c4;
  padding: 6px 8px;
  box-sizing: border-box;
}

.smart-table__box-head::after {
  content: "";
  position: absolute;
  left: -4%;
  bottom: 0;
  width: 200%;
  height: 266%;
  background-color: #103a70;
  border-radius: 50%;
  pointer-events: none;
}

.smart-table__corner-top {
  position: absolute;
  z-index: 1;
  top: 6px;
  right: 8px;
  display: block;
  text-align: right;
  font-family: "DB Heavent Md", "DB Heavent", sans-serif;
  font-size: 20px;
  font-weight: normal;
  line-height: 1.25;
  color: #fff;
}

.smart-table__corner-label {
  position: absolute;
  z-index: 1;
  bottom: 6px;
  left: 8px;
  display: block;
  margin-top: 0;
  font-family: "DB Heavent Md", "DB Heavent", sans-serif;
  font-size: 20px;
  font-weight: normal;
  line-height: 1.3;
  color: #fff;
}

.smart-table thead th.smart-table__col-smart {
  background: linear-gradient(180deg, #d0d0d0 0%, #8d8d8d 100%);
}

.smart-table thead th.smart-table__col-connect {
  background: linear-gradient(180deg, #ffe566 0%, #f0b400 100%);
  color: #1a1a1a;
  position: relative;
}

.smart-table thead th.smart-table__col-max {
  background: linear-gradient(180deg, #b07adf 0%, #6d35b0 100%);
}

.smart-table thead th.smart-table__col-lite {
  background: linear-gradient(180deg, #4ec4ea 0%, #1576c4 100%);
}

.smart-table__plan-name {
  display: block;
  font-family: "DB Heavent Bd", "DB Heavent", sans-serif;
  font-size: 22px;
  font-weight: normal;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.smart-table__plan-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.smart-table__plan-star {
  display: block;
  width: 20px;
  height: 20px;
  line-height: 0;
  flex: none;
}

.smart-table__plan-star svg {
  display: block;
  width: 100%;
  height: 100%;
}

.smart-table thead th.smart-table__col-connect,
.smart-table thead th.smart-table__note-connect,
.smart-table td.smart-table__cell-connect {
  box-shadow: inset 5px 0 0 #a86b0a, inset -5px 0 0 #a86b0a;
}

.smart-table thead tr.smart-table__plan-note-row th {
  font-family: "DB Heavent", sans-serif;
  font-size: 17px;
  font-weight: normal;
  line-height: 1.35;
  text-transform: none;
  color: #173768;
  padding: 8px;
}

.smart-table__note-smart {
  background: #c7cfd3 !important;
  color: #173768 !important;
}

.smart-table__note-connect {
  background: #fede98 !important;
  color: #173768 !important;
}

.smart-table__note-max {
  background: #ead8f8 !important;
  color: #173768 !important;
}

.smart-table__note-pending {
  display: block;
  margin-top: 6px;
  padding: 6px 8px;
  background: #f6effb;
  border: 1px solid #d7b6ea;
  border-radius: 4px;
  color: #173768;
  line-height: 1.3;
}

.smart-table__note-lite {
  background: #a9daf7 !important;
  color: #173768 !important;
}

.smart-table__row td.smart-table__feature,
.smart-table tbody td.smart-table__feature {
  text-align: left;
  font-family: "DB Heavent Bd", "DB Heavent", sans-serif;
  font-weight: normal;
  font-size: 20px;
  background: #fff;
  color: #173768;
  white-space: normal;
  padding: 8px 12px;
}

.smart-table__row td:not(.smart-table__feature) {
  padding: 8px;
}

.smart-table .smart-table__label-th {
  font-family: "DB Heavent Bd", "DB Heavent", sans-serif;
  font-size: 22px;
  font-weight: normal;
}

.smart-table .smart-table__label-en {
  font-family: "DB Heavent Bd", "DB Heavent", sans-serif;
  font-size: 22px;
  font-weight: normal;
  letter-spacing: 0.01em;
}

.smart-table__section .smart-table__label-th {
  font-size: 32px;
}

.smart-table tr.smart-table__section--premium th {
  background: linear-gradient(90deg, #fff6dc 0%, #ffe9b0 100%) !important;
  color: #173768;
}

.smart-table__section-icon {
  display: inline-block;
  width: 34px;
  height: 26px;
  margin-left: 10px;
  vertical-align: -4px;
  line-height: 0;
}

.smart-table__section-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.smart-table__section .smart-table__label-en {
  font-size: 24px;
}

.smart-table__subsection .smart-table__label-th {
  font-size: 26px;
}

.smart-table__subsection .smart-table__label-en {
  font-size: 22px;
}

.smart-table__feature--group {
  font-family: "DB Heavent Bd", "DB Heavent", sans-serif;
  background: #fafafa;
}

.smart-table__section th {
  background: #0f64af !important;
  color: #fff;
  text-align: left;
  font-family: "DB Heavent Md", "DB Heavent", sans-serif;
  font-size: 20px;
  font-weight: normal;
  letter-spacing: 0.02em;
  padding: 10px 12px;
  border-color: #0f64af;
  white-space: nowrap;
}

.smart-table__subsection th {
  text-align: left;
  font-family: "DB Heavent Md", "DB Heavent", sans-serif;
  font-size: 18px;
  font-weight: normal;
  padding: 8px 12px;
  border-color: #0f64af;
  white-space: normal;
}

.smart-table__subsection--care th {
  background: #e1f5fe !important;
  color: #00838f;
}

.smart-table__subsection--lifestyle th {
  background: #f3e5f5 !important;
  color: #8e24aa;
}

.smart-table__subsection--safety th {
  background: #e8f5e9 !important;
  color: #2e7d32;
}

.smart-table__subsection--insight th {
  background: #e3f2fd !important;
  color: #1565c0;
}

.smart-table__subsection--exclusive th {
  background: #fff3e0 !important;
  color: #e65100;
}

.smart-table__exclusive-title-row td,
.smart-table__exclusive-group-row td {
  border-top: 2px solid #0f64af;
}

.smart-table__feature--exclusive-title,
.smart-table__feature--exclusive-group {
  color: #e65100;
  font-family: "DB Heavent Bd", "DB Heavent", sans-serif;
  background: #fff;
  white-space: normal;
}

.smart-table__label-sub {
  font-size: 16px;
  font-weight: normal;
}

.smart-table__subsection--exclusive .smart-table__label-sub {
  font-size: 16px;
}

.smart-table tbody td.smart-table__feature.smart-table__feature--exclusive-group-toyota {
  color: #e8951c;
  font-family: "DB Heavent Bd", "DB Heavent", sans-serif;
}

.smart-table__feature--with-media {
  white-space: normal;
  vertical-align: top;
  font-family: "DB Heavent", sans-serif;
}

.smart-table__feature-text {
  display: block;
  white-space: normal;
  font-family: "DB Heavent Bd", "DB Heavent", sans-serif;
}

.smart-table__feature-media {
  display: block;
  margin-top: 10px;
  text-align: center;
}

.smart-table__partners-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
}

.smart-table__partners-img--deal {
  max-width: 640px;
}

.smart-table__partner-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 28px;
}

.smart-table__partner-logo {
  display: block;
  width: auto !important;
  max-width: 140px !important;
  height: 36px !important;
  object-fit: contain;
}

.smart-table__partner-logo--central {
  height: 22px !important;
  max-width: 180px !important;
}

.smart-table__partner-logo--ptt {
  height: 40px !important;
}

.smart-table__partner-logo--holiday {
  height: 48px !important;
}

.smart-table__partner-logo--togeta,
.smart-table__partner-logo--amazon {
  height: 52px !important;
}

.smart-table__partner-logo--inthanin {
  height: 36px !important;
  max-width: 160px !important;
}

.smart-table__partner-logo--mcdonalds {
  height: 40px !important;
}

.smart-table__partners-img--monthly {
  max-width: 360px;
}

.smart-table__preview-link {
  display: inline-block;
  padding: 0;
  border: 1px solid #d8dde3;
  border-radius: 4px;
  background: #fff;
  cursor: zoom-in;
  line-height: 0;
  flex-shrink: 0;
  text-decoration: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.smart-table__preview-link:hover,
.smart-table__preview-link:focus {
  border-color: rgb(80, 135, 198);
  box-shadow: 0 2px 8px rgba(23, 55, 104, 0.15);
  outline: none;
}

.smart-table__preview {
  display: block;
  height: 72px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  object-position: left bottom;
  flex-shrink: 0;
}

.smart-table__logo--ptt {
  height: 44px;
  max-width: 100px;
  background-color: #fff;
}

.smart-table__feature--logos {
  padding-top: 8px;
  padding-bottom: 8px;
}

.smart-table__exclusive-coupon-row td:not(.smart-table__feature) {
  vertical-align: top;
}

.smart-table__exclusive-logos-row td:not(.smart-table__feature) {
  vertical-align: middle;
}

.smart-table__group td {
  background: #fafafa;
  border-top: 2px solid #0f64af;
}

.smart-table td.smart-table__cell-smart {
  background: #f4f5f5;
}

.smart-table td.smart-table__cell-connect {
  background: linear-gradient(90deg, #fff8e7 0%, #ffe29a 45%, #f5b84a 100%);
}

.smart-table td.smart-table__cell-max {
  background: linear-gradient(90deg, #f8f1fc 0%, #e4c8f5 45%, #c48ae0 100%);
}

.smart-table__cell-max-note {
  font-family: "DB Heavent Bd", "DB Heavent", sans-serif;
  font-size: 16px;
  line-height: 1.3;
  color: #173768;
}

.smart-table td.smart-table__cell-lite {
  background: linear-gradient(90deg, #eef8ff 0%, #9fd0f5 45%, #4a9fe0 100%);
}

.smart-table__icon-img {
  display: block;
  width: 26px;
  height: 26px;
  object-fit: contain;
  margin: 0 auto;
}

.smart-table__dash {
  display: block;
  font-family: "DB Heavent", sans-serif;
  font-size: 20px;
  line-height: 1;
  color: #173768;
  text-align: center;
}

.smart-table__logos {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.smart-table__logo {
  display: inline-block;
  height: 36px;
  width: auto;
  max-width: 72px;
  object-fit: contain;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ---- Feature highlights ---- */
.smart-features {
  margin-bottom: 40px;
}

.smart-features__heading {
  font-size: 30px;
  font-weight: bold;
  color: rgb(80, 135, 198);
  margin: 0 0 8px;
}

.smart-features__sub {
  font-size: 22px;
  margin: 0 0 12px;
  color: rgb(23, 55, 104);
}

.smart-features__intro {
  font-size: 22px;
  margin: 0 0 20px;
  color: rgb(23, 55, 104);
  line-height: 1.5;
}

.smart-services-overview {
  margin-bottom: 32px;
  padding: 16px;
  background: #fff;
  border: 1px solid #e0e5eb;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(23, 55, 104, 0.07);
}

.smart-services-overview__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}

.smart-services-category {
  display: flex;
  flex-direction: column;
  padding: 0 24px;
}

.smart-services-category--safety {
  border-right: 1px solid #e8eef5;
  padding-left: 0;
}

.smart-services-category--insight {
  padding-right: 0;
}

.smart-services-category__header {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 80px;
  margin-bottom: 20px;
}

.smart-services-category__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  flex-shrink: 0;
}

.smart-services-category--safety .smart-services-category__icon-wrap {
  background: linear-gradient(145deg, #e8f5e9 0%, #c8e6c9 100%);
  box-shadow: 0 2px 8px rgba(46, 125, 50, 0.15);
}

.smart-services-category--insight .smart-services-category__icon-wrap {
  background: linear-gradient(145deg, #e3f2fd 0%, #bbdefb 100%);
  box-shadow: 0 2px 8px rgba(80, 135, 198, 0.15);
}

.smart-services-category__icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.smart-services-category__heading {
  flex: 1;
  min-width: 0;
}

.smart-services-category__title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.smart-services-category--safety .smart-services-category__title {
  color: #2e7d32;
}

.smart-services-category--insight .smart-services-category__title {
  color: #5087c6;
}

.smart-services-category__tagline {
  margin: 0;
  font-size: 18px;
  color: #5a6a7e;
  line-height: 1.4;
}

.smart-services-category__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  padding-left: 0;
  margin-left: 0;
}
#contentwrapper ul.smart-services-category__list {
  padding-left: 13px;
  margin-left: 0;
}

.smart-services-category__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  background: #f7f9fc;
  border-radius: 30px 0 0 30px;
  border: 1px solid #eef2f6;
  font-size: 18px;
  line-height: 1.4;
  color: rgb(23, 55, 104);
  transition: background 0.15s ease;
}

.smart-services-category__list li:hover {
  background: #f0f4f8;
}

.smart-services-category__text {
  flex: 1;
  min-width: 0;
}

.smart-services-category__text strong {
  font-weight: bold;
  color: rgb(23, 55, 104);
}

.smart-services-category__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  flex-shrink: 0;
}

.smart-services-category--safety .smart-services-category__num {
  background: #43a047;
}

.smart-services-category--insight .smart-services-category__num {
  background: #5087c6;
}

.smart-services-overview__remark {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid #e8eef5;
  font-size: 16px;
  color: #8a96a3;
  line-height: 1.4;
}

.smart-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.smart-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #f3f6fa;
  border-radius: 8px;
  border: 1px solid #e8eef5;
}

.smart-feature-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
}

.smart-feature-item__title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: bold;
  color: rgb(23, 55, 104);
}

.smart-feature-item__desc {
  margin: 0;
  font-size: 20px;
  line-height: 1.45;
}

.smart-feature-item--always {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #f3f6fa 0%, #e8eef5 100%);
  padding: 28px 24px;
}

.smart-feature-item--always img {
  width: 120px;
  height: auto;
}

.smart-feature-item--always .smart-feature-item__title {
  font-size: 38px;
  letter-spacing: 0.05em;
}

.smart-feature-item--always .smart-feature-item__subtitle {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: bold;
  color: rgb(23, 55, 104);
}

/* ---- Note ---- */
.smart-note {
  margin-top: 30px;
  padding: 24px 96px 24px 24px;
  background: #fff;
  border-left: 4px solid #e8951c;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 8px rgba(23, 55, 104, 0.06);
}

.smart-note__title {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: bold;
  color: rgb(23, 55, 104);
}

.smart-note p {
  margin: 0;
  font-size: 22px;
  line-height: 1.5;
}

.smart-note p + p {
  margin-top: 8px;
}

/* ---- CTA ---- */
.smart-cta {
  margin-top: 32px;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 16px;
}

.smart-cta__btn {
  display: inline-block;
  padding: 14px 36px;
  background: #e8951c;
  color: #fff !important;
  font-size: 24px;
  font-weight: bold;
  text-decoration: none !important;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.smart-cta__btn--secondary {
  background: #173768;
}

.smart-cta__btn--secondary:hover {
  background: #2f5597;
}

.smart-cta__btn:hover {
  background: #d4840f;
  color: #fff;
}

/* PhotoSwipe (MIT) — above mobile header */
.pswp {
  z-index: 30000 !important;
}

.smart-steps {
  margin: 36px 0 28px;
}

.smart-steps__block {
  padding: 24px 28px 28px;
  background: #fff;
  border: 1px solid #e0e5eb;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(23, 55, 104, 0.06);
}

.smart-steps__block + .smart-steps__block {
  margin-top: 24px;
}

.smart-steps__title {
  margin: 0 0 6px;
  font-family: "DB Heavent Bd", "DB Heavent", sans-serif;
  font-size: 28px;
  font-weight: bold;
  color: rgb(23, 55, 104);
}

.smart-steps__lead {
  margin: 0 0 18px;
  font-size: 22px;
  line-height: 1.4;
  color: #333;
}

.smart-steps__alert {
  display: inline-block;
  margin: 4px 0 14px;
  padding: 8px 18px;
  background: #fff4e0;
  border-left: 4px solid #e8951c;
  border-radius: 0 6px 6px 0;
  font-size: 22px;
  line-height: 1.4;
  color: rgb(23, 55, 104);
}

.smart-steps__alert strong {
  color: #d4840f;
}

.smart-steps__method + .smart-steps__method {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px dashed #d5dce5;
}

.smart-steps__method-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: bold;
  color: rgb(23, 55, 104);
}

.smart-steps__method-badge {
  display: inline-block;
  padding: 2px 14px;
  background: #173768;
  color: #fff;
  border-radius: 999px;
  font-size: 20px;
}

.smart-steps__list,
#contentwrapper .smart-steps__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.smart-steps__list--subscribe,
#contentwrapper .smart-steps__list--subscribe {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.smart-steps__item,
#contentwrapper .smart-steps__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}

.smart-steps__item--wide {
  grid-column: span 3;
}

.smart-steps__shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  width: 100%;
}

.smart-steps__shot {
  position: relative;
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
}

.smart-steps__shot > img:first-child {
  display: block;
  width: 100%;
  height: auto;
  border: 6px solid #1f1f1f;
  border-radius: 24px;
  box-sizing: border-box;
  box-shadow: 0 6px 16px rgba(23, 55, 104, 0.18);
}

.smart-steps__mark {
  position: absolute;
  border: 2px solid #e60012;
  border-radius: 8px;
  box-sizing: border-box;
  pointer-events: none;
}

.smart-steps__mark--circle {
  border-radius: 50%;
}

.smart-steps__zoom {
  position: absolute;
  left: -6%;
  top: 58%;
  width: 112%;
  height: auto;
  border: 2px solid #e60012;
  border-radius: 8px;
  box-sizing: border-box;
  background: #fff;
  box-shadow: 0 6px 18px rgba(23, 55, 104, 0.3);
  pointer-events: none;
}

.smart-steps__tap {
  position: absolute;
  width: 26%;
  height: auto;
  transform: translate(-17%, -25%);
  pointer-events: none;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.25));
}

.smart-steps__caption {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 260px;
  margin: 16px 0 0;
  font-size: 21px;
  line-height: 1.35;
  color: #222;
}

.smart-steps__item--wide .smart-steps__caption {
  max-width: 520px;
}

.smart-steps__num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-top: -1px;
  background: #e8951c;
  color: #fff;
  border-radius: 50%;
  font-family: "DB Heavent Bd", "DB Heavent", sans-serif;
  font-size: 20px;
  line-height: 1;
}

.smart-steps__caption strong {
  color: #d4840f;
}

/* ---- Section headings ---- */
.smart-section-heading {
  font-size: 30px;
  font-weight: bold;
  color: rgb(80, 135, 198);
  margin: 0 0 16px;
}

/* ---- Services section (Core + Premium) ---- */
.smart-services-section {
  margin-bottom: 40px;
}

.smart-services-section__lead {
  font-size: 24px;
  font-weight: bold;
  color: rgb(23, 55, 104);
  margin: 0 0 24px;
}

.smart-services-tier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(4, auto);
  column-gap: 20px;
  row-gap: 0;
  margin-bottom: 0;
  padding-top: 28px;
  align-items: stretch;
}

.smart-services-tier {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  grid-column: span 1;
  border: 1px solid #e0e5eb;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 16px rgba(23, 55, 104, 0.06);
}

@supports not (grid-template-rows: subgrid) {
  .smart-services-tier-grid {
    grid-template-rows: none;
  }

  .smart-services-tier {
    display: flex;
    flex-direction: column;
    grid-row: auto;
    grid-column: auto;
  }
}

.smart-services-tier--core {
  border-top: 4px solid #1f8a4c;
}

.smart-services-tier--premium {
  position: relative;
  overflow: visible;
  border-top: 4px solid #c4a035;
}

.smart-services-tier__crown {
  position: absolute;
  top: -26px;
  left: 50%;
  z-index: 2;
  color: #e0b43a;
  transform: translateX(-50%);
  filter: drop-shadow(0 2px 2px rgba(160, 125, 18, 0.35));
}

.smart-services-tier__banner {
  padding: 12px 20px;
  background: linear-gradient(135deg, #e8f6ee 0%, #d4efdf 100%);
}

.smart-services-tier__banner--premium {
  background: linear-gradient(135deg, #fff8e6 0%, #f3e2a8 100%);
}

.smart-services-tier__label-en {
  display: block;
  margin-top: 2px;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: #5a6a7e;
  line-height: 1.2;
}

.smart-services-tier__label-th {
  display: block;
  font-size: 36px;
  font-weight: bold;
  color: #1f8a4c;
  line-height: 1.15;
}

.smart-services-tier--premium .smart-services-tier__label-th {
  color: #a07d12;
}

.smart-services-tier__intro {
  margin: 0;
  padding: 14px 20px;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.45;
  color: rgb(23, 55, 104);
}

.smart-services-tier__note {
  margin: 0;
  padding: 14px 20px 18px;
  font-size: 18px;
  font-weight: bold;
  color: #1f8a4c;
  line-height: 1.45;
  border-top: 1px solid #eef2f6;
}

.smart-services-tier__remark {
  margin: 0;
  padding: 6px 20px 4px;
  font-size: 14px;
  color: #8a96a3;
  line-height: 1.35;
}

.smart-services-tier__remark:empty {
  padding: 0;
}

.smart-services-tier__remark a {
  color: inherit;
  text-decoration: underline;
}

.smart-services-tier .smart-services-category {
  padding: 12px 20px;
  border-bottom: 1px solid #e8eef5;
}

.smart-services-tier .smart-services-category[data-tier-row="cat1"] {
  padding-top: 10px;
}

.smart-services-tier .smart-services-category[data-tier-row="cat2"] {
  border-bottom: none;
  padding-bottom: 8px;
}

.smart-services-tier .smart-services-category__header {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  min-height: 0;
  margin-bottom: 6px;
}

.smart-services-tier .smart-services-category__icon-wrap {
  width: 48px;
  height: 48px;
}

.smart-services-tier .smart-services-category__icon {
  width: 28px;
  height: 28px;
}

.smart-services-tier .smart-services-category__title {
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 2px;
  letter-spacing: 0.02em;
}

.smart-services-tier .smart-services-category__tagline {
  font-size: 17px;
  line-height: 1.3;
  font-weight: bold;
  color: rgb(23, 55, 104);
}

.smart-services-tier .smart-services-category__list {
  gap: 0;
  padding-left: 60px;
  margin: 0;
}

.smart-services-tier .smart-services-category__list li {
  border-radius: 0;
  padding: 2px 0;
  gap: 8px;
  font-size: 19px;
  line-height: 1.4;
  background: transparent;
  border: none;
  align-items: flex-start;
}

.smart-services-tier .smart-services-category__en {
  margin-right: 6px;
  font-size: 20px;
  font-weight: bold;
  color: rgb(23, 55, 104);
  text-transform: uppercase;
}

.smart-services-tier .smart-services-category__th {
  font-size: 20px;
  font-weight: bold;
  color: rgb(23, 55, 104);
}

.smart-services-tier .smart-services-category__list li:hover {
  background: transparent;
}

.smart-services-tier .smart-services-category__num {
  width: 24px;
  height: 24px;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

.smart-services-tier--core .smart-services-category__num {
  background: #1f8a4c;
}

.smart-services-tier--premium .smart-services-category__num {
  background: #c4a035;
}

.smart-services-tier--premium .smart-services-category--safety .smart-services-category__num {
  background: #2e7d32;
}

.smart-services-tier--premium .smart-services-category--insight .smart-services-category__num {
  background: #5087c6;
}

.smart-services-tier--premium .smart-services-tier__note {
  color: #a07d12;
}

.smart-services-tier [data-tier-row="note"] {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.smart-services-category--care .smart-services-category__title {
  color: #00838f;
}

.smart-services-category--care .smart-services-category__num {
  background: #00838f;
}

.smart-services-category--care .smart-services-category__icon-wrap {
  background: linear-gradient(145deg, #e0f4f8 0%, #b2ebf2 100%);
}

.smart-services-category--lifestyle .smart-services-category__title {
  color: #8e24aa;
}

.smart-services-category--lifestyle .smart-services-category__num {
  background: #8e24aa;
}

.smart-services-category--lifestyle .smart-services-category__icon-wrap {
  background: linear-gradient(145deg, #f3e5f5 0%, #e1bee7 100%);
}

.smart-services-category__title {
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0.03em;
}

.smart-ref {
  font-size: 0.65em;
  line-height: 0;
  font-weight: bold;
}

.smart-services-footnote {
  margin: 16px 0 0;
  font-size: 18px;
  font-weight: bold;
  color: rgb(23, 55, 104);
  line-height: 1.45;
}

.smart-services-terms {
  margin: 12px 0 28px;
  padding: 14px 20px;
  background: #173768;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.45;
  border-radius: 8px;
}

.smart-services-terms a {
  color: #fff;
  text-decoration: underline;
}

.smart-services-section__cta {
  text-align: center;
}

.smart-check-status-btn {
  display: inline-block;
  padding: 14px 36px;
  background: #e8951c;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
  font-family: "DBHelvethaicaX-Reg", sans-serif;
}

.smart-check-status-btn:hover,
.smart-check-status-btn:focus {
  background: #d4840f;
  outline: none;
}

.smart-table-section__footnote {
  margin: 16px 0 0;
  text-align: center;
  font-size: 18px;
  color: #5a6a7e;
}

.smart-table-download {
  display: flex;
  justify-content: center;
  margin: 20px 0 0;
}

.smart-table-download__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #173768;
  color: #fff !important;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none !important;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
  font-family: "DBHelvethaicaX-Reg", sans-serif;
}

.smart-table-download__btn:hover,
.smart-table-download__btn:focus {
  background: #2f5597;
  outline: none;
}

.smart-table-download__icon {
  flex-shrink: 0;
}

/* ---- Fixed check status button ---- */
.smart-check-status-fixed {
  position: fixed;
  right: 0;
  top: auto;
  bottom: 0;
  transform: none;
  z-index: 9998;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: auto;
  padding: 12px 18px;
  background: #e8951c;
  color: #fff;
  border: none;
  border-radius: 8px 0 0 0;
  box-shadow: -2px 2px 12px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: background 0.2s ease;
  font-family: "DBHelvethaicaX-Reg", sans-serif;
}

.smart-check-status-fixed:hover,
.smart-check-status-fixed:focus {
  background: #d4840f;
  outline: none;
}

.smart-check-status-fixed__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.smart-check-status-fixed__icon svg {
  width: 26px;
  height: 26px;
}

.smart-check-status-fixed__text {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.25;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Lift go-top above fixed check status bar (smart-package page only) */
#go-top {
  bottom: 52px !important;
}

.smart-cta__btn {
  border: none;
  cursor: pointer;
  font-family: "DBHelvethaicaX-Reg", sans-serif;
}

@media (max-width: 991px) {
  .smart-services-tier-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    row-gap: 20px;
  }

  .smart-services-tier {
    display: flex;
    flex-direction: column;
    grid-row: auto;
    grid-column: auto;
  }

  .smart-services-tier [data-tier-row="note"] {
    display: block;
  }

  .smart-check-status-fixed {
    bottom: 0;
    padding: 10px 14px;
    gap: 8px;
  }

  .smart-check-status-fixed__text {
    font-size: 18px;
  }

  #go-top {
    bottom: 46px !important;
  }
}

@media (max-width: 767px) {
  .smart-services-tier__label-th {
    font-size: 30px;
  }

  .smart-services-tier__intro {
    font-size: 18px;
    padding: 12px 16px 0;
  }

  .smart-services-tier .smart-services-category {
    padding-left: 16px;
    padding-right: 16px;
  }

  .smart-services-tier .smart-services-category__list {
    padding-left: 52px;
  }

  .smart-services-tier .smart-services-category__icon-wrap {
    width: 40px;
    height: 40px;
  }

  .smart-services-tier .smart-services-category__icon {
    width: 24px;
    height: 24px;
  }

  .smart-services-tier .smart-services-category__list li {
    font-size: 17px;
  }

  .smart-services-tier__remark {
    padding-left: 68px;
    padding-right: 16px;
  }

  .smart-services-tier__note {
    padding: 12px 16px 16px;
    font-size: 17px;
  }

  .smart-check-status-btn {
    font-size: 22px;
    padding: 12px 24px;
  }
}
