/* ==========================================================
   Got Hot Wheels Auctions - Sell Top Clean Match v56
   Scope: /sell page top only
   Goal: make /sell top match the auction/listing page hero style.
   ========================================================== */

html body.ghw56-sell-page {
  overflow-x: hidden !important;
}

/* Hide the old boxed sell promo and the broken v55-only tab strip. */
html body.ghw56-sell-page .ghw-sell-hero,
html body.ghw56-sell-page .ghw55-sell-tabs {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* New top panel, styled like the /auctions page top area. */
html body.ghw56-sell-page .ghw56-sell-top {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border-top: 0 !important;
  border-bottom: 1px solid rgba(255,157,0,.24) !important;
  background:
    radial-gradient(circle at 22% 6%, rgba(255,157,0,.075), transparent 31rem),
    radial-gradient(circle at 76% 16%, rgba(237,17,28,.075), transparent 35rem),
    linear-gradient(180deg, #06080c 0%, #030405 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    inset 0 -1px 0 rgba(255,157,0,.10) !important;
  overflow: hidden !important;
}

html body.ghw56-sell-page .ghw56-sell-top::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  background:
    linear-gradient(90deg, rgba(0,0,0,.42), rgba(0,0,0,0) 30%, rgba(0,0,0,.36)),
    repeating-linear-gradient(135deg, rgba(255,255,255,.018) 0 1px, transparent 1px 11px) !important;
  opacity: .55 !important;
}

html body.ghw56-sell-page .ghw56-sell-inner {
  position: relative !important;
  z-index: 2 !important;
  box-sizing: border-box !important;
  width: min(1180px, calc(100% - 36px)) !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 30px 0 32px !important;
}

html body.ghw56-sell-page .ghw56-kicker {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  margin: 0 0 14px !important;
  padding: 7px 15px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(237,17,28,.72) !important;
  background: rgba(95,0,10,.52) !important;
  color: #ffd45a !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
}

html body.ghw56-sell-page .ghw56-sell-top h1 {
  max-width: 790px !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  color: #fff !important;
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', Arial, sans-serif !important;
  font-size: clamp(44px, 4.7vw, 62px) !important;
  font-weight: 900 !important;
  font-style: italic !important;
  line-height: .92 !important;
  letter-spacing: .035em !important;
  text-transform: uppercase !important;
  text-shadow:
    0 4px 0 #001a35,
    0 0 18px rgba(0,0,0,.90) !important;
}

html body.ghw56-sell-page .ghw56-sell-top p {
  max-width: 790px !important;
  margin: 0 0 14px !important;
  color: rgba(255,255,255,.94) !important;
  font-size: 17px !important;
  line-height: 1.42 !important;
  text-shadow: 0 2px 10px rgba(0,0,0,.88) !important;
}

html body.ghw56-sell-page .ghw56-tabs {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html body.ghw56-sell-page .ghw56-tabs a {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 40px !important;
  padding: 0 17px !important;
  border-radius: 6px !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  background: rgba(6,9,14,.88) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: .025em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04) !important;
}

html body.ghw56-sell-page .ghw56-tabs a:hover,
html body.ghw56-sell-page .ghw56-tabs a.ghw56-active {
  color: #ffd45a !important;
  border-color: rgba(255,157,0,.90) !important;
  background: rgba(12,12,13,.94) !important;
}

/* Form rhythm below the top now matches other pages better. */
html body.ghw56-sell-page .ghw-sell-page {
  padding-top: 32px !important;
}

@media (max-width: 800px) {
  html body.ghw56-sell-page .ghw56-sell-inner {
    width: min(100% - 24px, 1180px) !important;
    padding-top: 24px !important;
    padding-bottom: 26px !important;
  }

  html body.ghw56-sell-page .ghw56-sell-top h1 {
    font-size: clamp(38px, 12vw, 52px) !important;
  }

  html body.ghw56-sell-page .ghw56-tabs a {
    min-height: 38px !important;
    padding: 0 13px !important;
    font-size: 12px !important;
  }
}
