/* Design 1: slightly more compact, with dark text and fewer repeated prices. */
body {
  font-size: 16px;
}
.btn,
.btn.small {
  min-height: 44px;
  padding: 11px 15px;
  font-size: 15px;
}
.panel h2 {
  font-size: 23px;
}
.panel p,
.subtext,
.field > span,
.field > label {
  font-size: 16px;
}
.field input,
.field select,
.field textarea {
  min-height: 46px;
  padding: 10px 12px;
}
.market-tabs button {
  min-height: 44px;
  padding: 11px 15px;
  font-size: 15px;
}
.home-wrap .mode-explainer > div {
  padding: 13px 16px;
}
.home-wrap .mode-explainer strong {
  font-size: 15px;
}
.home-wrap .section-heading h2 {
  font-size: 29px;
}
.home-intro-process {
  padding: 20px 28px;
}
.cards {
  gap: 18px;
}
.listing-card .card-content {
  padding: 17px;
}
.listing-card .card-title,
.listing-card .card-name {
  font-size: 22px;
  line-height: 1.25;
}
.listing-card .card-meta {
  font-size: 16px;
  margin: 9px 0 7px;
  gap: 8px;
}
.listing-card .card-location {
  font-size: 15px;
  margin-bottom: 11px;
  gap: 8px;
}
.country-flag {
  width: 24px;
  height: 16px;
}
.listing-card .condition-line {
  font-size: 14px;
  padding: 5px 8px;
  gap: 5px;
}
.listing-card .card-image .sale-badge {
  font-size: 13px;
  padding: 7px 10px;
  left: 11px;
  bottom: 11px;
}
.listing-card .card-pricing {
  gap: 9px;
  margin-top: 14px;
}
.listing-card .card-pricing.dual-pricing {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.listing-card .card-pricing .price-tile {
  padding: 11px 10px;
  gap: 5px;
  min-width: 0;
}
.listing-card .card-pricing .price-label {
  font-size: 13px;
  letter-spacing: 0;
}
.listing-card .card-pricing .price {
  font-size: 28px;
  letter-spacing: -0.8px;
}
.listing-card .card-bid-state {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  min-height: 20px;
  line-height: 1.5;
  color: #505862;
  margin: 7px 0 0;
}
.card-bid-state svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.listing-card .card-actions {
  margin-top: 12px;
  gap: 9px;
  flex-wrap: nowrap;
}
.listing-card .card-actions .btn {
  flex-basis: 0;
  font-size: 15px;
  padding: 10px;
  min-height: 44px;
}
.listing-card .card-foot {
  margin-top: 12px;
  gap: 6px;
  font-size: 13px;
}
.listing-card .compare-card-link {
  font-size: 14px;
  gap: 5px;
}
.listing-card .card-pricing .own-bid,
.motor-detail-page .current-bid.own-bid {
  background: #edf8f0;
  border-color: #9bc8ab;
  border-left-color: #21713e;
}
.listing-card .card-pricing .own-bid .price,
.listing-card .card-pricing .own-bid .price-label,
.listing-card .own-bid-text,
.motor-detail-page .current-bid.own-bid .detail-price,
.motor-detail-page .current-bid.own-bid .price-label,
.motor-detail-page .current-bid.own-bid .price-hint,
.motor-detail-page .current-bid.own-bid a {
  color: #176136;
}
.listing-card .outbid-text {
  color: #8e361c;
  font-weight: 600;
}
.motor-detail-page .page-title {
  font-size: 36px;
}
.detail-meta {
  font-size: 18px;
  margin: 9px 0 8px;
}
.detail-location {
  font-size: 16px;
}
.motor-detail-page .panel {
  padding: 22px;
  margin-bottom: 20px;
}
.motor-detail-page .panel h2 {
  font-size: 23px;
}
.motor-detail-page .panel p {
  font-size: 16px;
  line-height: 1.6;
}
.motor-detail-page .panel .help-note {
  font-size: 14px;
}
.motor-detail-page .purchase-panel .purchase-title {
  font-size: 24px;
  margin: 16px 0;
}
.motor-detail-page .detail-price-tile {
  padding: 16px;
  gap: 6px;
  margin: 12px 0;
}
.motor-detail-page .detail-price-tile .price-label {
  font-size: 14px;
}
.motor-detail-page .detail-price {
  font-size: 36px;
}
.motor-detail-page .detail-price-tile .price-hint {
  font-size: 14px;
}
.motor-detail-page .purchase-panel .buy-button {
  min-height: 48px;
  font-size: 16px;
}
.motor-detail-page .bid-section {
  display: block;
  margin-top: 20px;
  padding-top: 18px;
}
.bid-section h3 {
  font-size: 21px;
  margin: 0 0 12px;
}
.motor-detail-page .bid-section .current-bid {
  display: flex;
  margin: 0 0 16px;
  padding: 14px 16px;
}
.motor-detail-page .bid-section .current-bid strong {
  font-size: 32px;
}
.motor-detail-page .bid-form {
  flex-direction: row;
  gap: 9px;
  margin-top: 7px;
}
.motor-detail-page .bid-form input {
  min-width: 0;
  width: 100%;
  min-height: 48px;
  font-size: 19px;
  padding: 10px 12px;
}
.motor-detail-page .bid-form button {
  width: auto;
  min-height: 48px;
  font-size: 15px;
  padding: 10px 14px;
  white-space: nowrap;
}
.motor-detail-page #bid-form .field > span {
  font-size: 16px;
}
.motor-detail-page .bid-rules {
  font-size: 14px;
  margin-top: 12px;
}
.motor-detail-page .private-buyer-cost {
  padding: 13px 15px;
  margin-top: 18px;
  font-size: 14px;
}
.private-buyer-cost summary {
  cursor: pointer;
  font-weight: 650;
}
.motor-detail-page .private-buyer-cost p {
  font-size: 14px;
}
.motor-detail-page .specs div {
  padding: 12px 0;
  font-size: 16px;
}
.specs dt {
  font-size: 15px;
}
.specs dd {
  font-size: 16px;
}
.bid-history .bid-row {
  padding: 13px 10px;
}
.bid-history .bid-row > div > strong {
  font-size: 22px;
}
.bid-history .own-bid-row {
  background: #edf8f0;
  border-left: 4px solid #21713e;
  border-radius: 6px;
}
.bid-history .own-bid-row > div > strong,
.bid-history .own-bid-row .bid-status {
  color: #176136;
}
.motor-detail-page .comparison-links strong {
  font-size: 17px;
}
.motor-detail-page .comparison-links small {
  font-size: 14px;
}
.motor-detail-page .comparison-links a {
  padding: 14px;
}
.pickup-city {
  font-size: 17px;
  margin-bottom: 14px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.account-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}
.account-sidebar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  position: sticky;
  top: 20px;
}
.account-identity {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 22px 17px;
  border-bottom: 1px solid var(--line);
}
.account-identity > svg {
  width: 37px;
  height: 37px;
  border-radius: 50%;
  padding: 8px;
  background: #f3f5f7;
  color: #505862;
  flex-shrink: 0;
}
.account-identity strong {
  display: block;
  font-size: 15px;
  overflow-wrap: anywhere;
}
.account-identity span {
  display: block;
  font-size: 13px;
  color: #505862;
  margin-top: 2px;
}
.account-navigation {
  padding: 9px;
  display: grid;
  gap: 3px;
}
.account-navigation > button,
.account-navigation > a,
.account-logout {
  border: 0;
  background: transparent;
  text-align: left;
  color: #505862;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 10px;
  font-size: 15px;
  min-height: 46px;
  border-radius: 6px;
  cursor: pointer;
  line-height: 1.4;
}
.account-navigation > button:hover,
.account-navigation > a:hover,
.account-logout:hover {
  background: #f3f5f7;
}
.account-navigation > button[aria-current="page"] {
  background: #f3f5f7;
  color: #505862;
  font-weight: 700;
  box-shadow: inset 3px 0 #626b76;
}
.account-navigation svg,
.account-logout svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}
.account-navigation .counter {
  margin-left: auto;
  min-width: 22px;
  font-size: 12px;
  color: #505862;
  background: #f3f5f7;
}
.account-logout {
  margin: 22px 9px 9px;
  border-top: 1px solid var(--line);
  border-radius: 0;
  width: calc(100% - 18px);
  padding-top: 17px;
}
.account-main {
  min-width: 0;
}
.account-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.account-heading .page-title {
  font-size: 30px;
  margin: 7px 0;
  letter-spacing: -0.8px;
}
.account-heading p {
  color: #505862;
  font-size: 15px;
}
.account-heading > .btn {
  flex-shrink: 0;
}
.account-page .dashboard-item {
  padding: 20px;
  border-color: var(--line);
  gap: 18px;
}
.account-page .dashboard-item h3 {
  font-size: 19px;
  color: #15181c;
}
.account-page .dashboard-item p,
.account-page .status {
  font-size: 15px;
}
.account-page .dashboard-bids .split {
  gap: 12px;
  padding: 11px 0;
  font-size: 14px;
  flex-wrap: wrap;
}
.my-bids-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 17px;
}
.bid-view-switch {
  display: flex;
  padding: 3px;
  background: #f3f5f7;
  border: 1px solid #d7dce1;
  border-radius: 8px;
}
.bid-view-switch button {
  border: 0;
  background: transparent;
  color: #505862;
  font-size: 14px;
  padding: 9px 14px;
  min-height: 40px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
}
.bid-view-switch button[aria-pressed="true"] {
  background: #fff;
  color: #505862;
  box-shadow: 0 1px 4px #5058621f;
}
.bid-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #d7dce1;
  border-radius: 7px;
  padding: 0 12px;
  flex: 1;
  min-width: 160px;
}
.bid-search svg {
  width: 18px;
  height: 18px;
  color: #505862;
  flex-shrink: 0;
}
.bid-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline-offset: 2px;
  padding: 12px 0;
  font-size: 14px;
  background: transparent;
  color: #15181c;
  min-height: 44px;
}
.bid-search input::placeholder {
  color: #505862;
  opacity: 1;
}
.bid-select select {
  background: #fff;
  color: #505862;
  font-size: 14px;
  min-height: 46px;
  max-width: 100%;
  padding: 10px;
  border: 1px solid #d7dce1;
  border-radius: 7px;
}
.my-bids-container {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.my-bids-table {
  border-collapse: collapse;
  width: 100%;
  color: #15181c;
  font-size: 14px;
  text-align: left;
}
.my-bids-table th {
  background: #f3f5f7;
  color: #505862;
  font-weight: 600;
  font-size: 13px;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.my-bids-table td {
  padding: 16px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.my-bids-table tr:last-child td {
  border-bottom: 0;
}
.my-bid-motor {
  min-width: 230px;
}
.my-bid-motor > img {
  width: 74px;
  height: 58px;
  object-fit: cover;
  border-radius: 6px;
  float: left;
  margin-right: 12px;
  background: #f3f5f7;
}
.my-bid-motor > div {
  padding-top: 2px;
}
.my-bid-motor a,
.my-bid-motor > div > strong {
  display: block;
  color: #505862;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}
.my-bid-motor > div > span {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  color: #505862;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 6px;
}
.my-bid-motor .country-flag {
  width: 18px;
  height: 12px;
}
.my-bid-own strong,
.my-bid-highest strong {
  font-size: 17px;
  white-space: nowrap;
}
.my-bid-own .my-bid-value,
.bid-state-leading .my-bid-highest strong {
  color: #176136;
}
.my-bid-status small {
  display: block;
  color: #505862;
  margin-top: 6px;
  font-size: 12px;
  white-space: nowrap;
}
.bid-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  padding: 5px 7px;
  border-radius: 5px;
  line-height: 1.4;
  white-space: nowrap;
  font-weight: 650;
  color: #505862;
  background: #f3f5f7;
}
.bid-status-badge svg {
  width: 15px;
  height: 15px;
}
.status-leading,
.status-accepted {
  color: #176136;
  background: #edf8f0;
}
.status-outbid {
  color: #8e361c;
  background: #fff1e6;
}
.account-bid-form {
  min-width: 255px;
}
.quick-bids {
  display: flex;
  gap: 7px;
  margin: 0 0 9px;
  flex-wrap: wrap;
}
.quick-bids button {
  color: #505862;
  background: #fff;
  border: 1px solid #d7dce1;
  min-height: 36px;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
}
.quick-bids button:hover {
  background: #f3f5f7;
}
.account-bid-form .quick-bids {
  margin-bottom: 7px;
}
.account-bid-form .quick-bids button {
  flex: 1;
  padding: 6px;
}
.account-bid-input {
  display: flex;
  gap: 7px;
}
.account-bid-input input {
  width: 85px;
  flex: 1;
  min-width: 0;
  min-height: 44px;
  border: 1px solid #d7dce1;
  border-radius: 6px;
  padding: 9px;
  font-size: 16px;
  color: #15181c;
  background: #fff;
}
.account-bid-input .btn {
  font-size: 14px;
  padding: 10px 13px;
  white-space: nowrap;
}
.account-bid-form .form-error {
  font-size: 13px;
  margin: 0;
  max-width: 320px;
}
.account-bid-form .form-error:not(:empty) {
  margin-top: 7px;
}
.account-bid-note {
  margin-top: 16px;
}
.profile-form {
  max-width: 620px;
}
.profile-form h2 {
  margin-bottom: 22px;
}
.profile-form input[readonly] {
  background: #f3f5f7;
  color: #505862;
}
.account-favorites.cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.cards-view.my-bids-container {
  background: transparent;
  border: 0;
  overflow: visible;
}
.cards-view .my-bids-table,
.cards-view .my-bids-table tbody {
  display: block;
}
.cards-view .my-bids-table thead {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  width: 1px;
  overflow: hidden;
}
.cards-view .my-bids-table tbody {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.cards-view .my-bid-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  gap: 14px;
}
.cards-view .my-bids-table td {
  display: block;
  padding: 0;
  border: 0;
  min-width: 0;
}
.cards-view .my-bid-motor,
.cards-view .my-bid-status,
.cards-view .my-bid-action {
  grid-column: 1/-1;
}
.cards-view .my-bid-own::before,
.cards-view .my-bid-highest::before {
  content: attr(data-label);
  display: block;
  font-size: 13px;
  color: #505862;
  margin-bottom: 5px;
}
.cards-view .my-bid-status {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cards-view .my-bid-status small {
  margin: 0;
}
.cards-view .account-bid-form {
  min-width: 0;
}
.cards-view .account-bid-input input {
  width: 100%;
}

@media (min-width: 1700px) {
  .cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 1300px) {
  .account-layout {
    grid-template-columns: 195px minmax(0, 1fr);
    gap: 20px;
  }
  .account-navigation > button,
  .account-navigation > a {
    font-size: 14px;
    padding: 11px 8px;
    gap: 8px;
  }
  .account-favorites.cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .my-bids-container {
    overflow: auto;
  }
}
@media (max-width: 1000px) {
  .account-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  .account-sidebar {
    position: static;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  .account-identity {
    border: 0;
    padding: 13px 15px;
    flex: 1;
  }
  .account-logout {
    margin: 0 8px 0 0;
    width: auto;
    border: 0;
    padding: 12px;
    font-size: 14px;
  }
  .account-navigation {
    order: 3;
    display: flex;
    padding: 6px;
    overflow-x: auto;
    width: 100%;
    border-top: 1px solid var(--line);
  }
  .account-navigation > button,
  .account-navigation > a {
    flex-shrink: 0;
    white-space: nowrap;
  }
  .account-heading {
    margin-bottom: 18px;
  }
}
@media (max-width: 700px) {
  .cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .home-intro-process {
    padding: 18px;
  }
  .listing-card .card-name,
  .listing-card .card-title {
    font-size: 22px;
  }
  .listing-card .card-content {
    padding: 17px;
  }
  .motor-detail-page .page-title {
    font-size: 30px;
  }
  .motor-detail-page .panel {
    padding: 19px;
  }
  .motor-detail-page .panel h2 {
    font-size: 22px;
  }
  .motor-detail-page .panel p {
    font-size: 16px;
  }
  .motor-detail-page .purchase-panel .purchase-title {
    font-size: 24px;
  }
  .motor-detail-page .bid-form {
    flex-direction: column;
  }
  .motor-detail-page .bid-form button {
    width: 100%;
  }
  .account-heading .page-title {
    font-size: 27px;
  }
  .account-heading {
    flex-wrap: wrap;
    gap: 14px;
  }
  .account-heading > .btn {
    font-size: 14px;
  }
  .account-page .dashboard-item {
    padding: 17px;
  }
  .account-page .dashboard-item h3 {
    font-size: 18px;
  }
  .my-bids-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 9px;
  }
  .bid-search {
    min-width: 0;
  }
  .bid-select select {
    width: 100%;
    font-size: 13px;
  }
  .bid-view-switch button {
    flex: 1;
    padding: 9px 10px;
  }
  .my-bids-container {
    border: 0;
    background: transparent;
    overflow: visible;
  }
  .my-bids-table,
  .my-bids-table tbody {
    display: block;
  }
  .my-bids-table thead {
    position: absolute;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    width: 1px;
    overflow: hidden;
  }
  .my-bid-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    padding: 17px;
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    margin-bottom: 14px;
    background: #fff;
  }
  .my-bids-table td {
    display: block;
    border: 0;
    padding: 0;
    min-width: 0;
  }
  .my-bid-motor,
  .my-bid-status,
  .my-bid-action {
    grid-column: 1/-1;
  }
  .my-bid-own::before,
  .my-bid-highest::before {
    content: attr(data-label);
    display: block;
    color: #505862;
    font-size: 13px;
    margin-bottom: 5px;
  }
  .my-bid-status {
    display: flex !important;
    align-items: center;
    gap: 10px;
  }
  .my-bid-status small {
    margin: 0;
  }
  .my-bid-motor {
    min-width: 0;
  }
  .account-bid-form {
    min-width: 0;
  }
  .cards-view .my-bids-table tbody {
    grid-template-columns: minmax(0, 1fr);
  }
  .cards-view .my-bid-row {
    margin: 0;
  }
  .account-favorites.cards {
    grid-template-columns: minmax(0, 1fr);
  }
}
@container motorcard (max-width:340px) {
  .listing-card .card-pricing .price {
    font-size: 26px;
  }
}
