html,
body {
  overflow-x: hidden;
}

.pricing-section .section-inner {
  max-width: 1280px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 64px;
  align-items: stretch;
}

.product-grid .pricing-card {
  min-width: 0;
  max-width: none;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.product-grid .pricing-card-addon { border-color: var(--teal); }
.product-grid .pricing-popular { top: 12px; }
.product-grid .pricing-header { padding: 40px 28px 32px; }
.product-grid .pricing-price {
  font-size: 60px;
  white-space: nowrap;
}

.product-grid .pricing-body {
  padding: 30px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.product-grid .pricing-features { flex: 1; }

.product-grid .pricing-trial {
  order: 1;
  margin: 0 0 18px;
}

.product-grid .pricing-cta-btn {
  order: 2;
  margin-top: auto;
  overflow-wrap: anywhere;
}

.pricing-requirement {
  min-height: 44px;
  margin: 0 0 18px;
  color: var(--gray-600);
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
}

.pricing-cta-disabled,
.pricing-cta-disabled:hover {
  background: var(--gray-400);
  box-shadow: none;
  cursor: default;
  transform: none;
}

.combo-pricing {
  max-width: 820px;
  margin: 64px auto 0;
  padding: 36px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.combo-pricing h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 28px;
  letter-spacing: -.6px;
  text-align: center;
}

.combo-pricing > p {
  margin: 0 0 24px;
  color: var(--gray-600);
  line-height: 1.6;
  text-align: center;
}

.combo-table-wrap { overflow-x: auto; }

.combo-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--gray-700);
  font-size: 15px;
}

.combo-table th,
.combo-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--gray-200);
  text-align: left;
}

.combo-table th:last-child,
.combo-table td:last-child {
  white-space: nowrap;
  text-align: right;
  font-weight: 700;
  color: var(--navy);
}

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

.commercial-footnote {
  max-width: 900px;
  margin: 28px auto 0;
  color: var(--gray-500);
  font-size: 13px;
  line-height: 1.65;
  text-align: center;
}

.pricing-trial {
  margin: 16px 0 0;
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
}

.pricing-trial a {
  color: var(--blue);
  font-weight: 700;
}

.pricing-trial span {
  color: var(--gray-500);
  font-size: 12px;
}

.feature-product-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-bottom: 12px;
  padding: 4px 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
}

.feature-product-basic {
  color: var(--blue);
  background: var(--blue-50);
}

.feature-product-advanced {
  color: var(--teal-dark);
  background: rgba(20, 184, 166, .12);
}

.feature-product-widget {
  color: var(--navy-700);
  background: var(--gray-100);
}

@media (min-width: 641px) and (max-width: 1120px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 840px;
    margin-right: auto;
    margin-left: auto;
  }

  .product-grid .pricing-card:last-child {
    grid-column: 1 / -1;
    width: calc((100% - 24px) / 2);
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .nav-lang,
  .nav-cta {
    display: none !important;
  }

  .product-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    gap: 18px;
    margin: 44px auto 0;
  }
  .product-grid .pricing-header,
  .product-grid .pricing-body,
  .combo-pricing { padding: 28px 20px; }
  .product-grid .pricing-popular {
    top: 16px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }
  .product-grid .pricing-popular + .pricing-header { padding-top: 64px; }
  .combo-pricing h3 { font-size: 24px; }
  .combo-table { font-size: 13px; }
  .combo-table th,
  .combo-table td { padding: 12px 10px; }
}
