/* BidEdgeZone chrome — cache-bust via ?v= query. Do not rely on Tailwind purge. */

html, body {
  overflow-x: clip;
  max-width: 100%;
}

main {
  overflow-x: clip;
  max-width: 100%;
}

.bez-site-logo {
  display: block !important;
  height: 2rem !important;
  width: auto !important;
  max-width: 8.5rem !important;
  max-height: 2rem !important;
  object-fit: contain !important;
  object-position: left center;
}

@media (min-width: 768px) {
  .bez-site-logo {
    height: 2.5rem !important;
    max-height: 2.5rem !important;
    max-width: 11rem !important;
  }
}

.bez-site-logo--footer {
  height: 2.25rem !important;
  max-height: 2.25rem !important;
  max-width: 9rem !important;
}

.bez-header-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: rgba(13, 19, 25, 0.97);
  border-bottom: 1px solid rgba(0, 194, 168, 0.25);
  backdrop-filter: blur(8px);
}

.bez-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
  height: 3.5rem;
}

@media (min-width: 640px) {
  .bez-header-inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 768px) {
  .bez-header-inner {
    height: 4rem;
  }
}

@media (min-width: 1024px) {
  .bez-header-inner {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.bez-header-brand {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 9rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .bez-header-brand {
    max-width: 12rem;
  }
}

/* Desktop nav: never show below md */
.bez-desktop-nav {
  display: none !important;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #cbd5e1;
}

@media (min-width: 768px) {
  .bez-desktop-nav {
    display: flex !important;
  }
}

/* Mobile toggle: only below md */
.bez-mobile-toggle {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  min-width: 2.75rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(0, 194, 168, 0.45);
  border-radius: 0.125rem;
  background: #111820;
  color: #00c2a8;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

@media (min-width: 768px) {
  .bez-mobile-toggle {
    display: none !important;
  }
}

/* Full-width mobile panel under header */
.bez-mobile-panel {
  display: none;
  border-top: 1px solid rgba(0, 194, 168, 0.25);
  background: #0d1319;
  padding: 0.75rem 1rem 1rem;
}

.bez-mobile-panel.is-open {
  display: block !important;
}

@media (min-width: 768px) {
  .bez-mobile-panel,
  .bez-mobile-panel.is-open {
    display: none !important;
  }
}

.bez-mobile-panel a {
  display: block;
  padding: 0.65rem 0.25rem;
  color: #e2e8f0;
  font-size: 0.9375rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  text-decoration: none;
}

.bez-mobile-panel a:last-child {
  border-bottom: 0;
}

.bez-mobile-panel a:hover,
.bez-mobile-panel a:focus {
  color: #00c2a8;
}

.bez-mobile-panel .bez-mobile-cta {
  margin-top: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.7rem 1rem;
  background: #00c2a8;
  color: #0b0f14 !important;
  font-weight: 700;
  border: 0 !important;
  border-radius: 0.125rem;
}

/* Hero */
.bez-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  min-height: 70vh;
  min-height: 70dvh;
}

@media (min-width: 768px) {
  .bez-hero {
    min-height: 88vh;
    min-height: 88dvh;
  }
}

.bez-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 4.5rem 1rem 2.25rem;
}

@media (min-width: 640px) {
  .bez-hero-inner {
    padding: 7rem 1.5rem 4rem;
  }
}

@media (min-width: 1024px) {
  .bez-hero-inner {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.bez-hero-brand {
  font-family: Syne, ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-size: clamp(1.5rem, 6.5vw, 1.85rem);
  max-width: 100%;
}

@media (min-width: 640px) {
  .bez-hero-brand {
    font-size: 3.5rem;
  }
}

@media (min-width: 768px) {
  .bez-hero-brand {
    font-size: 4.5rem;
  }
}

.bez-hero-title {
  margin-top: 0.65rem;
  font-family: Syne, ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.3;
  max-width: 36rem;
}

@media (min-width: 640px) {
  .bez-hero-title {
    margin-top: 1rem;
    font-size: 1.875rem;
  }
}

.bez-hero-copy {
  margin-top: 0.65rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: rgba(241, 245, 249, 0.9);
  max-width: 32rem;
}

.bez-hero-ctas {
  margin-top: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

@media (min-width: 480px) {
  .bez-hero-ctas {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.bez-hero-ctas > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 2.75rem;
  padding: 0.75rem 1.25rem;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 480px) {
  .bez-hero-ctas > a {
    width: auto;
  }
}

/* Lot card badges — do not rely on missing right-2 / bg-asphalt/90 */
.bez-lot-badge {
  position: absolute;
  top: 0.5rem;
  z-index: 2;
  font-size: 10px;
  line-height: 1.2;
  padding: 0.125rem 0.5rem;
  border-radius: 0.125rem;
  background-color: rgba(11, 15, 20, 0.92);
  border: 1px solid rgba(0, 194, 168, 0.35);
  color: #00c2a8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.bez-lot-badge--status {
  left: 0.5rem;
}

.bez-lot-badge--bids {
  right: 0.5rem;
  left: auto;
  color: #f5a524;
  border-color: rgba(245, 165, 36, 0.4);
  text-transform: none;
  letter-spacing: normal;
}

.bez-hero-brand {
  font-size: clamp(1.35rem, 5.5vw, 1.65rem);
}

@media (min-width: 640px) {
  .bez-hero-brand {
    font-size: 3.25rem;
  }
}

@media (min-width: 768px) {
  .bez-hero-brand {
    font-size: 4.25rem;
  }
}

/* Auction filter fields — #id beats global light-field :not() contrast rules */
#bez-filter-form.bez-filter-form input[type=search],
#bez-filter-form.bez-filter-form input[type=text],
#bez-filter-form.bez-filter-form select {
  width: 100%;
  min-width: 0;
  background-color: #111820 !important;
  color: #f1f5f9 !important;
  -webkit-text-fill-color: #f1f5f9 !important;
  border: 1px solid rgba(0, 194, 168, 0.35) !important;
  border-radius: 0.125rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  caret-color: #00c2a8;
}
#bez-filter-form.bez-filter-form input::placeholder {
  color: #94a3b8 !important;
  -webkit-text-fill-color: #94a3b8 !important;
  opacity: 1;
}
.bez-filter-form button {
  width: 100%;
}
@media (min-width: 640px) {
  .bez-filter-form input[type=search],
  .bez-filter-form input[type=text],
  .bez-filter-form select,
  .bez-filter-form button {
    width: auto;
  }
}
