.lot-header {
  background: linear-gradient(160deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border);
  padding: 100px 0 0;
  margin-top: var(--nav-h);
}

.lot-meta-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.lot-header h1 { margin-bottom: 8px; }

.lot-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.lot-header-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  flex-wrap: wrap;
}

.lot-actions-top {
  display: flex;
  gap: 10px;
}

.lot-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  padding: 40px 0 80px;
  align-items: start;
}

.lot-main { display: flex; flex-direction: column; gap: 28px; }

.lot-gallery {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.gallery-main {
  height: 420px;
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg-secondary));
  position: relative;
  overflow: hidden;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-main .gallery-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(8, 12, 20, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.gallery-thumbs {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--border);
  overflow-x: auto;
}

.gallery-thumb {
  min-width: 100px;
  height: 80px;
  background: var(--bg-elevated);
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-thumb:hover, .gallery-thumb.active { background: var(--bg-secondary); }

.lot-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.lot-section-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lot-section-header i { color: var(--accent); font-size: 1.125rem; }

.lot-section-body { padding: 24px; }

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.spec-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.spec-row:nth-child(even) { border-right: none; }
.spec-row:nth-last-child(1), .spec-row:nth-last-child(2) { border-bottom: none; }

.spec-key {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
}

.spec-val {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
}

.condition-bar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.condition-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.condition-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
}

.condition-label span:first-child { color: var(--text-secondary); }
.condition-label span:last-child { font-weight: 700; color: var(--text-primary); }

.condition-track {
  height: 6px;
  background: var(--bg-elevated);
  border-radius: 100px;
  overflow: hidden;
}

.condition-fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--accent), #FBBF24);
  transition: width 1s ease;
}

.bid-history {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.bid-history-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}

.bid-history-row:last-child { border-bottom: none; }

.bid-history-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bid-avatar {
  width: 32px;
  height: 32px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-hover);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.bid-user-info { display: flex; flex-direction: column; gap: 2px; }
.bid-username { font-size: 0.875rem; font-weight: 600; }
.bid-time { font-size: 0.75rem; color: var(--text-muted); }

.bid-amount-row { text-align: right; }
.bid-price { font-size: 1rem; font-weight: 800; color: var(--accent); }
.bid-status { font-size: 0.75rem; color: var(--text-muted); }
.bid-status.winning { color: var(--green); }

.lot-sidebar { display: flex; flex-direction: column; gap: 20px; }

.bid-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}

.bid-box-header {
  padding: 20px 24px;
  background: var(--accent-light);
  border-bottom: 1px solid rgba(249, 115, 22, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bid-box-header .lot-num { font-size: 0.8125rem; color: var(--accent); font-weight: 700; }

.live-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--red);
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

.bid-box-body { padding: 24px; }

.current-bid-display {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.current-bid-display .lbl { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 4px; }
.current-bid-display .amount {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}

.bid-info-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.bid-info-row strong { color: var(--text-secondary); }

.bid-timer {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.bid-timer .lbl { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 10px; }

.bid-input-wrap {
  margin-bottom: 16px;
}

.bid-input-row {
  display: flex;
  align-items: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.bid-input-row:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

.bid-currency {
  padding: 12px 14px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-card);
  border-right: 1px solid var(--border);
}

.bid-input-row input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 14px;
  color: var(--text-primary);
  font-size: 1.0625rem;
  font-weight: 700;
  outline: none;
}

.bid-step-btns {
  display: flex;
  gap: 4px;
  padding: 6px;
}

.bid-step {
  padding: 6px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  gap: 8px;
  align-items: center;
}

.bid-step:hover { border-color: var(--accent); color: var(--accent); }

.bid-hint { font-size: 0.8125rem; color: var(--text-muted); margin-top: 8px; }
.bid-hint strong { color: var(--accent); }

.bid-box-actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.bid-box-actions .btn { justify-content: center; font-size: 1rem; padding: 14px; }

.bid-secure {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.bid-secure i { color: var(--green); }

.lot-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
}

.lot-info-card h4 {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.lot-info-rows { display: flex; flex-direction: column; gap: 12px; }

.lot-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

.lot-info-row .key { color: var(--text-muted); }
.lot-info-row .val { font-weight: 600; color: var(--text-primary); }

.seller-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
}

.seller-card h4 {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.seller-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.seller-avatar {
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--accent);
  font-weight: 800;
  flex-shrink: 0;
}

.seller-name { font-weight: 700; margin-bottom: 4px; }
.seller-meta { font-size: 0.8125rem; color: var(--text-muted); }
.seller-stats { display: flex; gap: 16px; margin-bottom: 16px; }

.seller-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.seller-stat .val { font-weight: 800; font-size: 1.125rem; }
.seller-stat .lbl { font-size: 0.75rem; color: var(--text-muted); }

@media (max-width: 1024px) {
  .lot-layout { grid-template-columns: 1fr; }
  .bid-box { position: static; }
  .specs-grid { grid-template-columns: 1fr; }
  .spec-row { border-right: none; }
}

@media (max-width: 768px) {
  .gallery-main { height: 280px; }
  .lot-header-bottom { flex-direction: column; align-items: flex-start; }
}
