.sell-toggle {
  display: flex;
  gap: 0;
  margin-bottom: 28px;
  border: 1px solid #ccc;
  border-radius: 12px;
  overflow: hidden;
}
.sell-toggle button {
  flex: 1;
  padding: 17px;
  font-size: 18px;
}
.sell-toggle button[aria-pressed='true'] {
  background: #222;
  color: #fff;
}
.sell-panel {
  margin: 0 0 30px;
  padding: 24px;
  border: 1px solid #ddd;
  border-radius: 14px;
}
.sell-panel > legend {
  font-size: 20px;
  font-weight: 700;
}
.sell-panel > div,
.sell-choices {
  margin: 0 0 22px;
}
.sell-panel select {
  width: 100%;
  padding: 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font: inherit;
  background: #fff;
  color: #222;
}
.sell-choices {
  border: 0;
  padding: 0;
}
.sell-choices legend {
  margin-bottom: 12px;
}
.sell-choices label {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 10px 10px 0 !important;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  cursor: pointer;
}
.sell-choices label:has(input:checked) {
  background: #222;
  color: #fff;
  border-color: #222;
}
.sell-panel .sell-choices input {
  width: 18px !important;
  height: 18px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  accent-color: #555;
}
.sell-panel [hidden],
.sell-panel[hidden],
.inquiry-types[hidden] {
  display: none !important;
}
@media (max-width: 600px) {
  .sell-panel {
    padding: 18px;
  }
  .sell-choices label {
    padding: 10px 12px;
  }
}

.sell-final-step {
  border: 0;
  padding: 0;
  margin: 28px 0 0;
  min-width: 0;
}
.sell-final-step[hidden] {
  display: none !important;
}

.sell-quote {
  padding: 24px;
  background: #f0f5f3;
  border: 1px solid #cbd8d1;
  border-radius: 12px;
  margin: 20px 0;
  color: #173b2d;
}
.sell-quote strong {
  font-size: clamp(22px, 4vw, 32px);
}
.sell-quote p {
  font-size: 14px;
  margin: 12px 0 0;
}

.dealer-faults {
  border: 1px solid #ddd;
  padding: 20px;
  margin: 24px 0;
}
.dealer-faults label {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin: 12px 0 !important;
}
.form-page .dealer-faults input[type='checkbox'] {
  display: inline-block;
  width: 20px;
  height: 20px;
  min-height: 20px;
  flex: 0 0 20px;
  margin: 0;
  padding: 0;
  accent-color: #222;
}
.dealer-faults button {
  padding: 12px 20px;
  border: 1px solid #999;
  border-radius: 6px;
  margin-top: 12px;
}
.dealer-faults button[aria-pressed='true'] {
  background: #222;
  color: #fff;
}

.sell-toggle[hidden] {
  display: none !important;
}

.contact-buyback-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  margin: 0 0 28px;
  border: 1px solid #222;
  border-radius: 10px;
  background: #222;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}
.contact-buyback-link:hover {
  background: #444;
}
.contact-buyback-link[hidden] {
  display: none !important;
}

.contact-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.contact-title-row h1 {
  margin: 0;
}
.contact-title-row .contact-buyback-link {
  margin: 0;
  padding: 12px 20px;
  font-size: 15px;
  white-space: nowrap;
}
.sell-route .form-page {
  max-width: 1100px;
  width: 100%;
  padding: 64px 40px 100px;
}
.sell-route .contact-title-row,
.sell-route .form-eyebrow,
.sell-route .form-intro {
  display: none;
}
.sell-loading [data-service-form='contact'] {
  visibility: hidden;
}
.sell-loading .form-page {
  min-height: 45vh;
}
.sell-route .sell-panel {
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.sell-route .sell-panel > legend,
.sell-product-first > label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.sell-route .sell-panel > div {
  margin-bottom: 28px;
}
.sell-route .sell-panel select,
.sell-route .sell-panel input:not([type='checkbox']):not([type='radio']) {
  min-height: 60px;
  padding: 18px 20px;
  border: 1px solid #dedede;
  border-radius: 12px;
  background: #fafafa;
  font-size: 17px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.sell-route .sell-panel select:focus,
.sell-route .sell-panel input:focus {
  outline: none;
  border-color: #555;
  box-shadow: 0 0 0 3px #2222220d;
}
.sell-route .sell-panel label {
  font-size: 14px;
  font-weight: 500;
  color: #555;
}
.sell-route .sell-quote {
  background: #f6f6f6;
  border-color: #e3e3e3;
  color: #222;
}
.sell-route .dealer-faults {
  border-radius: 12px;
  border-color: #e3e3e3;
}
.sell-product-first select {
  font-weight: 600;
}
@media (max-width: 600px) {
  .sell-route .form-page {
    padding: 32px 20px 64px;
  }
  .contact-title-row {
    gap: 12px;
  }
  .contact-title-row h1 {
    font-size: 26px;
  }
  .contact-title-row .contact-buyback-link {
    padding: 11px 14px;
    font-size: 14px;
  }
  .sell-route .sell-panel select {
    font-size: 16px;
  }
}

/* Quiet, spacious buyback form. */
.sell-route .form-page {
  max-width: 1040px;
  padding-top: 52px;
}
.sell-route .sell-panel > div {
  margin-bottom: 32px;
}
.sell-route .sell-panel label {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #666;
}
.sell-route .sell-panel select,
.sell-route .sell-panel input:not([type='checkbox']):not([type='radio']) {
  min-height: 66px;
  padding: 20px 22px;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  background: #f7f7f8;
  font-size: 17px;
  color: #222;
}
.sell-route .sell-panel select:hover {
  border-color: #aaa;
  background: #f3f3f4;
}
.sell-route .sell-product-first select {
  min-height: 78px;
  background: #fff;
  border-color: #bbb;
  font-size: 21px;
  letter-spacing: -0.03em;
}
.sell-route .dealer-faults {
  padding: 24px;
  border: 0;
  background: #f7f7f8;
  border-radius: 16px;
}
.sell-route .dealer-faults legend {
  font-size: 15px;
  font-weight: 600;
}
.sell-route .sell-final-step {
  padding-top: 28px;
  border-top: 1px solid #eee;
}
.sell-route .sell-quote {
  padding: 28px;
  border: 0;
  border-radius: 16px;
}
.sell-route .sell-quote p {
  line-height: 1.7;
  color: #777;
}
@media (max-width: 600px) {
  .sell-route .form-page {
    padding-top: 28px;
  }
  .sell-route .sell-panel select,
  .sell-route .sell-panel input:not([type='checkbox']):not([type='radio']) {
    min-height: 60px;
    padding: 17px 18px;
    font-size: 16px;
  }
  .sell-route .sell-product-first select {
    min-height: 70px;
    font-size: 19px;
  }
  .sell-route .sell-panel > div {
    margin-bottom: 24px;
  }
}

.dealer-native-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  padding: 0 !important;
  opacity: 0;
  pointer-events: none;
}
.dealer-options {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 6px;
}
.dealer-options button {
  min-width: 0;
  min-height: 64px;
  padding: 12px 8px;
  font-weight: 600;
  overflow-wrap: anywhere;
  border: 1px solid #ddd;
  border-radius: 14px;
  background: #f7f7f8;
  color: #444;
  font: inherit;
  line-height: 1.5;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.dealer-options button[aria-pressed='true'] {
  background: #222;
  color: #fff;
  border-color: #222;
}
.dealer-options button:focus-visible {
  outline: 3px solid #999;
  outline-offset: 3px;
}
.dealer-options[hidden] {
  display: none;
}
.sell-product-first:has(.dealer-options:not([hidden])) > label {
  position: static;
  width: auto;
  height: auto;
  clip-path: none;
  display: block;
}

.buyback-receipt {
  padding: 32px;
  border-radius: 16px;
  background: #f7f7f8;
}
.buyback-receipt h2 {
  font-size: 24px;
  margin-bottom: 20px;
}
.buyback-receipt h3 {
  margin-top: 28px;
}
.buyback-receipt p {
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.buyback-receipt > a {
  display: inline-block;
  margin: 6px 0 18px;
  color: #222;
  font-weight: 700;
}
.sell-route form[hidden] {
  display: none !important;
}

.sell-final-step [hidden],
.sell-final-step[hidden] {
  display: none !important;
}
.buyback-open {
  display: block;
  width: 100%;
  padding: 20px 26px;
  border: 0;
  border-radius: 14px;
  background: #222;
  color: #fff;
  font-family: inherit;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
}
.buyback-open:hover {
  background: #404040;
}
.buyback-application {
  padding: 28px 0 0;
  border-top: 1px solid #e5e5e5;
  scroll-margin-top: 100px;
}
.buyback-application h2 {
  margin: 0 0 22px;
  font-size: clamp(23px, 3vw, 32px);
  letter-spacing: -0.04em;
}
.buyback-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 26px;
}
.buyback-methods button {
  min-height: 72px;
  padding: 16px;
  border: 1px solid #d6d6d6;
  border-radius: 14px;
  background: #fff;
  color: #333;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
}
.buyback-methods button[aria-pressed='true'] {
  border-color: #222;
  background: #222;
  color: #fff;
}
.buyback-methods button:focus-visible,
.buyback-open:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}
.buyback-method-field {
  display: block;
  margin: 0 0 24px;
}
.buyback-method-field label {
  display: block;
  margin: 0 0 18px;
}
.buyback-method-field input {
  display: block;
  width: 100%;
  min-height: 58px;
  margin-top: 9px;
  padding: 15px 18px;
  border: 1px solid #d6d6d6;
  border-radius: 12px;
  background: #fff;
  color: #222;
  font: inherit;
}
.buyback-store-info {
  padding: 20px 22px;
  margin: 0 0 26px;
  border: 1px solid #e2e2e2;
  border-radius: 14px;
  background: #f8f8f8;
}
.buyback-store-info strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}
.buyback-store-info p {
  margin: 0 0 8px;
  line-height: 1.6;
}
.buyback-store-info a {
  color: #222;
  font-weight: 700;
}
.buyback-application .form-pair {
  gap: 16px;
  margin: 0 0 22px;
}
.buyback-application .form-pair > div {
  min-width: 0;
}
.buyback-application .form-pair label {
  display: block;
  margin: 0 0 8px;
}
.buyback-application .form-pair input {
  min-height: 58px;
  border: 1px solid #d6d6d6;
  border-radius: 12px;
  padding: 15px 18px;
  font-size: 16px;
}
.buyback-application .contact-consent {
  margin: 16px 0 24px;
}
.buyback-application .form-submit {
  border-radius: 12px;
  padding: 18px;
  font-size: 17px;
  font-weight: 700;
}
@media (max-width: 600px) {
  .buyback-application {
    padding-top: 22px;
  }
  .buyback-methods button {
    min-height: 62px;
    padding: 12px 8px;
    font-size: 15px;
  }
  .buyback-store-info {
    padding: 18px;
  }
}

/* Keep each choice group on one horizontal row at every viewport. */
.sell-route .sell-panel select {
  border: 0;
}
.sell-route .sell-panel select:focus-visible {
  outline: 3px solid #999;
  outline-offset: 3px;
}
.sell-route .dealer-options button,
.sell-route .sell-choices label,
.sell-route .dealer-faults button,
.sell-route .buyback-methods button {
  border: 0;
}
.sell-route .sell-choices label:not(:has(input:checked)),
.sell-route .buyback-methods button:not([aria-pressed='true']) {
  background: #f7f7f8;
}
.sell-route .sell-choices label:has(input:checked) {
  color: #fff;
}
.sell-route .dealer-faults button:not([aria-pressed='true']) {
  background: #fff;
}
.sell-route .sell-panel > div {
  margin-bottom: 20px;
}
.sell-route .sell-panel label {
  margin-bottom: 8px;
}
.sell-route .sell-choices {
  display: flex;
  gap: 6px;
  min-width: 0;
}
.sell-route .sell-choices label {
  flex: 1;
  min-width: 0;
  min-height: 64px;
  justify-content: center;
  padding: 12px 8px;
  margin: 0 !important;
  overflow-wrap: anywhere;
}
.sell-route .sell-choices input {
  flex-shrink: 0;
}
.dealer-options button {
  font-size: 16px;
  font-weight: 600;
}
@media (max-width: 600px) {
  .sell-route .form-page {
    padding-left: 14px;
    padding-right: 14px;
  }
  .dealer-options button {
    padding: 10px 5px;
    font-size: 15px;
  }
  .sell-route .sell-choices label {
    padding: 10px 5px;
    font-size: 14px;
  }
  .sell-route .sell-panel > div {
    margin-bottom: 18px;
  }
}
