.prices { padding-block: 48px 80px; font-size: 15px; }
.prices h1 { max-width: none; margin: 0; font-size: clamp(30px, 3.5vw, 46px); line-height: 1.15; font-weight: 500; letter-spacing: -.03em; }
.prices h2 { margin: 0 0 6px; font-size: 18px; line-height: 1.3; letter-spacing: -.02em; }
.prices p { margin: 0; }
.prices-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.prices-heading p { margin-top: 12px; color: var(--muted); }
.prices-brief-link { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 4px; font-size: 14px; text-decoration: none; }
.prices-brief-link:hover { background: var(--panel); border-color: var(--amber); }
.prices-updated { padding-block: 24px; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.prices-sync-status { margin-bottom: 20px !important; padding: 12px 16px; color: var(--text); background: var(--panel); font-size: 13px; line-height: 1.6; }
.prices-message { padding: 24px; background: var(--panel); color: var(--text); line-height: 1.65; }
.prices-retry { min-height: 44px; margin-top: 16px; padding: 9px 18px; color: var(--ink); background: var(--text); border: 1px solid var(--text); border-radius: 4px; font: inherit; cursor: pointer; }
.prices-retry:disabled { color: var(--muted); background: var(--panel); border-color: var(--line); cursor: wait; }
.prices-instruction { max-width: 72ch; padding: 8px 0 24px; color: var(--muted); font-size: 14px; }
.prices-table-frame { width: 100%; overflow-x: auto; scrollbar-color: var(--line-strong) var(--ink); scrollbar-width: thin; }
.prices-table { min-width: 0; width: 100%; border-collapse: collapse; background: transparent; line-height: 1.5; }
.prices-table th, .prices-table td { padding: 18px 16px; color: var(--text); background: transparent; border-bottom: 1px solid var(--line); font-size: 14px; text-transform: none; letter-spacing: normal; vertical-align: top; }
.prices-table thead th { color: var(--muted); font-size: 12px; font-weight: 400; text-align: right; }
.prices-table thead th:first-child, .prices-table tbody th { padding-left: 0; text-align: left; }
.prices-table tbody th { width: 48%; font-weight: 400; }
.prices-table tbody th strong { font-weight: 550; }
.prices-conditions { display: block; max-width: 70ch; margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.prices-number { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.prices-quantity { min-width: 156px; text-align: right; white-space: nowrap; }
.prices-quantity input { display: inline-block; width: 90px; min-height: 44px; padding: 8px; border: 1px solid var(--line-strong); border-radius: 4px; color: var(--text); background: var(--ink-soft); font: inherit; text-align: right; font-variant-numeric: tabular-nums; caret-color: var(--amber); }
.prices-quantity input::placeholder { color: var(--muted); opacity: 1; }
.prices-quantity input[aria-invalid="true"] { border-color: var(--danger); }
.prices-quantity span { display: inline-block; min-width: 32px; margin-left: 8px; color: var(--muted); font-size: 12px; }
.prices-subtotal { min-width: 130px; }
.prices-total { display: flex; align-items: center; gap: 24px; padding: 24px 0; }
.prices-total p { color: var(--muted); font-size: 13px; }
.prices-total output { margin-left: auto; font-size: 28px; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.prices-total button { min-height: 44px; padding: 8px 0; color: var(--text); background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); font: inherit; font-size: 12px; cursor: pointer; }
.prices-total button:hover { border-color: var(--amber); }
.prices-scope { max-width: 75ch; color: var(--muted); font-size: 13px; line-height: 1.7; }
.prices-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.prices [hidden] { display: none !important; }
@media (max-width: 760px) {
  .prices { width: calc(100% - 32px); padding-block: 32px 48px; }
  .prices-heading { align-items: start; flex-direction: column; gap: 18px; }
  .prices h1 { font-size: 32px; }
  .prices-heading p { font-size: 14px; }
  .prices-updated { padding-block: 20px; }
  .prices-table, .prices-table thead, .prices-table tbody { display: block; }
  .prices-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .prices-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-block: 20px; border-bottom: 1px solid var(--line); }
  .prices-table th, .prices-table td { display: block; width: auto; min-width: 0; padding: 0; border: 0; }
  .prices-table tbody th { grid-column: 1 / -1; width: 100%; }
  .prices-number { text-align: left; font-size: 15px; }
  .prices-quantity { grid-column: 2; grid-row: 2 / span 2; align-self: center; }
  .prices-subtotal { grid-column: 1; color: var(--muted); font-size: 13px; }
  .prices-subtotal::before { content: 'Стоимость: '; }
  .prices-total { flex-wrap: wrap; gap: 14px; }
  .prices-total > div { flex-basis: 100%; }
  .prices-total output { margin-left: 0; margin-right: auto; font-size: 26px; }
}
