:root {
  --green: #2ecc8f;
  --green-dark: #26b47d;
  --green-light: #eafcf5;
  --yellow: #f5a623;
  --yellow-dark: #d88f13;
  --yellow-tint: #fdf1dc;
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --line: #e6e6e6;
  --panel: #ececec;
  --danger: #e05353;
  --danger-light: #fdecec;
  --radius: 4px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  padding: 24px 0 16px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
}

.icon-btn {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  padding: 4px;
}

.icon-btn svg {
  width: 22px;
  height: 22px;
}

.search-bar {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--panel);
  border-radius: var(--radius);
  padding: 10px 16px;
  gap: 8px;
}

.search-bar input {
  border: none;
  background: none;
  outline: none;
  flex: 1;
  font-size: 14px;
}

.search-bar svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #444;
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* ---------- Page layout ---------- */
.page-title {
  font-size: 26px;
  font-weight: 700;
  margin: 28px 0 24px;
}

.account-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 60px;
}

/* ---------- Sidebar ---------- */
.sidebar {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 20px;
  position: sticky;
  top: 20px;
}

.sidebar-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 8px 18px;
  margin-bottom: 12px;
  border-bottom: 1px solid #dcdcdc;
}

.sidebar-profile img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  background: #ccc;
}

.sidebar-profile .name {
  font-weight: 700;
  font-size: 15px;
}

.sidebar-profile .since {
  font-size: 12px;
  color: var(--muted);
}

.sidenav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidenav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}

.sidenav-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.sidenav-item:hover {
  background: #e0e0e0;
}

.sidenav-item.active {
  background: var(--green);
  color: var(--ink);
}

.sidenav-divider {
  height: 1px;
  background: #dcdcdc;
  margin: 10px 4px;
}

.sidenav-item.logout {
  color: var(--danger);
}

.sidenav-item.logout:hover {
  background: var(--danger-light);
}

/* ---------- Main panel ---------- */
.panel {
  display: none;
}

.panel.active {
  display: block;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.panel-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.panel-desc {
  font-size: 13px;
  color: var(--muted);
  margin: 4px 0 0;
}

.btn {
  border: none;
  border-radius: var(--radius);
  padding: 11px 22px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  background: var(--panel);
}

.btn-danger {
  background: var(--danger-light);
  color: var(--danger);
}

.btn-danger:hover {
  background: #fbdcdc;
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  max-width: 360px;
  width: 100%;
  text-align: center;
}

.modal-box h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.modal-box p {
  margin: 0 0 22px;
  font-size: 13px;
  color: var(--muted);
}

.modal-actions {
  display: flex;
  gap: 10px;
}

.modal-actions .btn {
  flex: 1;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #fff;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
  z-index: 210;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Tabs ---------- */
.tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
  overflow-x: auto;
}

.tab-btn {
  background: none;
  border: none;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--ink);
}

.tab-btn.active {
  color: var(--ink);
  border-bottom-color: var(--green);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* ---------- Slide-out menu drawer (site-wide) ---------- */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 90;
}

.menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.menu-drawer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 380px;
  max-width: 85vw;
  background: #fff;
  z-index: 100;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.menu-drawer.open {
  transform: translateX(0);
}

.menu-drawer-top {
  flex: 1;
  overflow-y: auto;
}

.menu-drawer-header {
  display: flex;
  justify-content: flex-end;
  padding: 20px;
}

.menu-close {
  background: none;
  border: none;
  color: var(--ink);
}

.menu-close svg {
  width: 24px;
  height: 24px;
}

.menu-account {
  padding: 20px 28px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 20px;
  font-weight: 500;
}

.menu-highlights {
  padding: 20px 28px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.menu-highlights a {
  font-size: 20px;
  font-weight: 700;
}

.menu-highlights a.trend {
  color: #f5a623;
}

.menu-highlights a.bid {
  color: var(--green);
}

.menu-links {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.menu-links a {
  font-size: 17px;
  color: var(--ink);
}

.menu-links a:hover {
  color: var(--green-dark);
}

.menu-drawer-footer {
  background: var(--ink);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex-shrink: 0;
}

.menu-drawer-footer a {
  color: #fff;
  font-size: 15px;
}

.menu-drawer-footer a:hover {
  color: var(--green);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--yellow);
  padding: 48px 0 0;
  margin-top: 20px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 24px;
  padding-bottom: 40px;
}

.footer-brand h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 12px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.6;
  max-width: 320px;
  margin: 0 0 20px;
  opacity: 0.85;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 16px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  margin-bottom: 12px;
  opacity: 0.85;
}

.footer-col a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom .legal-links {
  display: flex;
  gap: 20px;
}

/* ---------- Mobile bottom nav ---------- */
.mobile-bottom-nav {
  display: none;
}

/* ---------- Slide-out menu drawer (site-wide) ---------- */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 90;
}

.menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.menu-drawer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 380px;
  max-width: 85vw;
  background: #fff;
  z-index: 100;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.menu-drawer.open {
  transform: translateX(0);
}

.menu-drawer-top {
  flex: 1;
  overflow-y: auto;
}

.menu-drawer-header {
  display: flex;
  justify-content: flex-end;
  padding: 20px;
}

.menu-close {
  background: none;
  border: none;
  color: var(--ink);
}

.menu-close svg {
  width: 24px;
  height: 24px;
}

.menu-account {
  padding: 20px 28px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 20px;
  font-weight: 500;
}

.menu-highlights {
  padding: 20px 28px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.menu-highlights a {
  font-size: 20px;
  font-weight: 700;
}

.menu-highlights a.trend {
  color: var(--yellow-dark);
}

.menu-highlights a.bid {
  color: var(--green);
}

.menu-links {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.menu-links a {
  font-size: 17px;
  color: var(--ink);
}

.menu-links a:hover {
  color: var(--green-dark);
}

.menu-drawer-footer {
  background: var(--ink);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex-shrink: 0;
}

.menu-drawer-footer a {
  color: #fff;
  font-size: 15px;
}

.menu-drawer-footer a:hover {
  color: var(--green);
}

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .container {
    padding: 0 16px;
  }
  .header-icons {
    display: none;
  }
  .page-title {
    font-size: 20px;
    margin: 18px 0 18px;
  }
  .menu-drawer {
    width: 320px;
  }
  .sidebar {
    position: static;
    padding: 12px;
  }
  .sidebar-profile {
    padding-bottom: 12px;
    margin-bottom: 8px;
  }
  .sidenav {
    flex-direction: row;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 2px;
  }
  .sidenav-item {
    flex-shrink: 0;
  }
  .sidenav-item span.label {
    display: none;
  }
  .sidenav-item svg {
    width: 20px;
    height: 20px;
  }
  .sidenav-divider {
    display: none;
  }
  .sidenav-item.logout {
    margin-left: auto;
  }
}
/* ---------- Hero carousel ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

.hero-track {
  display: flex;
  transition: transform 0.5s ease;
}

.hero-slide {
  position: relative;
  flex: 0 0 84%;
  height: 400px;
  display: flex;
  align-items: center;
  padding: 0 60px;
  color: #fff;
  overflow: hidden;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.9;
}

.hero-slide.slide-1::before {
  background: linear-gradient(120deg, #0c0c0c, #1c1c1c 60%, #2a1305);
}

.hero-slide.slide-2::before {
  background: linear-gradient(120deg, #0e1b33, #1c3a63 60%, #33557f);
}

.hero-slide.slide-3::before {
  background: linear-gradient(120deg, #1a0e2e, #3a1c52 60%, #5e2f7a);
}

.hero-bolt {
  position: absolute;
  right: 8%;
  top: -10%;
  width: 200px;
  height: 140%;
  stroke: rgba(255, 167, 35, 0.7);
  stroke-width: 6;
  fill: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.hero-sub {
  font-size: 15px;
  font-weight: 600;
  opacity: 0.85;
  margin: 0 0 22px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-cta {
  display: inline-block;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  padding: 12px 26px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: var(--radius);
}

.hero-cta:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero-brandmark {
  position: absolute;
  left: 60px;
  bottom: 28px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
}

.hero-brandmark .dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
}

.hero-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.hero-dots button {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  padding: 0;
}

.hero-dots button.active {
  background: #fff;
}

.support-bubble {
  position: absolute;
  right: 24px;
  bottom: -26px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.support-bubble svg {
  width: 26px;
  height: 26px;
  color: #f5c518;
}

/* ---------- Section shells ---------- */
.section {
  margin: 0 0 48px;
}

.section-inner-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}

.see-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.see-more svg {
  width: 14px;
  height: 14px;
}

/* ---------- Trend/Bid toggle ---------- */
.toggle-tabs {
  display: flex;
  background: #efefef;
}

.toggle-tabs button {
  flex: 1;
  border: none;
  background: none;
  padding: 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
}

.toggle-tabs button.active {
  background: var(--yellow);
  color: var(--ink);
}

.trend-panel {
  display: none;
}

.trend-panel.active {
  display: block;
}

.trend-band {
  background: var(--yellow);
  padding: 24px 0;
}

.trend-band-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  margin-bottom: 18px;
}

.trend-band-head h2 {
  font-size: 18px;
  font-weight: 800;
  margin: 0;
}

.rank-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 0 24px 6px;
  scroll-snap-type: x mandatory;
}

.rank-card {
  scroll-snap-align: start;
  flex: 0 0 260px;
  background: #fff;
  border-radius: var(--radius);
  padding: 16px;
  position: relative;
}

.rank-card .top-badge {
  display: inline-block;
  background: var(--ink);
  color: var(--yellow);
  font-weight: 800;
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 14px;
  margin-bottom: 10px;
}

.rank-card img {
  width: 100%;
  height: 220px;
  -o-object-fit: contain;
     object-fit: contain;
  margin-bottom: 12px;
}

.rank-card .name {
  font-size: 13px;
  line-height: 1.4;
  min-height: 54px;
  margin-bottom: 8px;
}

.rank-card .price {
  font-style: italic;
  font-weight: 800;
  font-size: 16px;
}

.rank-card-wrap {
  position: relative;
}

.rank-heart {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  color: #333;
}

.rank-heart svg {
  width: 20px;
  height: 20px;
}

.mini-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 20px 24px 6px;
  scroll-snap-type: x mandatory;
}

.mini-card {
  scroll-snap-align: start;
  flex: 0 0 140px;
}

.mini-card .rank-num {
  background: var(--ink);
  color: var(--yellow);
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 0;
  border-radius: 3px 3px 0 0;
}

.mini-card img {
  width: 100%;
  height: 140px;
  -o-object-fit: contain;
     object-fit: contain;
  background: #fff;
}

.mini-card .name {
  font-size: 12px;
  line-height: 1.4;
  margin: 8px 0 4px;
  min-height: 34px;
}

.mini-card .price {
  font-size: 13px;
  font-weight: 700;
}

.mini-card .heart-row {
  margin-top: 4px;
}

.mini-card .heart-row button {
  background: none;
  border: none;
  color: #333;
  padding: 0;
}

.mini-card .heart-row svg {
  width: 16px;
  height: 16px;
}

.mini-card .heart-row button.filled {
  color: var(--yellow-dark);
}

.mini-card .heart-row svg.filled-icon {
  fill: currentColor;
}

/* ---------- New Listing ---------- */
.new-listing {
  display: flex;
  gap: 0;
  background: var(--yellow);
  border-radius: var(--radius);
  overflow: hidden;
}

.new-listing-label {
  flex: 0 0 220px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.new-listing-label h2 {
  font-size: 24px;
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
}

.new-listing-grid {
  flex: 1;
  background: #fff;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background-color: var(--line);
}

/* ---------- Product card (shared) ---------- */
.product-card {
  background: #fff;
  padding: 16px;
  position: relative;
}

.product-card img {
  width: 100%;
  height: 170px;
  -o-object-fit: contain;
     object-fit: contain;
  margin-bottom: 10px;
}

.product-card .grade-bar {
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 0;
  margin-bottom: 10px;
}

.product-card .name {
  font-size: 13px;
  line-height: 1.4;
  min-height: 54px;
  margin-bottom: 6px;
}

.product-card .price {
  font-weight: 700;
  font-size: 15px;
}

.product-card .heart {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  color: #333;
}

.product-card .heart svg {
  width: 20px;
  height: 20px;
}

/* ---------- Most Popular ---------- */
.category-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  margin: 20px 0 24px;
  overflow-x: auto;
}

.category-tabs button {
  background: none;
  border: none;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}

.category-tabs button.active {
  color: var(--ink);
  border-bottom-color: var(--yellow);
}

.category-select {
  background: var(--panel);
  border: none;
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
  width: 100%;
  margin: 16px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-select svg {
  width: 16px;
  height: 16px;
}

.popular-panel {
  display: none;
}

.popular-panel.active {
  display: block;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* ---------- Find by Brands ---------- */
.brands-section {
  background: var(--panel);
  padding: 40px 0;
}

.brands-row {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.brand-item {
  flex: 0 0 auto;
  text-align: center;
}

.brand-circle {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #ddd;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #555;
  overflow: hidden;
}

.brand-item .bname {
  font-size: 13px;
  font-weight: 600;
}

/* =====================================================
   MOBILE
===================================================== */
@media (max-width: 860px) {
  .site-header {
    padding: 18px 0 12px;
  }
  .hero-slide {
    flex-basis: 92%;
    height: 300px;
    padding: 0 24px;
  }
  .hero-title {
    font-size: 26px;
  }
  .hero-sub {
    font-size: 12px;
  }
  .hero-brandmark {
    left: 24px;
    bottom: 20px;
  }
  .support-bubble {
    right: 16px;
    bottom: -20px;
    width: 48px;
    height: 48px;
  }
  .support-bubble svg {
    width: 22px;
    height: 22px;
  }
  .section {
    margin: 0 0 36px;
  }
  .trend-band-head {
    padding: 0 16px;
  }
  .rank-scroll {
    padding: 0 16px 6px;
  }
  .rank-card {
    flex-basis: 230px;
  }
  .mini-scroll {
    padding: 16px 16px 6px;
  }
  .new-listing {
    flex-direction: column;
    border-radius: var(--radius);
  }
  .new-listing-label {
    flex: none;
    padding: 20px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .new-listing-label h2 {
    font-size: 20px;
  }
  .new-listing-grid {
    grid-template-columns: 1fr;
  }
  .new-listing-grid .product-card:first-child {
    grid-column: 1/-1;
  }
  .new-listing-grid .product-card:first-child img {
    height: 260px;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .category-tabs {
    display: none;
  }
  .category-select {
    display: flex;
  }
  .brands-row {
    gap: 20px;
  }
  .brand-circle {
    width: 64px;
    height: 64px;
  }
}
/* ---------- Page title / intro ---------- */
.page-title {
  font-size: 26px;
  font-weight: 700;
  margin: 28px 0 6px;
}

.page-subtitle {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 28px;
}

/* ---------- Form ---------- */
.form-panel {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 40px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.full {
  grid-column: 1/-1;
}

.field-row {
  display: flex;
  flex-direction: row;
}
.field-row .half {
  width: 50%;
  flex: 1;
}

.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.field .hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: -2px;
}

.field input[type=text],
.field input[type=number],
.field input[type=date],
.field input[type=password],
.field select,
.field textarea {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 14px;
  color: var(--ink);
  font-family: inherit;
  outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-light);
}

.field textarea {
  resize: vertical;
  min-height: 90px;
}

.field.error input,
.field.error select,
.field.error textarea {
  border-color: var(--danger);
}

.field .error-msg {
  font-size: 12px;
  color: var(--danger);
  display: none;
}

.field.error .error-msg {
  display: block;
}

.file-drop {
  border: 2px dashed #c9c9c9;
  border-radius: var(--radius);
  background: #fff;
  padding: 28px 16px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
}

.file-drop:hover {
  border-color: var(--green);
  color: var(--ink);
}

.file-drop input {
  display: none;
}

.file-name {
  margin-top: 8px;
  font-size: 12px;
  color: var(--ink);
  font-weight: 600;
}

.grade-toggle {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.grade-toggle input {
  display: none;
}

.grade-toggle label {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 20px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.grade-toggle input:checked + label {
  background: var(--green);
  border-color: var(--green);
  color: var(--ink);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  border: none;
  border-radius: var(--radius);
  padding: 13px 28px;
  font-size: 14px;
  font-weight: 700;
}

.btn-primary {
  background: var(--green);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  background: var(--panel);
}

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: var(--green-light);
  border: 1px solid var(--green);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-top: 20px;
}

.form-success.show {
  display: flex;
}

.form-success svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.form-fail {
  display: none;
  align-items: center;
  gap: 10px;
  background: #fdecec;
  border: 1px solid var(--danger);
  color: var(--danger);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-top: 20px;
}

.form-fail.show {
  display: flex;
}

.form-fail svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ---------- Data grid section ---------- */
.grid-section {
  margin-bottom: 60px;
}

.grid-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}

.grid-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.grid-search {
  display: flex;
  align-items: center;
  background: var(--panel);
  border-radius: var(--radius);
  padding: 8px 12px;
  gap: 8px;
}

.grid-search input {
  border: none;
  background: none;
  outline: none;
  font-size: 13px;
  width: 180px;
}

.grid-search svg {
  width: 16px;
  height: 16px;
  color: #444;
  flex-shrink: 0;
}

.grid-filter select {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  padding: 9px 12px;
  font-size: 13px;
  color: var(--ink);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

table.data-grid {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 760px;
}

table.data-grid thead th {
  text-align: left;
  background: var(--panel);
  padding: 14px 16px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

table.data-grid thead th .arrow {
  font-size: 11px;
  margin-left: 4px;
  color: var(--muted);
}

table.data-grid tbody td {
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  vertical-align: middle;
}

table.data-grid tbody tr:hover {
  background: #fafafa;
}

.grade-pill {
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  white-space: nowrap;
}

.status-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  white-space: nowrap;
}

.status-active {
  background: var(--green-light);
  color: var(--green-dark);
}

.status-draft {
  background: #f0f0f0;
  color: var(--muted);
}

.status-lost, .status-sold {
  background: var(--danger-light);
  color: var(--danger);
}

.row-actions {
  display: flex;
  gap: 8px;
}

.row-actions button {
  background: none;
  border: none;
  color: var(--muted);
  padding: 4px;
}

.row-actions button:hover {
  color: var(--ink);
}

.row-actions svg {
  width: 17px;
  height: 17px;
}

.empty-state {
  text-align: center;
  padding: 48px 16px;
  color: var(--muted);
  font-size: 14px;
}

.grid-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

.pagination {
  display: flex;
  gap: 6px;
}

.pagination button {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  width: 30px;
  height: 30px;
  font-size: 13px;
  color: var(--ink);
}

.pagination button.active {
  background: var(--green);
  border-color: var(--green);
  font-weight: 700;
}

.pagination button:hover:not(.active) {
  background: var(--panel);
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #fff;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
  z-index: 210;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .page-title {
    font-size: 20px;
    margin: 18px 0 6px;
  }
  .form-panel {
    padding: 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-actions {
    flex-direction: column-reverse;
  }
  .form-actions .btn {
    width: 100%;
    text-align: center;
  }
  .grid-head {
    flex-direction: column;
    align-items: stretch;
  }
  .grid-controls {
    flex-direction: column;
    align-items: stretch;
  }
  .grid-search input {
    width: 100%;
  }
  .grid-footer {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}
img.card {
  max-width: 300px;
  width: 100%;
}

/* Profile summary card */
.profile-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--panel);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.profile-card img {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  background: #ccc;
}

.profile-card .name {
  font-size: 18px;
  font-weight: 700;
}

.stars {
  color: var(--green);
  font-size: 14px;
  letter-spacing: 2px;
}

.stars .off {
  color: #ddd;
}

.profile-card .meta {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

/* ---------- Review cards ---------- */
.review-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 14px;
  display: flex;
  gap: 14px;
}

.review-card img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  background: #ccc;
  flex-shrink: 0;
}

.review-card .rname {
  font-weight: 700;
  font-size: 14px;
}

.review-card .rdate {
  font-size: 12px;
  color: var(--muted);
  margin-left: 10px;
}

.review-card .rtext {
  font-size: 13px;
  margin-top: 6px;
  color: #333;
  line-height: 1.5;
}

/* ---------- Address cards ---------- */
.address-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.address-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.address-card .tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.address-card .aname {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}

.address-card .aline {
  font-size: 13px;
  color: #444;
  line-height: 1.5;
}

.address-card .aactions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.address-card .aactions button {
  background: none;
  border: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  padding: 0;
}

.address-card .aactions button:hover {
  color: var(--ink);
}

.address-card.add-new {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed #c9c9c9;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  min-height: 140px;
}

.address-card.add-new:hover {
  border-color: var(--green);
  color: var(--ink);
}

/* ---------- Product title ---------- */
.product-title {
  font-size: 26px;
  font-weight: 700;
  margin: 28px 0 20px;
  line-height: 1.3;
}

/* ---------- Product top section ---------- */
.product-top {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  margin-bottom: 32px;
}

.gallery {
  position: relative;
  background: var(--panel);
  border-radius: var(--radius);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.gallery img {
  max-width: 100%;
  max-height: 340px;
  -o-object-fit: contain;
     object-fit: contain;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #999;
}

.gallery-arrow svg {
  width: 28px;
  height: 28px;
}

.gallery-arrow.prev {
  left: 12px;
}

.gallery-arrow.next {
  right: 12px;
}

.badge-psa {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 20px;
}

.gallery-heart {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #333;
}

.gallery-heart svg {
  width: 22px;
  height: 22px;
}

.gallery-zoom {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: none;
  border: none;
  color: #222;
}

.gallery-zoom svg {
  width: 26px;
  height: 26px;
}

.bid-panel {
  background: var(--green);
  border-radius: var(--radius);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  padding: 24px;
  text-align: center;
  justify-content: space-between;
}

.remaining-label {
  font-size: 13px;
  margin-bottom: 12px;
}

.countdown {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 18px;
}

.countdown div {
  flex: 1;
}

.countdown .num {
  font-size: 26px;
  font-weight: 700;
  display: block;
}

.countdown .lbl {
  font-size: 12px;
  display: block;
  margin-top: 2px;
}

.current-bid-label {
  font-size: 13px;
  margin-bottom: 6px;
}

.current-bid-amount {
  font-size: 28px;
  font-weight: 700;
}

.bid-now-btn {
  margin-top: 20px;
  background: var(--green);
  border: 2px solid var(--ink);
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  padding: 14px;
  border-radius: var(--radius);
}

.bid-now-btn:hover {
  background: var(--green-dark);
}

/* ---------- Seller + info row ---------- */
.info-row {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.seller-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.seller-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  background: #ccc;
}

.seller-name {
  font-weight: 600;
  font-size: 16px;
}

.stars {
  color: var(--green);
  font-size: 14px;
  letter-spacing: 2px;
}

.stars .off {
  color: #ddd;
}

.seller-meta {
  font-size: 13px;
  color: var(--muted);
}

.details-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 24px;
}

.details-table .row {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.details-table .row:last-child {
  border-bottom: none;
}

.details-table .label {
  color: var(--muted);
}

.details-table .value {
  text-align: right;
}

/* ---------- Bid history ---------- */
.bid-history-section {
  background: var(--panel);
  padding: 40px 0;
  margin-bottom: 48px;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 20px;
}

.bid-history-list .row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  font-size: 14px;
  border-bottom: 1px solid #ddd;
}

.bid-history-list .row:last-child {
  border-bottom: none;
}

.bid-history-list .name {
  flex: 1;
}

.bid-history-list .date {
  flex: 1;
  text-align: center;
  color: var(--muted);
}

.bid-history-list .amount {
  flex: 1;
  text-align: right;
  font-weight: 600;
}

/* ---------- Auction grid ---------- */
.auction-section {
  margin-bottom: 60px;
}

.auction-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.auction-card {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.auction-card img {
  width: 100%;
  height: 170px;
  -o-object-fit: contain;
     object-fit: contain;
  margin-bottom: 12px;
}

.card-timer {
  display: flex;
  justify-content: space-between;
  background: var(--green);
  border-radius: var(--radius);
  padding: 10px 6px;
  margin-bottom: 12px;
}

.card-timer div {
  flex: 1;
  text-align: center;
}

.card-timer .num {
  font-weight: 700;
  font-size: 15px;
  display: block;
}

.card-timer .lbl {
  font-size: 10px;
  display: block;
}

.card-name {
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 10px;
  min-height: 54px;
}

.card-bid-label {
  font-size: 12px;
  color: var(--muted);
}

.card-bid-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.card-bid-amount {
  font-weight: 700;
  font-size: 15px;
}

.card-grade {
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
}

.card-bid-btn {
  background: var(--green);
  border: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  padding: 12px;
  border-radius: var(--radius);
  margin-bottom: 10px;
}

.card-bid-btn:hover {
  background: var(--green-dark);
}

.card-heart {
  background: none;
  border: none;
  align-self: flex-start;
  color: #333;
}

.card-heart svg {
  width: 20px;
  height: 20px;
}

/* ---------- Slide-out menu drawer ---------- */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 90;
}

.menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.menu-drawer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 380px;
  max-width: 85vw;
  background: #fff;
  z-index: 100;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.menu-drawer.open {
  transform: translateX(0);
}

.menu-drawer-top {
  flex: 1;
  overflow-y: auto;
}

.menu-drawer-header {
  display: flex;
  justify-content: flex-end;
  padding: 20px;
}

.menu-close {
  background: none;
  border: none;
  color: var(--ink);
}

.menu-close svg {
  width: 24px;
  height: 24px;
}

.menu-account {
  padding: 20px 28px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 20px;
  font-weight: 500;
}

.menu-highlights {
  padding: 20px 28px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.menu-highlights a {
  font-size: 20px;
  font-weight: 700;
}

.menu-highlights a.trend {
  color: #f5a623;
}

.menu-highlights a.bid {
  color: var(--green);
}

.menu-links {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.menu-links a {
  font-size: 17px;
  color: var(--ink);
}

.menu-links a:hover {
  color: var(--green-dark);
}

.menu-drawer-footer {
  background: var(--ink);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex-shrink: 0;
}

.menu-drawer-footer a {
  color: #fff;
  font-size: 15px;
}

.menu-drawer-footer a:hover {
  color: var(--green);
}

@media (max-width: 860px) {
  .menu-drawer {
    width: 320px;
  }
  .menu-account {
    font-size: 18px;
  }
  .menu-highlights a {
    font-size: 18px;
  }
}
/* ---------- Support bubble (desktop) ---------- */
.support-bubble {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}

.support-bubble svg {
  width: 26px;
  height: 26px;
  color: #f5c518;
}

/* ---------- Mobile bottom bar ---------- */
.mobile-bottom-bar {
  display: none;
}

.mobile-bottom-nav {
  display: none;
}

footer.spacer {
  height: 20px;
}

/* =====================================================
   MOBILE LAYOUT
===================================================== */
@media (max-width: 860px) {
  .container {
    padding: 0 16px;
  }
  .site-header {
    padding: 18px 0 12px;
  }
  .logo {
    font-size: 18px;
  }
  .toolbar {
    gap: 12px;
    padding: 12px 0;
  }
  .header-icons {
    display: none;
  }
  .toolbar .icon-btn.menu {
    order: 1;
  }
  .search-bar {
    order: 2;
  }
  .product-title {
    font-size: 20px;
    margin: 16px 0 16px;
  }
  .product-top {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 0;
  }
  /* reorder: gallery, then title, then PSA badge bar, then bid panel */
  .product-top {
    display: flex;
    flex-direction: column;
  }
  .gallery {
    order: -2;
    border-radius: 0;
    margin: 0 -16px;
    width: calc(100% + 32px);
    min-height: 300px;
    position: relative;
  }
  .badge-psa {
    position: static;
    display: block;
    width: calc(100% + 32px);
    margin: 0 -16px;
    text-align: center;
    background: var(--green);
    color: var(--ink);
    border-radius: 0;
    padding: 14px 0;
    font-size: 15px;
    order: -1;
  }
  .product-title {
    order: -3;
  }
  .bid-panel {
    border-radius: var(--radius);
    margin-top: 16px;
  }
  .info-row {
    grid-template-columns: 1fr;
    margin-bottom: 0;
  }
  .seller-card {
    margin-top: 20px;
  }
  .details-table {
    margin-top: 20px;
  }
  .bid-history-section {
    margin: 24px -16px 0;
    padding: 28px 16px 90px;
    width: calc(100% + 32px);
  }
  .auction-section {
    margin: 0 0 30px;
  }
  .auction-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .auction-card {
    padding: 12px;
  }
  .auction-card img {
    height: 130px;
  }
  .support-bubble {
    position: absolute;
    top: 300px;
    right: 16px;
    bottom: auto;
  }
  /* desktop-only bid button under gallery hidden on mobile, bottom bar used instead */
  .bid-panel .bid-now-btn.desktop-only {
    display: none;
  }
}
/* ---------- Widget ---------- */
.bid-widget {
  width: 100%;
  max-width: 360px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.bid-widget-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}

.bid-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.bid-current {
  font-size: 13px;
  color: var(--muted);
}

.bid-current strong {
  color: var(--ink);
  font-weight: 700;
}

.bid-current-row {
  margin-bottom: 18px;
}

.bid-current-amount {
  font-size: 26px;
  font-weight: 800;
}

.stepper {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 8px;
}

.stepper.error {
  border-color: var(--danger);
}

.stepper-btn {
  flex: 0 0 46px;
  background: var(--panel);
  border: none;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stepper-btn:hover:not(:disabled) {
  background: #e0e0e0;
}

.stepper-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.stepper-btn svg {
  width: 16px;
  height: 16px;
}

.stepper-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 8px;
  min-width: 0;
}

.stepper-currency {
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
  flex-shrink: 0;
}

.stepper-input {
  width: 100%;
  border: none;
  outline: none;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  font-family: inherit;
  -moz-appearance: textfield;
}

.stepper-input::-webkit-outer-spin-button,
.stepper-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.bid-hint {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 18px;
  min-height: 16px;
}

.bid-hint.error {
  color: var(--danger);
  font-weight: 600;
}

.quick-add {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.quick-add button {
  flex: 1;
  background: var(--panel);
  border: none;
  border-radius: 20px;
  padding: 8px 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

.quick-add button:hover {
  background: var(--green-light);
  color: var(--green-dark);
}

.place-bid-btn {
  width: 100%;
  background: var(--green);
  border: none;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  padding: 15px;
  border-radius: var(--radius);
}

.place-bid-btn:hover {
  background: var(--green-dark);
}

.place-bid-btn:disabled {
  background: #ccc;
  color: #888;
  cursor: not-allowed;
}

.bid-feedback {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-top: 14px;
}

.bid-feedback.show {
  display: flex;
}

.bid-feedback svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.bid-feedback.success {
  background: var(--green-light);
  color: var(--green-dark);
  border: 1px solid var(--green);
}

.bid-feedback.fail {
  background: var(--danger-light);
  color: var(--danger);
  border: 1px solid var(--danger);
}

/*
@import "bidlisting";
*//*# sourceMappingURL=main.css.map */