/* ==========================================================
   Got Hot Wheels Auctions - Buyer Dashboard Polish v71
   Scope: /buyer/dashboard only
   ========================================================== */

html body.ghw71-buyer-polish .ghw66-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: start !important;
  gap: 18px !important;
}

html body.ghw71-buyer-polish .ghw66-hero .ghw66-actions {
  min-width: 300px !important;
  max-width: 300px !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 9px !important;
  justify-content: end !important;
  align-items: start !important;
}

html body.ghw71-buyer-polish .ghw66-hero .ghw66-actions a {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 38px !important;
  padding: 0 10px !important;
  font-size: 11px !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

html body.ghw71-buyer-polish .ghw66-hero .ghw66-actions a[href="/marketplace-tools"] {
  grid-column: 1 / -1 !important;
  color: #ffd45a !important;
  border-color: rgba(255,157,0,.80) !important;
}

html body.ghw71-buyer-polish .ghw66-grid.two {
  align-items: stretch !important;
}

html body.ghw71-buyer-polish .ghw66-card {
  padding: 24px !important;
}

html body.ghw71-buyer-polish .ghw66-card h2 {
  margin-bottom: 16px !important;
}

/* Clean saved-search form into a stable card layout. */
html body.ghw71-buyer-polish .ghw66-card .ghw66-form.inline,
html body.ghw71-buyer-polish form.ghw70-saved-search-fixed {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 10px !important;
  align-items: center !important;
  overflow: visible !important;
}

html body.ghw71-buyer-polish .ghw66-card .ghw66-form.inline input:not([type="checkbox"]),
html body.ghw71-buyer-polish .ghw66-card .ghw66-form.inline select {
  min-width: 0 !important;
  width: 100% !important;
  height: 46px !important;
  min-height: 46px !important;
  padding: 0 13px !important;
  border-radius: 9px !important;
  box-sizing: border-box !important;
}

html body.ghw71-buyer-polish .ghw66-card .ghw66-form.inline .ghw66-check {
  min-width: 0 !important;
  width: 100% !important;
  height: 46px !important;
  min-height: 46px !important;
  justify-content: flex-start !important;
  padding: 0 13px !important;
  border-radius: 9px !important;
  box-sizing: border-box !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 1000 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
}

html body.ghw71-buyer-polish .ghw66-card .ghw66-form.inline .ghw66-check input[type="checkbox"] {
  width: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  max-height: 18px !important;
  flex: 0 0 18px !important;
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  accent-color: #ff9d00 !important;
}

html body.ghw71-buyer-polish .ghw66-card .ghw66-form.inline button {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  font-size: 13px !important;
  letter-spacing: .05em !important;
}

html body.ghw71-buyer-polish .ghw71-empty-note {
  margin: 14px 0 0 !important;
  padding: 12px 13px !important;
  border: 1px solid rgba(255,157,0,.22) !important;
  border-radius: 10px !important;
  background: rgba(255,157,0,.06) !important;
  color: #dce4ef !important;
  line-height: 1.35 !important;
}

html body.ghw71-buyer-polish .ghw66-list:empty::after {
  content: "No saved searches yet. Save one above to find it quickly later." !important;
  display: block !important;
  margin-top: 14px !important;
  color: #dce4ef !important;
}

html body.ghw71-buyer-polish .ghw66-card a[href="/wishlist"] {
  color: #ffd45a !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
}

@media (max-width: 980px) {
  html body.ghw71-buyer-polish .ghw66-hero {
    grid-template-columns: 1fr !important;
  }

  html body.ghw71-buyer-polish .ghw66-hero .ghw66-actions {
    min-width: 0 !important;
    max-width: 100% !important;
  }
}

@media (max-width: 620px) {
  html body.ghw71-buyer-polish .ghw66-hero .ghw66-actions,
  html body.ghw71-buyer-polish .ghw66-card .ghw66-form.inline {
    grid-template-columns: 1fr !important;
  }

  html body.ghw71-buyer-polish .ghw66-hero .ghw66-actions a[href="/marketplace-tools"] {
    grid-column: auto !important;
  }
}
