.vps-catalog { scroll-margin-top: 80px; }

.vps-catalog-panel {
  padding: clamp(16px, 2.7vw, 32px);
  border: 1px solid #efe7de;
  border-radius: 28px;
  background: #fcf9f6;
}

.vps-region { display: flex; justify-content: center; margin-bottom: 24px; }

.vps-table { width: 100%; border-collapse: separate; border-spacing: 0; text-align: left; }
.vps-table :is(th, td) { padding: 13px clamp(8px, 1.6vw, 22px); }
.vps-table thead th {
  padding-block: 9px 14px;
  border-bottom: 1px solid #e5d9cd;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.vps-table tbody tr + tr > * { border-top: 1px solid #eae2da; }
.vps-table tbody td { font-weight: 500; white-space: nowrap; }
.vps-plan-name { display: block; margin-bottom: 4px; color: var(--muted); font-size: 14px; font-weight: 500; }
.vps-price { display: block; color: var(--ink); font-size: clamp(19px, 2vw, 24px); font-weight: 700; line-height: 1.15; white-space: nowrap; font-variant-numeric: tabular-nums; }
.vps-price small { color: var(--muted); font-size: .57em; font-weight: 500; }
.vps-table .button { min-height: 42px; min-width: 110px; border-radius: 12px; }

@media (min-width: 721px) {
  .vps-table:not(.vps-table-grid) { table-layout: fixed; }
  .vps-table:not(.vps-table-grid) thead th:first-child { width: 30%; }
  .vps-table:not(.vps-table-grid) thead th:last-child { width: 20%; }
  .vps-table:not(.vps-table-grid) tr > :nth-child(n+2):nth-child(-n+4) { text-align: center; }
  .vps-table:not(.vps-table-grid) td:last-child { text-align: end; }
  .vps-table:not(.vps-table-grid) tbody tr:hover { background: #fff; }
}

.vps-more {
  display: block;
  margin: 24px auto 0;
  padding: 10px 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #a94216;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}
.vps-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.vps-more:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.vps-more[hidden], .vps-catalog-fallback[hidden] { display: none; }
.vps-catalog-fallback { margin-top: 14px; }
.vps-cases, .vps-help { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.vps-cases article, .vps-help { border-radius: 28px; background: #f8f5f2; padding: clamp(22px, 4vw, 48px); }
.vps-cases p, .vps-help p { margin-top: 12px; }
.vps-help { align-items: center; }
.vps-help .actions { justify-content: flex-start; margin-top: 22px; }
.vps-help img { width: min(100%, 260px); height: auto; justify-self: center; }
@media (min-width: 721px) { .vps-help img { transform: translateX(16px); } }

@media (max-width: 720px) {
  .vps-cases, .vps-help { grid-template-columns: minmax(0, 1fr); }
  .vps-table:not([hidden]) { display: block; }
  .vps-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .vps-table tbody { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  .vps-table tbody tr {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 14px;
    border: 1px solid #e5ddd5;
    border-radius: 16px;
    background: #fff;
  }
  .vps-table tbody :is(th, td) { padding: 4px 0; }
  .vps-table tbody :is(th, td:last-child) { grid-column: 1 / -1; text-align: start; }
  .vps-table td[data-label]::before { content: attr(data-label); display: block; color: var(--muted); font-size: 12px; }
}

.vps-region { align-items: center; gap: 16px; }
.vps-region[hidden] { display: none; }
.vps-country { position: relative; width: min(230px, 100%); }
.vps-country summary, .vps-country button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: start;
  cursor: pointer;
}
.vps-country summary { min-height: 48px; border-radius: 14px; background: #f8f5f2; list-style: none; }
.vps-country summary::-webkit-details-marker { display: none; }
.vps-country summary > span:first-child { display: flex; }
.vps-country summary svg { width: 16px; margin-inline-start: auto; }
.vps-country[open] summary svg { transform: rotate(180deg); }
.vps-country svg, .vps-view svg { fill: none; stroke: #a94216; stroke-width: 1.7; stroke-linecap: round; }
.vps-country-flag { display: block; flex: none; width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.vps-country ul { position: absolute; z-index: 2; inset: calc(100% + 6px) 0 auto; max-height: 310px; overflow: auto; margin: 0; padding: 5px; list-style: none; border: 1px solid #eee5dc; border-radius: 14px; background: #fff; box-shadow: 0 8px 24px #351b1012; }
.vps-country button:hover { background: #f8f5f2; }
.vps-country button[aria-pressed="true"] { background: #f9d8c1; }
.vps-view { display: flex; gap: 2px; padding: 4px; border-radius: 14px; background: #f8f5f2; }
.vps-view button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 10px; background: transparent; cursor: pointer; }
.vps-view button[aria-pressed="true"] { background: #f9d8c1; }
.vps-view svg { width: 20px; }
.vps-country :is(summary, button):focus-visible, .vps-view button:focus-visible { outline: 2px solid #a94216; outline-offset: 2px; }

@media (min-width: 721px) {
  .vps-table-grid:not([hidden]) { display: block; }
  .vps-table-grid thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .vps-table-grid tbody { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .vps-table-grid tbody tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 16px; border: 1px solid #e5ddd5; border-radius: 16px; background: #fff; }
  .vps-table-grid tbody :is(th, td) { padding: 4px 0; }
  .vps-table-grid tbody :is(th, td:last-child) { grid-column: 1 / -1; text-align: start; }
  .vps-table-grid td[data-label]::before { content: attr(data-label); display: block; color: var(--muted); font-size: 12px; }
}

@media (max-width: 720px) { .vps-view { display: none; } }

.vps-table-grid tbody tr + tr > * { border-top: 0; }
@media (min-width: 721px) and (max-width: 950px) {
  .vps-table-grid tbody { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .vps-table tbody tr + tr > * { border-top: 0; }
}
