


.price-page .page-shell {
  height: auto;
  min-height: 100svh;
}

.price-main {
  padding: 0 0 8px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}


.price-hero {
  padding: 54px 0 30px;
  animation: intro-rise .6s var(--ease-out) both;
}
.price-hero .eyebrow { margin-bottom: 18px; }
.price-hero h1 {
  margin: 0;
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -1.8px;
}
.price-lede {
  max-width: 680px;
  margin: 18px 0 0;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--muted);
}
.price-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 56px;
  margin: 30px 0 0;
  padding: 24px 0 0;
  list-style: none;
  border-top: 1px solid var(--border);
}
.price-stats li { display: flex; flex-direction: column; gap: 3px; }
.price-stats strong {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -.8px;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.price-stats span { font-size: 11.5px; color: var(--faint); letter-spacing: .5px; }


.price-toolbar {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 16px 0 18px;
  border-bottom: 1px solid var(--border);
}
.toolbar-main {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.search-field {
  flex: 1 1 320px;
  display: flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 0 13px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  transition: border-color .18s, box-shadow .18s;
}
.search-field:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(11, 150, 119, .1);
}
.search-field svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--faint);
  stroke-width: 1.8;
  stroke-linecap: round;
}
.search-field input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: none;
  font-family: inherit;
  font-size: 13px;
  color: var(--ink);
}
.search-field input::placeholder { color: #a8a294; }

.sort-field {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}


.xsel { position: relative; display: inline-block; min-width: 172px; }
.field .xsel { display: block; width: 100%; min-width: 0; }

.xsel-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink-soft);
  font-family: inherit;
  font-size: 12.5px;
  text-align: left;
  transition: border-color .16s, box-shadow .16s, background .16s;
}
.xsel-trigger:hover { border-color: #bfb8a8; }
.xsel-trigger:focus-visible,
.xsel.is-open .xsel-trigger {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(11, 150, 119, .1);
}
.xsel-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink);
  font-size: 13px;
}
.xsel-sm .xsel-label { font-size: 12.5px; }
.xsel-arrow {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--faint);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s var(--ease-out), stroke .16s;
}
.xsel.is-open .xsel-arrow { transform: rotate(180deg); stroke: var(--accent-deep); }

.xsel-list {
  position: absolute;
  z-index: 60;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  min-width: 100%;
  max-height: 340px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 11px;
  box-shadow: 0 22px 48px -20px rgba(40, 35, 25, .45), 0 2px 6px rgba(40, 35, 25, .06);
  scrollbar-width: thin;
  scrollbar-color: #d6cfc1 transparent;
  animation: xsel-in .16s var(--ease-out) both;
}
@keyframes xsel-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}


.xsel-sm .xsel-list {
  left: auto;
  right: 0;
  width: max-content;
  min-width: 100%;
  max-width: 340px;
}

.xsel-group {
  position: sticky;
  top: -6px;
  z-index: 1;
  padding: 9px 10px 5px;
  background: var(--surface);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .9px;
  color: var(--faint);
}
.xsel-group:first-child { padding-top: 5px; }

.xsel-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 7px;
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.5;
  cursor: pointer;
  transition: background .12s, color .12s;
}
.xsel-option-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.xsel-option:hover { background: rgba(11, 150, 119, .07); color: var(--accent-deep); }
.xsel-option.is-selected {
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 650;
}
.xsel-tick {
  flex-shrink: 0;
  width: 12px;
  font-size: 11px;
  color: var(--accent);
  opacity: 0;
}
.xsel-option.is-selected .xsel-tick { opacity: 1; }
.result-count {
  margin-left: auto;
  font-size: 11.5px;
  color: var(--faint);
  white-space: nowrap;
}

.vendor-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  font-family: inherit;
  font-size: 12px;
  font-weight: 550;
  transition: border-color .16s, background .16s, color .16s, transform .16s;
}
.chip:hover { border-color: var(--accent); color: var(--accent-deep); transform: translateY(-1px); }
.chip[aria-pressed="true"] {
  background: var(--accent-soft);
  border-color: rgba(11, 150, 119, .45);
  color: var(--accent-deep);
  font-weight: 700;
}
.chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vc, var(--accent));
  flex-shrink: 0;
}
.chip .count { font-size: 10.5px; color: var(--faint); font-variant-numeric: tabular-nums; }


.price-panel { padding: 0 0 6px; }
.table-scroll { overflow-x: auto; scrollbar-width: thin; }

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.price-table thead th {
  padding: 13px 14px;
  text-align: left;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .5px;
  color: var(--faint);
  white-space: nowrap;
  border-bottom: 1px solid var(--border-strong);
  background: transparent;
}
.price-table thead .th-unit {
  display: block;
  margin-top: 3px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0;
  color: #b0aa9c;
}
.price-table thead th.num { text-align: right; }
.price-table thead th[data-sort] { cursor: pointer; user-select: none; }
.price-table thead th[data-sort]:hover { color: var(--accent-deep); }

.price-table tbody tr {
  border-bottom: 1px solid rgba(227, 222, 212, .72);
  transition: background .16s;
}
.price-table tbody tr:hover { background: rgba(11, 150, 119, .035); }
.price-table tbody tr:last-child { border-bottom: 0; }
.price-table td {
  padding: 13px 14px;
  vertical-align: middle;
}
.price-table td.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.price-table .col-model { min-width: 268px; }

.model-cell { display: flex; align-items: center; gap: 11px; }
.vendor-dot {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 9px;
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: -.4px;
  color: var(--vc, var(--accent));
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, .07);
}
.model-name {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 650;
  color: var(--ink);
  letter-spacing: -.15px;
}
.copy-id {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 0;
  border-radius: 5px;
  background: none;
  color: var(--faint);
  opacity: 0;
  transition: opacity .16s, color .16s, background .16s;
}
.price-table tbody tr:hover .copy-id,
.copy-id:focus-visible { opacity: 1; }
.copy-id:hover { color: var(--accent-deep); background: var(--accent-soft); }
.copy-id svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
}
.model-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
}
.tag {
  padding: 2px 6px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--canvas);
  font-size: 10px;
  color: var(--muted);
  line-height: 1.4;
}
.model-vendor { font-size: 10.5px; color: var(--faint); margin-left: 2px; }

.price-table .price-main-val {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}
.price-table .price-out-val { color: var(--accent-deep); }
.official-val { font-size: 11.5px; color: var(--faint); }
.discount {
  display: inline-block;
  padding: 3px 7px;
  border-radius: 5px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 11px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
.tag-self {
  display: inline-block;
  padding: 3px 7px;
  border-radius: 5px;
  background: rgba(84, 66, 221, .09);
  border: 1px solid rgba(84, 66, 221, .22);
  color: var(--violet);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .2px;
  white-space: nowrap;
}

.tier-bar {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 15px;
}
.tier-bar i {
  display: block;
  width: 4px;
  border-radius: 2px;
  background: var(--border-strong);
}
.tier-bar i:nth-child(1) { height: 5px; }
.tier-bar i:nth-child(2) { height: 7px; }
.tier-bar i:nth-child(3) { height: 9px; }
.tier-bar i:nth-child(4) { height: 12px; }
.tier-bar i:nth-child(5) { height: 15px; }
.tier-bar i.on { background: var(--accent); }

.price-empty {
  margin: 40px 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.table-foot {
  margin: 14px 0 0;
  font-size: 11.5px;
  line-height: 1.9;
  color: var(--faint);
}
.table-foot span { color: var(--accent); }
.table-foot a { color: var(--accent-deep); border-bottom: 1px solid rgba(11, 150, 119, .3); }


.estimator {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 26px 48px;
  margin-top: 34px;
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.estimator-intro h2,
.topup h2,
.notes h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.8px;
}
.estimator-intro p {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
}
.estimator-hints {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.estimator-hints li {
  position: relative;
  padding-left: 15px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--faint);
}
.estimator-hints li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(11, 150, 119, .45);
}

.estimator-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-content: start;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field span { font-size: 11.5px; color: var(--muted); letter-spacing: .2px; }
.field select,
.field input {
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
  font-family: inherit;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  outline: none;
  transition: border-color .16s, box-shadow .16s;
}
.field select { cursor: pointer; }
.field select:focus,
.field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(11, 150, 119, .1);
}
.field-wide { grid-column: 1 / -1; }

.estimate-out {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.estimate-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.estimate-card.primary {
  background: var(--accent-soft);
  border-color: rgba(11, 150, 119, .32);
}
.estimate-label { font-size: 11px; color: var(--muted); letter-spacing: .2px; }
.estimate-card strong {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.6px;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.estimate-card.primary strong { color: var(--accent-deep); }
.estimate-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--faint);
}


.topup {
  padding: 42px 0;
  border-top: 1px solid var(--border);
}
.topup-lede {
  margin: 12px 0 0;
  max-width: 680px;
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
}
.topup-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 20px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 15px;
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
.plan:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -18px rgba(60, 55, 40, .4);
}
.plan.featured {
  border-color: rgba(11, 150, 119, .5);
  box-shadow: 0 12px 30px -18px rgba(11, 150, 119, .45);
}
.plan-badge {
  position: absolute;
  top: -10px;
  right: 14px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .4px;
}
.plan-amount {
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--ink);
  line-height: 1;
}
.plan-amount small { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 3px; }
.plan-gift { font-size: 11.5px; color: var(--accent-deep); font-weight: 650; min-height: 16px; }
.plan ul {
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 11.5px;
  color: var(--muted);
}
.plan li { display: flex; gap: 7px; align-items: flex-start; line-height: 1.5; }
.plan li::before {
  content: "";
  width: 4px;
  height: 4px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--border-strong);
  flex-shrink: 0;
}
.plan-cta {
  margin-top: auto;
  height: 40px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--canvas);
  color: var(--ink);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 650;
  transition: background .16s, border-color .16s, color .16s;
}
.plan-cta:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-deep); }
.plan.featured .plan-cta {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--surface);
}
.plan.featured .plan-cta:hover { background: var(--accent-deep); }


.notes { padding: 42px 0 0; border-top: 1px solid var(--border); }
.notes details { border-bottom: 1px solid var(--border); padding: 15px 0; }
.notes summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 650;
  color: var(--ink);
  list-style: none;
}
.notes summary::-webkit-details-marker { display: none; }
.notes summary::after {
  content: "＋";
  flex-shrink: 0;
  font-weight: 400;
  font-size: 14px;
  color: var(--faint);
}
.notes details[open] summary::after { content: "－"; }
.notes details p {
  max-width: 800px;
  margin: 11px 0 2px;
  font-size: 12.5px;
  line-height: 1.95;
  color: var(--muted);
}
.notes code {
  padding: 1px 5px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--canvas);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-soft);
}


@media (max-width: 1180px) {
  .price-hero { padding-top: 40px; }
  .price-stats { gap: 14px 40px; }
  .estimator { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 1020px) {
  .price-hero h1 { font-size: clamp(32px, 6vw, 44px); letter-spacing: -1.2px; }
  .price-lede { font-size: 13.5px; }
  .topup-grid { grid-template-columns: repeat(2, 1fr); }
  .estimate-out { grid-template-columns: repeat(2, 1fr); }
  .price-table .col-model { min-width: 230px; }
}

@media (max-width: 880px) {
  .toolbar-main { gap: 10px; }
  .search-field { flex: 1 1 100%; }
  .result-count { margin-left: 0; order: 3; }

  .table-scroll { overflow: visible; }
  .price-table,
  .price-table tbody,
  .price-table tr,
  .price-table td { display: block; width: 100%; }
  .price-table thead { display: none; }
  .price-table tbody tr {
    margin-bottom: 10px;
    padding: 14px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 13px;
  }
  .price-table tbody tr:hover { background: var(--surface); }
  .price-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 5px 0;
    text-align: left;
  }
  .price-table td.num { text-align: right; }
  .price-table td::before {
    content: attr(data-label);
    font-size: 11px;
    color: var(--faint);
    flex-shrink: 0;
  }
  .price-table .col-model {
    display: block;
    padding: 0 0 10px;
    margin-bottom: 6px;
    border-bottom: 1px dashed var(--border);
    min-width: 0;
  }
  .price-table .col-model::before { display: none; }
  .copy-id { opacity: 1; }
  .table-foot { font-size: 11px; }
}

@media (max-width: 640px) {
  .price-hero { padding: 30px 0 24px; }
  .price-hero h1 { font-size: 34px; }
  .price-stats {
    gap: 12px 26px;
    padding-top: 18px;
    margin-top: 22px;
  }
  .price-stats strong { font-size: 20px; }
  .price-stats span { font-size: 10.5px; }
  .sort-field { flex: 1; }
  .sort-field .xsel { flex: 1; width: 100%; }
  .estimator-form { grid-template-columns: 1fr; }
  .estimator-intro h2, .topup h2, .notes h2 { font-size: 20px; }
  .topup-grid { grid-template-columns: 1fr; }
  .estimate-out { grid-template-columns: 1fr 1fr; gap: 10px; }
  .estimate-card { padding: 13px 14px; }
  .estimate-card strong { font-size: 18px; }
  .notes details p { font-size: 12px; }
}
