@media (max-width: 640px) {
  .cases-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .cases-grid > *,
  .trust > *,
  .g-trust > * {
    min-width: 0;
  }

  .trust,
  .g-trust,
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .price-table,
  .g-price-table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  .price-table thead,
  .g-price-table thead {
    display: none !important;
  }

  .price-table tbody,
  .g-price-table tbody {
    display: grid !important;
    gap: 10px;
  }

  .price-table tr,
  .g-price-table tr {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 12px;
    padding: 15px;
    border: 1px solid var(--line);
    background: var(--dark2);
  }

  .price-table td,
  .g-price-table td {
    display: block !important;
    min-width: 0;
    padding: 3px 0 !important;
    border: 0 !important;
    background: transparent !important;
    overflow-wrap: anywhere;
  }

  .price-table td:nth-child(-n + 2),
  .g-price-table td:nth-child(-n + 2) {
    grid-column: 1 / -1;
  }

  .price-table td:nth-child(3),
  .price-table td:nth-child(4),
  .g-price-table td:nth-child(3),
  .g-price-table td:nth-child(4) {
    padding-top: 10px !important;
  }

  .price-table td:nth-child(4),
  .g-price-table td:nth-child(4) {
    text-align: right;
  }

  .metrics .mc {
    min-width: 0;
    padding: 22px 16px;
  }

  .float {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom, 0px));
    flex-direction: row;
    align-items: center;
    gap: 6px;
  }

  .float .fbtn {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 400px) {
  .g-process {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .g-step {
    min-width: 0;
    padding: 20px;
  }
}
