@media (max-width: 760px) {
  /* The comparison grid already has its desktop sizing; on mobile use the
     original column as the reference, so the reduction is applied once. */
  #products .prices--3 {
    width: 100%;
    max-width: 100%;
  }

  #products .prices--3 > .price {
    box-sizing: border-box;
    width: 75%;
    min-width: 0;
    justify-self: center;
    overflow-wrap: break-word;
  }

  /* Narrow the whole offer area once. Switch to two columns only when both
     descriptions and purchase buttons have room. */
  #pricing .prices.prices--3.vpn-prices-two {
    width: clamp(min(100%, 250px), 75%, 100%);
    max-width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)) !important;
    gap: 24px 16px;
  }
  #pricing .vpn-prices-two > .price[data-plan] {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }

  /* The proxy offer is normally min(560px, 100%) wide. */
  .pricing .plan-card[data-plan-card] {
    box-sizing: border-box;
    width: min(420px, 75%);
    margin-inline: auto;
  }

  .pricing [data-switch] > .dev-switch[aria-label="Срок подписки"] {
    width: min(420px, 75%);
    margin-inline: auto;
  }
}

@media (min-width: 761px) {
  .pricing [data-switch] > .dev-switch[aria-label="Срок подписки"] .dev-opt {
    padding-inline: 14px;
  }
}
