/* Compact Pricing selector; shared website styles remain untouched. */
.pricing-page {
  max-width: 960px;
  padding-block: 36px 48px;
}
.pricing-page > .page-kicker {
  margin: 0 0 10px;
  font-size: 12px;
}
.pricing-page > h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.04em;
}
.pricing-page > h1 br {
  display: none;
}
.pricing-page > h1 .blue::before {
  content: " ";
  white-space: pre;
}
.pricing-page > .page-intro {
  max-width: none;
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.6;
}
.pricing-page [hidden] {
  display: none !important;
}
.pricing-page .price-browser {
  margin-top: 26px;
}
.pricing-page .pricing-picker {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #dce3ef;
  border-radius: 18px;
  background: white;
  box-shadow: 0 12px 40px #152b5106;
}
.pricing-page .pricing-model-picker {
  min-width: 0;
  padding: 24px 28px;
}
.pricing-page .pricing-model-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font:
    600 16px/1.4 "DM Sans",
    sans-serif;
  letter-spacing: -0.015em;
}
.pricing-page .pricing-step {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #edf2ff;
  color: var(--blue);
  font-size: 12px;
}
.pricing-page .pricing-fields {
  display: grid;
  grid-template-columns: minmax(160px, 0.65fr) minmax(0, 1fr);
  gap: 20px;
}
.pricing-page .pricing-field-label,
.pricing-page .pricing-family-field label {
  display: block;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.pricing-page .pricing-family-field form {
  margin: 0;
}
.pricing-page .pricing-family-field select,
.pricing-page .pricing-model-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #cdd6e8;
  border-radius: 9px;
  background: white;
  color: var(--navy);
  font:
    400 16px/1.4 "DM Sans",
    sans-serif;
  text-align: left;
}
.pricing-page .pricing-family-value {
  display: flex;
  align-items: center;
  min-height: 48px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #e7ebf2;
  border-radius: 9px;
  background: #f7f9fc;
  color: var(--navy);
  font-size: 15px;
}
.pricing-page .pricing-device-submit {
  margin-top: 10px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #ccd7ee;
  border-radius: 9px;
  background: #f3f6ff;
  color: var(--blue);
}
.pricing-page .pricing-model-field {
  position: relative;
  min-width: 0;
}
.pricing-page .pricing-model-toggle {
  cursor: pointer;
}
.pricing-page .pricing-model-toggle:hover,
.pricing-page .pricing-model-toggle[aria-expanded="true"] {
  border-color: var(--blue);
}
.pricing-page [data-selected-model] {
  min-width: 0;
  overflow-wrap: anywhere;
}
.pricing-page .pricing-chevron {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  margin-right: 3px;
}
.pricing-page .pricing-model-toggle[aria-expanded="true"] .pricing-chevron {
  transform: translateY(2px) rotate(225deg);
}
.pricing-page .pricing-model-popup {
  padding: 8px;
  background: white;
  border: 1px solid #dce3ef;
  border-radius: 11px;
}
.pricing-page [data-dropdown-ready] .pricing-model-popup {
  position: absolute;
  z-index: 20;
  inset: calc(100% + 6px) 0 auto;
  box-shadow: 0 14px 36px #152b5124;
}
.pricing-page .pricing-search {
  padding-bottom: 8px;
}
.pricing-page .pricing-search label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.pricing-page .pricing-search input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #dce3ef;
  border-radius: 7px;
  background: #f8f9fc;
  color: var(--navy);
  font:
    400 16px/1.4 "DM Sans",
    sans-serif;
}
.pricing-page .pricing-models {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 3px;
  max-height: min(248px, 35dvh);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.pricing-page .pricing-models a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border: 0;
  border-radius: 6px;
  background: white;
  color: var(--navy);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
}
.pricing-page .pricing-models a:hover,
.pricing-page .pricing-models a[data-highlighted] {
  background: #edf2ff;
  color: var(--blue);
  text-decoration: none;
}
.pricing-page .pricing-models a[aria-current] {
  color: var(--blue);
  background: #f5f7ff;
  font-weight: 600;
}
.pricing-page .pricing-models a[aria-current]::after {
  content: "✓";
  flex-shrink: 0;
}
.pricing-page .pricing-model-name {
  min-width: 0;
  overflow-wrap: anywhere;
}
.pricing-page .pricing-search-empty {
  margin: 0;
  padding: 12px;
  font-size: 13px;
  line-height: 1.6;
}
.pricing-page .pricing-results {
  min-width: 0;
  padding: 24px 28px 28px;
  border-top: 1px solid #e8ecf3;
}
.pricing-page .pricing-result-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.pricing-page .pricing-result-heading .page-kicker {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 12px;
}
.pricing-page .pricing-result-heading h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
  scroll-margin-block: 90px;
}
.pricing-page .pricing-result-count {
  font-size: 12px;
  color: var(--muted);
  flex-shrink: 0;
}
.pricing-page .public-repair-grid,
.pricing-page .public-repair-grid.is-single {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}
.pricing-page .public-repair-card {
  display: block;
  min-width: 0;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}
.pricing-page .pricing-service {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
  padding: 18px 20px;
  border: 1px solid #dce3ef;
  border-radius: 12px;
  background: white;
  color: var(--navy);
  text-decoration: none;
  transition:
    border-color 150ms,
    background-color 150ms;
}
.pricing-page .pricing-service:hover {
  text-decoration: none;
  border-color: #8ba4ff;
  background: #fafbff;
}
.pricing-page .pricing-service[aria-current] {
  border-color: var(--blue);
  background: #f7f9ff;
  box-shadow: inset 0 0 0 1px var(--blue);
}
.pricing-page .pricing-service-top {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.pricing-page .public-repair-title {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.pricing-page .public-repair-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 10px;
  background: #edf2ff;
  color: var(--blue);
}
.pricing-page .public-repair-icon svg {
  width: 21px;
  height: 21px;
}
.pricing-page .pricing-service-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.pricing-page .pricing-service-check {
  display: none;
}
.pricing-page .pricing-service-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  gap: 6px;
}
.pricing-page .public-repair-price {
  display: block;
  margin: 0;
  color: var(--navy);
  font:
    600 24px/1.2 "Space Grotesk",
    sans-serif;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.pricing-page .public-repair-price > span {
  margin-left: 4px;
  font:
    400 10px/1 "DM Sans",
    sans-serif;
  letter-spacing: 0;
  color: var(--muted);
}
.pricing-page .pricing-service-state {
  font-size: 11px;
  font-weight: 500;
  color: var(--blue);
}
.pricing-page .pricing-service-state > span:last-child {
  display: none;
}
.pricing-page .pricing-service[aria-current] .pricing-service-state > span:first-child {
  display: none;
}
.pricing-page .pricing-service[aria-current] .pricing-service-state > span:last-child {
  display: inline;
}
.pricing-page .pricing-selection {
  position: static;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 6px 24px;
  min-width: 0;
  margin: 0;
  padding: 20px 28px;
  border: 0;
  border-top: 1px solid #dce3ef;
  border-radius: 0 0 18px 18px;
  background: #f8faff;
  color: var(--navy);
  box-shadow: none;
}
.pricing-page .pricing-selection-heading {
  grid-column: 1;
}
.pricing-page .pricing-summary-mark {
  display: none;
}
.pricing-page .pricing-selection .page-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}
.pricing-page .pricing-selection-detail {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
}
.pricing-page .pricing-selection h2 {
  margin: 0;
  font:
    600 14px/1.5 "DM Sans",
    sans-serif;
  letter-spacing: 0;
  color: var(--navy);
  overflow-wrap: anywhere;
  scroll-margin-block: 90px;
}
.pricing-page .pricing-selection-note {
  margin: 6px 0 0;
  max-width: 350px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}
.pricing-page .pricing-selection-total {
  grid-column: 2;
  grid-row: 1 / 3;
  text-align: right;
}
.pricing-page .pricing-selection-total > span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 5px;
}
.pricing-page .pricing-selection-price {
  margin: 0;
  font:
    600 23px/1.3 "Space Grotesk",
    sans-serif;
  letter-spacing: -0.03em;
  color: var(--navy);
  white-space: nowrap;
}
.pricing-page .pricing-selection .button {
  grid-column: 3;
  grid-row: 1 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  max-width: 230px;
  padding: 13px 18px;
  border: 1px solid var(--blue);
  border-radius: 9px;
  background: var(--blue);
  color: white;
  box-shadow: none;
  font:
    600 13px/1.4 "DM Sans",
    sans-serif;
  text-align: center;
  white-space: normal;
}
.pricing-page .pricing-selection a.button:hover {
  background: #1639dc;
  transform: none;
}
.pricing-page .pricing-selection button:disabled {
  color: #647086;
  background: #e8ecf3;
  border-color: #e8ecf3;
  cursor: not-allowed;
}
.pricing-page .pricing-prompt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  min-height: 120px;
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.pricing-page .pricing-prompt-icon {
  display: none;
}
.pricing-page .pricing-prompt .page-kicker {
  font-size: 12px;
  color: var(--muted);
}
.pricing-page .pricing-prompt h2,
.pricing-page .pricing-empty h2 {
  margin: 0;
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: -0.03em;
}
.pricing-page .pricing-prompt p {
  max-width: none;
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}
.pricing-page .pricing-empty {
  padding: 28px;
  background: white;
  border: 1px solid #dce3ef;
  border-radius: 18px;
}
.pricing-page .pricing-empty p {
  margin: 12px 0 20px;
}
.pricing-page .pricing-support {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px 8px;
  margin: 14px 0 0;
  padding: 0;
  font-size: 12px;
  color: var(--muted);
}
.pricing-page .pricing-support a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 6px;
  font-weight: 600;
}
.pricing-page .pricing-search-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.pricing-page :is(a, button, input, [tabindex]):focus-visible {
  outline: 3px solid #245cff;
  outline-offset: 4px;
}
.pricing-page .pricing-model-result {
  animation: pricing-reveal 150ms ease-out;
}
@keyframes pricing-reveal {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
@media (max-width: 720px) {
  .pricing-page {
    padding-block: 24px 32px;
  }
  .pricing-page > h1 {
    font-size: 30px;
  }
  .pricing-page > h1 .blue {
    display: block;
  }
  .pricing-page > h1 .blue::before {
    content: none;
  }
  .pricing-page > .page-intro {
    font-size: 13px;
    margin-top: 10px;
  }
  .pricing-page .price-browser {
    margin-top: 20px;
  }
  .pricing-page .pricing-picker {
    border-radius: 14px;
  }
  .pricing-page .pricing-model-picker {
    padding: 18px;
  }
  .pricing-page .pricing-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .pricing-page .pricing-model-heading {
    font-size: 15px;
    margin-bottom: 16px;
  }
  .pricing-page .pricing-results {
    padding: 18px;
  }
  .pricing-page .pricing-result-heading {
    margin-bottom: 12px;
  }
  .pricing-page .pricing-result-heading h2 {
    font-size: 21px;
  }
  .pricing-page .pricing-service {
    padding: 14px;
    gap: 14px;
    min-height: 84px;
  }
  .pricing-page .public-repair-title {
    gap: 10px;
  }
  .pricing-page .pricing-service-name {
    font-size: 14px;
  }
  .pricing-page .public-repair-icon {
    display: none;
  }
  .pricing-page .public-repair-price {
    font-size: 22px;
  }
  .pricing-page .public-repair-price > span {
    display: none;
  }
  .pricing-page .pricing-selection {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 14px;
    padding: 18px;
    border-radius: 0 0 14px 14px;
  }
  .pricing-page .pricing-selection h2 {
    font-size: 13px;
  }
  .pricing-page .pricing-selection-price {
    font-size: 20px;
    white-space: normal;
  }
  .pricing-page .pricing-selection-total {
    max-width: 140px;
    align-self: start;
  }
  .pricing-page .pricing-selection .button {
    grid-row: 3;
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    margin-top: 10px;
  }
  .pricing-page .pricing-selection-note {
    max-width: none;
  }
  .pricing-page .pricing-support {
    text-align: center;
  }
}
@media (max-width: 380px) {
  .pricing-page > h1 {
    font-size: 27px;
  }
  .pricing-page .pricing-service {
    gap: 10px;
    padding: 12px;
  }
  .pricing-page .pricing-selection {
    grid-template-columns: minmax(0, 1fr);
  }
  .pricing-page .pricing-selection-total {
    grid-column: 1;
    grid-row: 3;
    max-width: none;
    text-align: left;
    margin-top: 8px;
  }
  .pricing-page .pricing-selection .button {
    grid-row: 4;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pricing-page .pricing-model-result {
    animation: none;
  }
  .pricing-page :is(.pricing-service, .pricing-models a, .pricing-device) {
    transition: none;
    transform: none;
  }
}
