/* =========================================================
   PAGE BẢNG GIÁ
   Khánh Ngọc Travel
   ========================================================= */

.knt-price-page {
  padding: 64px 0 72px;
  background:
    radial-gradient(circle at 8% 7%, rgba(222, 169, 56, 0.09), transparent 22%),
    radial-gradient(
      circle at 94% 16%,
      rgba(18, 88, 149, 0.08),
      transparent 25%
    ),
    linear-gradient(180deg, #ffffff 0%, #f7fbfe 48%, #ffffff 100%);
}

.knt-price-icon {
  display: inline-flex;
  flex: 0 0 auto;
  line-height: 0;
}

.knt-price-icon svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Intro */
.knt-price-page__intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.knt-price-page__intro-copy {
  max-width: 730px;
}

.knt-price-page__eyebrow,
.knt-price-group__kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--pcb-primary, #125895);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.knt-price-page__eyebrow {
  margin-bottom: 9px;
}

.knt-price-page__eyebrow .knt-price-icon,
.knt-price-group__kicker .knt-price-icon {
  color: var(--pcb-secondary, #dea938);
}

.knt-price-page__intro h2 {
  margin: 0 0 10px;
  color: var(--pcb-heading, #123a60);
  font-size: clamp(1.65rem, 2.5vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.knt-price-page__intro p {
  margin: 0;
  color: var(--pcb-text, #465c6f);
  font-size: 0.94rem;
  line-height: 1.75;
}

.knt-price-page__support {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  min-width: 270px;
  padding: 14px 16px;
  border: 1px solid #dce8f0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 28px rgba(18, 88, 149, 0.07);
}

.knt-price-page__support > .knt-price-icon {
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(222, 169, 56, 0.12);
  color: var(--pcb-secondary-dark, #b9851d);
  font-size: 1.2rem;
}

.knt-price-page__support strong,
.knt-price-page__support span {
  display: block;
}

.knt-price-page__support strong {
  margin-bottom: 2px;
  color: var(--pcb-heading, #123a60);
  font-size: 0.82rem;
}

.knt-price-page__support span {
  color: var(--pcb-muted, #7d8e9d);
  font-size: 0.74rem;
}

/* Group */
.knt-price-groups {
  margin-right: -10px;
  margin-left: -10px;
}

.knt-price-group-col {
  display: flex;
  padding-right: 10px;
  padding-bottom: 20px;
  padding-left: 10px;
}

.knt-price-group {
  width: 100%;
  scroll-margin-top: 120px;
}

.knt-price-group__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 13px;
}

.knt-price-group__kicker {
  margin-bottom: 4px;
}

.knt-price-group__head h2 {
  margin: 0;
  color: var(--pcb-heading, #123a60);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.knt-price-group__count {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--pcb-primary-light, #eaf4fc);
  color: var(--pcb-primary, #125895);
  font-size: 0.68rem;
  font-weight: 700;
}

.knt-price-group .knt-price-table-wrap {
  height: auto;
}

.knt-price-group__head {
  min-height: 48px;
}

.knt-price-table td,
.knt-price-table thead th {
  padding-right: 12px;
  padding-left: 12px;
}

.knt-price-route {
  gap: 8px;
}

.knt-price-route__icon {
  flex-basis: 34px;
  width: 34px;
  height: 34px;
}

.knt-price-call {
  padding-right: 8px;
  padding-left: 8px;
}

/* Table */
.knt-price-table-wrap {
  overflow: hidden;
  border: 1px solid #dbe7ef;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(18, 88, 149, 0.065);
}

.knt-price-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

.knt-price-table th,
.knt-price-table td {
  border: 0;
  border-bottom: 1px solid #e8eff4;
  vertical-align: middle;
}

.knt-price-table thead th {
  padding: 14px 16px;
  background: linear-gradient(135deg, #0b3c69 0%, #125895 100%);
  color: #fff;
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  text-transform: none;
}

.knt-price-table thead th:first-child {
  border-radius: 17px 0 0 0;
}

.knt-price-table thead th:last-child {
  border-radius: 0 17px 0 0;
}

.knt-price-table tbody tr:last-child td {
  border-bottom: 0;
}

.knt-price-table tbody tr {
  transition: background 0.2s ease;
}

.knt-price-table tbody tr:hover {
  background: #f9fcfe;
}

.knt-price-table td {
  padding: 15px 16px;
  color: var(--pcb-text, #465c6f);
  font-size: 0.76rem;
}

.knt-price-table__route {
  width: 40%;
  text-align: left;
}

.knt-price-table__vehicle {
  width: 20%;
  text-align: center;
}

.knt-price-table__action {
  width: 20%;
  text-align: center;
}

.knt-price-table__vehicle span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.knt-price-table__vehicle .knt-price-icon {
  color: #f3ca65;
  font-size: 1rem;
}

/* Route cell */
.knt-price-route {
  display: flex;
  align-items: center;
  gap: 11px;
}

.knt-price-route__icon {
  display: flex;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--pcb-primary-light, #eaf4fc);
  color: var(--pcb-primary, #125895);
  font-size: 1.05rem;
}

.knt-price-route strong,
.knt-price-route span {
  display: block;
}

.knt-price-route strong {
  color: var(--pcb-heading, #123a60);
  font-size: 0.79rem;
  line-height: 1.4;
}

.knt-price-route span {
  color: var(--pcb-muted, #7d8e9d);
  font-size: 0.66rem;
}

/* Price */
.knt-price-table__price {
  text-align: center;
}

.knt-price-table__price strong {
  color: var(--pcb-primary, #125895);
  font-size: 0.92rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.knt-price-table__price small {
  margin-left: 1px;
}

/* Action */
.knt-price-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(222, 169, 56, 0.48);
  border-radius: 9px;
  background: #fffaf0;
  color: var(--pcb-secondary-dark, #b9851d);
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.knt-price-call:hover {
  border-color: var(--pcb-secondary, #dea938);
  background: var(--pcb-secondary, #dea938);
  color: #fff;
}

/* Note */
.knt-price-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid rgba(222, 169, 56, 0.3);
  border-radius: 16px;
  background: #fffaf0;
}

.knt-price-note__icon {
  display: flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(222, 169, 56, 0.13);
  color: var(--pcb-secondary-dark, #b9851d);
  font-size: 1.1rem;
}

.knt-price-note h3 {
  margin: 0 0 4px;
  color: var(--pcb-heading, #123a60);
  font-size: 0.92rem;
}

.knt-price-note p {
  margin: 0;
  color: var(--pcb-text, #465c6f);
  font-size: 0.74rem;
  line-height: 1.65;
}

/* CTA */
.knt-price-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 34px;
  padding: 28px 30px;
  overflow: hidden;
  border-radius: 20px;
  background:
    radial-gradient(
      circle at 90% 20%,
      rgba(222, 169, 56, 0.22),
      transparent 28%
    ),
    linear-gradient(135deg, #0b3c69 0%, #125895 100%);
  box-shadow: 0 16px 38px rgba(18, 88, 149, 0.17);
}

.knt-price-cta__content {
  max-width: 650px;
}

.knt-price-cta__content > span {
  display: block;
  margin-bottom: 5px;
  color: #f3ca65;
  font-size: 0.72rem;
  font-weight: 700;
}

.knt-price-cta h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
}

.knt-price-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  line-height: 1.65;
}

.knt-price-cta__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 9px;
}

.knt-price-cta__actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  margin: 0;
  padding: 0 15px;
  border-radius: 11px;
  font-size: 0.72rem;
  letter-spacing: 0;
  text-transform: none;
}

.knt-price-cta__actions .button.primary {
  border: 0;
  background: var(--pcb-secondary, #dea938);
  color: #fff;
}

.knt-price-cta__actions .button:not(.primary) {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* Empty */
.knt-price-empty {
  padding: 50px 20px;
  border: 1px dashed #cadbe6;
  border-radius: 18px;
  background: #fff;
  text-align: center;
}

.knt-price-empty h2 {
  margin: 0 0 7px;
}

.knt-price-empty p {
  margin: 0;
}

/* Tablet */
@media screen and (max-width: 849px) {
  .knt-price-page {
    padding: 52px 0 60px;
  }

  .knt-price-page__intro {
    align-items: stretch;
    flex-direction: column;
    gap: 17px;
  }

  .knt-price-page__support {
    min-width: 0;
    max-width: 390px;
  }

  .knt-price-table__route {
    width: 40%;
  }

  .knt-price-table__vehicle {
    width: 20%;
  }

  .knt-price-table__action {
    width: 20%;
  }

  .knt-price-cta {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
}

/* Mobile */
@media screen and (max-width: 549px) {
  .knt-price-groups {
    margin-right: -8px;
    margin-left: -8px;
  }

  .knt-price-group-col {
    padding-right: 8px;
    padding-bottom: 18px;
    padding-left: 8px;
  }

  .knt-price-page {
    padding: 42px 0 50px;
  }

  .knt-price-page__intro {
    margin-bottom: 22px;
  }

  .knt-price-page__intro h2 {
    font-size: 1.55rem;
  }

  .knt-price-nav {
    padding: 13px;
    border-radius: 14px;
  }

  .knt-price-nav__items {
    width: 100%;
  }

  .knt-price-nav__items a {
    flex: 1 1 calc(50% - 4px);
    justify-content: center;
  }

  .knt-price-group {
    scroll-margin-top: 90px;
  }

  .knt-price-group__head {
    align-items: center;
  }

  .knt-price-table-wrap {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .knt-price-table,
  .knt-price-table tbody,
  .knt-price-table tr,
  .knt-price-table td {
    display: block;
    width: 100%;
  }

  .knt-price-table thead {
    display: none;
  }

  .knt-price-table tbody {
    display: grid;
    gap: 12px;
  }

  .knt-price-table tbody tr {
    padding: 16px;
    overflow: hidden;
    border: 1px solid #dce8f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(18, 88, 149, 0.06);
  }

  .knt-price-table tbody tr:hover {
    background: #fff;
  }

  .knt-price-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid #edf2f5;
    text-align: right;
  }

  .knt-price-table td::before {
    flex: 0 0 auto;
    color: var(--pcb-muted, #7d8e9d);
    content: attr(data-label);
    font-size: 0.67rem;
    font-weight: 600;
    text-align: left;
  }

  .knt-price-table td.knt-price-table__route {
    display: block;
    padding-top: 0;
    text-align: left;
  }

  .knt-price-table td.knt-price-table__route::before {
    display: none;
  }

  .knt-price-table__price strong {
    font-size: 0.94rem;
  }

  .knt-price-table__action {
    padding-bottom: 0 !important;
    border-bottom: 0 !important;
  }

  .knt-price-call {
    min-height: 36px;
  }

  .knt-price-note {
    padding: 16px;
  }

  .knt-price-cta {
    padding: 23px 18px;
    border-radius: 17px;
  }

  .knt-price-cta__actions {
    width: 100%;
    flex-direction: column;
  }

  .knt-price-cta__actions .button {
    width: 100%;
  }
}
