/* ==========================================================
   Got Hot Wheels Auctions - Checkout + Orders Cleanup v61
   Scope: order index, order detail, checkout, admin orders
   ========================================================== */

html body.ghw61-order-clean {
  overflow-x: hidden !important;
}

html body.ghw61-order-clean .ghw61-orders-page {
  min-height: 70vh !important;
  padding: 34px 0 70px !important;
  background:
    radial-gradient(circle at 84% 0%, rgba(237,17,28,.15), transparent 32rem),
    radial-gradient(circle at 14% 28%, rgba(255,157,0,.09), transparent 28rem),
    linear-gradient(180deg, #050505 0%, #07090d 56%, #050505 100%) !important;
  color: #fff !important;
}

html body.ghw61-order-clean .ghw61-order-hero {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  margin: 0 0 20px !important;
  padding: 26px 28px !important;
  border: 1px solid rgba(255,157,0,.25) !important;
  border-radius: 18px !important;
  background:
    linear-gradient(90deg, rgba(0,0,0,.88), rgba(0,0,0,.54)),
    radial-gradient(circle at right, rgba(237,17,28,.22), transparent 30rem),
    linear-gradient(180deg, #121821, #080b10) !important;
  box-shadow: 0 22px 54px rgba(0,0,0,.42) !important;
}

html body.ghw61-order-clean .ghw61-order-hero.compact {
  align-items: flex-start !important;
}

html body.ghw61-order-clean .ghw61-kicker {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 10px !important;
  padding: 7px 12px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(237,17,28,.55) !important;
  background: rgba(237,17,28,.16) !important;
  color: #ffd45a !important;
  font-size: 12px !important;
  font-weight: 1000 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

html body.ghw61-order-clean .ghw61-order-hero h1 {
  margin: 0 !important;
  color: #fff !important;
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', Arial, sans-serif !important;
  font-size: clamp(42px, 5vw, 66px) !important;
  font-style: italic !important;
  line-height: .94 !important;
  letter-spacing: .045em !important;
  text-transform: uppercase !important;
  text-shadow: 4px 4px 0 #000 !important;
}

html body.ghw61-order-clean .ghw61-order-hero p {
  max-width: 760px !important;
  margin: 10px 0 0 !important;
  color: #dce4ef !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
}

html body.ghw61-order-clean .ghw61-hero-actions,
html body.ghw61-order-clean .ghw61-link-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

html body.ghw61-order-clean .ghw61-hero-actions a,
html body.ghw61-order-clean .ghw61-link-row a,
html body.ghw61-order-clean .ghw61-btn,
html body.ghw61-order-clean .ghw61-order-actions a,
html body.ghw61-order-clean .ghw61-empty a {
  min-height: 42px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 15px !important;
  border: 1px solid rgba(255,157,0,.55) !important;
  border-radius: 8px !important;
  background: rgba(0,0,0,.28) !important;
  color: #fff !important;
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

html body.ghw61-order-clean .ghw61-btn.primary,
html body.ghw61-order-clean .ghw61-order-actions a.primary,
html body.ghw61-order-clean .ghw61-empty a:first-child {
  border-color: rgba(255,48,52,.90) !important;
  background: linear-gradient(180deg, #ff3438, #c80712) !important;
  box-shadow: 0 0 22px rgba(237,17,28,.28) !important;
}

html body.ghw61-order-clean .ghw61-btn.ghost {
  background: rgba(0,0,0,.28) !important;
  box-shadow: none !important;
}

html body.ghw61-order-clean .ghw61-order-stat-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin: 0 0 20px !important;
}

html body.ghw61-order-clean .ghw61-order-stat-grid article,
html body.ghw61-order-clean .ghw61-panel,
html body.ghw61-order-clean .ghw61-order-card,
html body.ghw61-order-clean .ghw61-empty,
html body.ghw61-order-clean .ghw61-admin-table-panel {
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 16px !important;
  background:
    radial-gradient(circle at top left, rgba(255,157,0,.08), transparent 24rem),
    linear-gradient(180deg, #121821, #080b10) !important;
  box-shadow: 0 18px 44px rgba(0,0,0,.35) !important;
}

html body.ghw61-order-clean .ghw61-order-stat-grid article {
  padding: 16px !important;
}

html body.ghw61-order-clean .ghw61-order-stat-grid span,
html body.ghw61-order-clean .ghw61-detail-list span,
html body.ghw61-order-clean .ghw61-status-stack span,
html body.ghw61-order-clean .ghw61-money-line span {
  display: block !important;
  color: #9ea8b8 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
}

html body.ghw61-order-clean .ghw61-order-stat-grid strong {
  display: block !important;
  margin-top: 6px !important;
  color: #ffd45a !important;
  font-size: 32px !important;
  font-weight: 1000 !important;
  line-height: 1 !important;
}

html body.ghw61-order-clean .ghw61-order-stat-grid small {
  display: block !important;
  margin-top: 7px !important;
  color: #c8d1df !important;
}

html body.ghw61-order-clean .ghw61-alert {
  margin: 0 0 18px !important;
  padding: 15px 16px !important;
  border-radius: 12px !important;
  color: #fff !important;
}

html body.ghw61-order-clean .ghw61-alert.success {
  border: 1px solid rgba(52,211,101,.55) !important;
  background: rgba(17,91,45,.72) !important;
}

html body.ghw61-order-clean .ghw61-alert.error {
  border: 1px solid rgba(255,72,82,.62) !important;
  background: rgba(92,7,14,.70) !important;
}

html body.ghw61-order-clean .ghw61-empty {
  padding: 38px 28px !important;
  text-align: center !important;
}

html body.ghw61-order-clean .ghw61-empty > span {
  font-size: 42px !important;
}

html body.ghw61-order-clean .ghw61-empty h2,
html body.ghw61-order-clean .ghw61-panel h2,
html body.ghw61-order-clean .ghw61-admin-table-head h2 {
  margin: 0 0 12px !important;
  color: #fff !important;
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', Arial, sans-serif !important;
  font-size: 27px !important;
  font-style: italic !important;
  letter-spacing: .045em !important;
  text-transform: uppercase !important;
}

html body.ghw61-order-clean .ghw61-empty p,
html body.ghw61-order-clean .ghw61-panel p {
  color: #d0d8e5 !important;
  line-height: 1.5 !important;
}

html body.ghw61-order-clean .ghw61-empty div {
  display: flex !important;
  justify-content: center !important;
  gap: 10px !important;
  margin-top: 18px !important;
}

html body.ghw61-order-clean .ghw61-order-list {
  display: grid !important;
  gap: 14px !important;
}

html body.ghw61-order-clean .ghw61-order-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr) auto !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 18px !important;
}

html body.ghw61-order-clean .ghw61-order-topline {
  display: flex !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  margin-bottom: 9px !important;
}

html body.ghw61-order-clean .ghw61-role,
html body.ghw61-order-clean .ghw61-status {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 24px !important;
  padding: 0 9px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,157,0,.45) !important;
  background: rgba(255,157,0,.10) !important;
  color: #ffd45a !important;
  font-size: 11px !important;
  font-weight: 1000 !important;
  letter-spacing: .055em !important;
  text-transform: uppercase !important;
}

html body.ghw61-order-clean .ghw61-status {
  border-color: rgba(53,240,131,.40) !important;
  background: rgba(53,240,131,.09) !important;
  color: #89fbb8 !important;
}

html body.ghw61-order-clean .ghw61-order-main h2 {
  margin: 0 0 4px !important;
  color: #fff !important;
  font-size: 22px !important;
}

html body.ghw61-order-clean .ghw61-order-main p {
  margin: 0 0 5px !important;
  color: #e5ecf5 !important;
  font-weight: 800 !important;
}

html body.ghw61-order-clean .ghw61-order-main small {
  color: #9ea8b8 !important;
}

html body.ghw61-order-clean .ghw61-order-meta {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

html body.ghw61-order-clean .ghw61-order-meta div,
html body.ghw61-order-clean .ghw61-status-stack div,
html body.ghw61-order-clean .ghw61-detail-list div {
  padding: 12px !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: 10px !important;
  background: rgba(0,0,0,.24) !important;
}

html body.ghw61-order-clean .ghw61-order-meta strong,
html body.ghw61-order-clean .ghw61-status-stack strong,
html body.ghw61-order-clean .ghw61-detail-list strong {
  display: block !important;
  margin-top: 5px !important;
  color: #fff !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
}

html body.ghw61-order-clean .ghw61-order-actions {
  display: grid !important;
  gap: 8px !important;
  min-width: 142px !important;
}

html body.ghw61-order-clean .ghw61-pagination {
  margin-top: 18px !important;
}

html body.ghw61-order-clean .ghw61-flow {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin: 0 0 20px !important;
}

html body.ghw61-order-clean .ghw61-flow div {
  padding: 15px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  background: #0c1118 !important;
}

html body.ghw61-order-clean .ghw61-flow div.done {
  border-color: rgba(53,240,131,.50) !important;
  background: rgba(12,59,33,.44) !important;
}

html body.ghw61-order-clean .ghw61-flow div.active {
  border-color: rgba(255,157,0,.65) !important;
}

html body.ghw61-order-clean .ghw61-flow span,
html body.ghw61-order-clean .ghw61-panel-head > span {
  width: 30px !important;
  height: 30px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 999px !important;
  background: #ff9d00 !important;
  color: #050505 !important;
  font-weight: 1000 !important;
}

html body.ghw61-order-clean .ghw61-flow strong,
html body.ghw61-order-clean .ghw61-flow em {
  display: block !important;
  margin-top: 8px !important;
}

html body.ghw61-order-clean .ghw61-flow em {
  color: #aeb8c6 !important;
  font-style: normal !important;
  font-size: 12px !important;
}

html body.ghw61-order-clean .ghw61-detail-grid {
  display: grid !important;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr) !important;
  gap: 18px !important;
  align-items: start !important;
}

html body.ghw61-order-clean .ghw61-info-grid,
html body.ghw61-order-clean .ghw61-checkout-layout {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
  margin-top: 18px !important;
}

html body.ghw61-order-clean .ghw61-panel {
  padding: 22px !important;
}

html body.ghw61-order-clean .ghw61-money-line {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  padding: 11px 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
}

html body.ghw61-order-clean .ghw61-money-line.total {
  border-bottom: 0 !important;
  color: #35f083 !important;
  font-size: 20px !important;
}

html body.ghw61-order-clean .ghw61-status-stack,
html body.ghw61-order-clean .ghw61-detail-list,
html body.ghw61-order-clean .ghw61-mini-form {
  display: grid !important;
  gap: 10px !important;
}

html body.ghw61-order-clean .ghw61-status-stack {
  margin-top: 16px !important;
}

html body.ghw61-order-clean .ghw61-instructions,
html body.ghw61-order-clean .ghw61-pickup-warning {
  margin: 14px 0 !important;
  padding: 14px !important;
  border: 1px solid rgba(255,157,0,.34) !important;
  border-radius: 12px !important;
  background: rgba(255,157,0,.08) !important;
  color: #e8edf5 !important;
}

html body.ghw61-order-clean .ghw61-instructions strong,
html body.ghw61-order-clean .ghw61-pickup-warning strong {
  display: block !important;
  margin-bottom: 6px !important;
  color: #ffd45a !important;
  text-transform: uppercase !important;
}

html body.ghw61-order-clean .ghw61-mini-form input,
html body.ghw61-order-clean .ghw61-mini-form textarea,
html body.ghw61-order-clean .ghw61-mini-form select,
html body.ghw61-order-clean .ghw61-fields input,
html body.ghw61-order-clean .ghw61-fields textarea,
html body.ghw61-order-clean .ghw61-fields select,
html body.ghw61-order-clean .ghw61-notes-field textarea {
  width: 100% !important;
  min-height: 48px !important;
  padding: 12px 14px !important;
  border: 1px solid rgba(255,255,255,.17) !important;
  border-radius: 10px !important;
  background: #05080d !important;
  color: #fff !important;
  font-size: 15px !important;
  outline: none !important;
}

html body.ghw61-order-clean .ghw61-mini-form textarea,
html body.ghw61-order-clean .ghw61-notes-field textarea {
  min-height: 112px !important;
  resize: vertical !important;
}

html body.ghw61-order-clean .ghw61-mini-form button {
  min-height: 46px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: linear-gradient(180deg, #ff3438, #c80712) !important;
  color: #fff !important;
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
}

html body.ghw61-order-clean .ghw61-inline-form {
  margin-top: 10px !important;
}

/* Checkout */
html body.ghw61-order-clean .ghw61-checkout-layout {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px) !important;
  align-items: start !important;
  margin-top: 0 !important;
}

html body.ghw61-order-clean .ghw61-checkout-main {
  display: grid !important;
  gap: 18px !important;
}

html body.ghw61-order-clean .ghw61-checkout-summary {
  position: sticky !important;
  top: 18px !important;
}

html body.ghw61-order-clean .ghw61-panel-head {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  margin-bottom: 16px !important;
}

html body.ghw61-order-clean .ghw61-panel-head h2 {
  margin-bottom: 5px !important;
}

html body.ghw61-order-clean .ghw61-panel-head p {
  margin: 0 !important;
  color: #aeb8c6 !important;
  font-size: 13px !important;
}

html body.ghw61-order-clean .ghw61-fields {
  display: grid !important;
  gap: 14px !important;
}

html body.ghw61-order-clean .ghw61-fields.two {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

html body.ghw61-order-clean .ghw61-fields .wide {
  grid-column: 1 / -1 !important;
}

html body.ghw61-order-clean .ghw61-fields label,
html body.ghw61-order-clean .ghw61-notes-field {
  display: grid !important;
  gap: 8px !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .055em !important;
  text-transform: uppercase !important;
}

html body.ghw61-order-clean .ghw61-choice-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 13px !important;
}

html body.ghw61-order-clean .ghw61-choice-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

html body.ghw61-order-clean .ghw61-choice-card {
  position: relative !important;
  min-height: 122px !important;
  display: grid !important;
  align-content: start !important;
  gap: 7px !important;
  padding: 17px !important;
  border: 1px solid rgba(255,255,255,.13) !important;
  border-radius: 14px !important;
  background: rgba(0,0,0,.28) !important;
  color: #fff !important;
  cursor: pointer !important;
}

html body.ghw61-order-clean .ghw61-choice-card:hover,
html body.ghw61-order-clean .ghw61-choice-card:has(input:checked) {
  border-color: rgba(255,157,0,.75) !important;
  box-shadow: 0 0 24px rgba(255,157,0,.10) !important;
}

html body.ghw61-order-clean .ghw61-choice-card input {
  position: absolute !important;
  top: 13px !important;
  right: 13px !important;
}

html body.ghw61-order-clean .ghw61-choice-card span {
  font-size: 28px !important;
}

html body.ghw61-order-clean .ghw61-choice-card strong {
  font-size: 14px !important;
  text-transform: uppercase !important;
}

html body.ghw61-order-clean .ghw61-choice-card em {
  color: #aeb8c6 !important;
  font-size: 12px !important;
  font-style: normal !important;
  line-height: 1.35 !important;
}

html body.ghw61-order-clean .ghw61-notes-field {
  margin-top: 16px !important;
}

html body.ghw61-order-clean .ghw61-pickup-note {
  display: none !important;
}

html body.ghw61-order-clean.ghw61-pickup-selected .ghw61-shipping-section {
  display: none !important;
}

html body.ghw61-order-clean.ghw61-pickup-selected .ghw61-pickup-note {
  display: block !important;
}

html body.ghw61-order-clean .ghw61-checkout-summary .ghw61-btn {
  width: 100% !important;
  margin-top: 12px !important;
}

html body.ghw61-order-clean .ghw61-muted {
  color: #aeb8c6 !important;
}

/* Admin orders */
html body.ghw61-order-clean .ghw61-admin-table-panel {
  overflow: hidden !important;
}

html body.ghw61-order-clean .ghw61-admin-table-head {
  display: flex !important;
  justify-content: space-between !important;
  gap: 14px !important;
  align-items: center !important;
  padding: 18px 20px !important;
  border-bottom: 1px solid rgba(255,255,255,.10) !important;
}

html body.ghw61-order-clean .ghw61-admin-table-head span {
  color: #ffd45a !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
}

html body.ghw61-order-clean .ghw61-admin-table-wrap {
  overflow-x: auto !important;
}

html body.ghw61-order-clean .ghw61-admin-table {
  width: 100% !important;
  border-collapse: collapse !important;
  min-width: 900px !important;
}

html body.ghw61-order-clean .ghw61-admin-table th,
html body.ghw61-order-clean .ghw61-admin-table td {
  padding: 13px 12px !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
  color: #e8edf5 !important;
  text-align: left !important;
}

html body.ghw61-order-clean .ghw61-admin-table th {
  color: #ffd45a !important;
  font-size: 12px !important;
  font-weight: 1000 !important;
  text-transform: uppercase !important;
  letter-spacing: .055em !important;
}

html body.ghw61-order-clean .ghw61-admin-table a {
  color: #ffd45a !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
}

@media (max-width: 1120px) {
  html body.ghw61-order-clean .ghw61-order-card {
    grid-template-columns: 1fr !important;
  }

  html body.ghw61-order-clean .ghw61-order-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  html body.ghw61-order-clean .ghw61-order-actions {
    display: flex !important;
    flex-wrap: wrap !important;
  }

  html body.ghw61-order-clean .ghw61-choice-grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  html body.ghw61-order-clean .ghw61-order-hero,
  html body.ghw61-order-clean .ghw61-detail-grid,
  html body.ghw61-order-clean .ghw61-info-grid,
  html body.ghw61-order-clean .ghw61-checkout-layout {
    grid-template-columns: 1fr !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  html body.ghw61-order-clean .ghw61-order-stat-grid,
  html body.ghw61-order-clean .ghw61-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body.ghw61-order-clean .ghw61-checkout-summary {
    position: static !important;
  }
}

@media (max-width: 640px) {
  html body.ghw61-order-clean .ghw61-orders-page {
    padding: 24px 0 54px !important;
  }

  html body.ghw61-order-clean .ghw61-order-hero {
    padding: 22px !important;
  }

  html body.ghw61-order-clean .ghw61-order-stat-grid,
  html body.ghw61-order-clean .ghw61-flow,
  html body.ghw61-order-clean .ghw61-order-meta,
  html body.ghw61-order-clean .ghw61-fields.two,
  html body.ghw61-order-clean .ghw61-choice-grid,
  html body.ghw61-order-clean .ghw61-choice-grid.four {
    grid-template-columns: 1fr !important;
  }
}
