body {
  background: var(--bg);
  color: var(--brand-ink);
  font-family: var(--font, Tahoma, Arial, sans-serif);
}
header {
  background: transparent;
  border: 0;
  box-shadow: none;
}
.nav {
  max-width: 1360px;
  height: 70px;
  padding: 0 24px;
}
main {
  padding-block: var(--am-space-2) 80px;
}
.filters {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.7fr 0.7fr auto;
  gap: 10px;
  align-items: center;
  margin: 16px 0 0;
  background: var(--surface);
  padding: 10px;
  border: 1px solid var(--brand-line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-xs);
}
.filters input,
.filters select {
  height: 52px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  color: var(--ink);
  padding: 0 16px;
  font-size: var(--fs-lg);
  font-weight: 400;
}
.filters input {
  font-size: var(--fs-lg);
}
.filters button {
  height: 52px;
  padding: 0 22px;
  background: var(--brand-gold);
  border: 0;
  border-radius: var(--radius-card);
  color: var(--surface);
  font-weight: 600;
  font-size: var(--fs-lg);
  white-space: nowrap;
}
.filters button:hover {
  background: var(--brand-gold-dark);
}
#map {
  height: 560px;
  min-height: 560px;
}
@keyframes pulse {
  0% {
    opacity: 0.75;
    transform: scale(0.9);
  }
  70% {
    opacity: 0;
    transform: scale(1.08);
  }
  to {
    opacity: 0;
  }
}
#auctions {
  scroll-margin-top: 88px;
}
#auctions {
  margin-top: var(--space-section, 96px);
}
#auctions .title {
  padding: 0 0 22px;
}
#auctions .title h2 {
  font-size: var(--fs-3xl);
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.card {
  border: 1px solid var(--brand-line);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--border-gold-soft);
}
.card h3 {
  font-size: var(--fs-xl);
  line-height: 1.45;
  margin: 0 0 8px;
  font-weight: 700;
}
.card .out {
  background: var(--brand-gold);
  color: var(--surface);
  border: 0;
  border-radius: var(--radius-btn);
  height: 42px;
  font-weight: 600;
}
.pill {
  background: var(--line);
  color: var(--gold-dk);
  font-weight: 600;
}
.countdown .unit {
  background: var(--ink);
  border-radius: var(--radius-btn);
}
.bidCount b {
  font-size: var(--fs-xl);
  color: var(--gold-dk);
  margin-inline-end: 4px;
}
.amLangSwitch {
  border-color: var(--border-gold-soft);
  background: var(--cream);
}
.amLangSwitch button.active {
  color: var(--gold-dk) !important;
}
@media (max-width: 900px) {
  .filters {
    grid-template-columns: 1fr 1fr;
  }
  .filters input {
    grid-column: 1/-1;
  }
  .cards {
    grid-template-columns: 1fr 1fr;
  }
  #map {
    height: 380px;
    min-height: 380px;
  }
}
@media (max-width: 640px) {
  main {
    padding-block: var(--am-space-2) 48px;
  }
  .filters {
    grid-template-columns: 1fr;
    padding: 10px;
  }
  .filters input,
  .filters select,
  .filters button {
    height: 52px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
}
.favBtn {
  width: 42px;
  border: 1px solid var(--border-gold-soft);
  background: var(--surface-soft);
  border-radius: var(--radius-btn);
  font-size: var(--fs-xl);
  cursor: pointer;
}
.sellPage {
  max-width: 900px;
  margin: 28px auto;
  padding: 18px;
}
.sellCard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-modal);
  padding: 24px;
  box-shadow: 0 14px 34px #4e391c12;
}
.sellGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.sellCard label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 800;
}
.sellCard input,
.sellCard select,
.sellCard textarea {
  width: 100%;
  margin-top: 6px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-btn);
  padding: 11px;
  font: inherit;
}
.sellCard textarea {
  min-height: 110px;
}
.sellSubmit {
  margin-top: 14px;
  border: 0;
  background: var(--gold);
  color: #fff;
  border-radius: var(--radius-btn);
  padding: 12px 20px;
  font-weight: 900;
}
@media (max-width: 640px) {
  .sellGrid {
    grid-template-columns: 1fr;
  }
}
.shopCategoryGrid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
@media (max-width: 900px) {
  .shopCategoryGrid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .shopCategoryGrid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
}
.badge {
  display: inline-block;
  font-size: var(--fs-2xs);
  font-weight: 900;
  border-radius: var(--radius-modal);
  padding: 3px 8px;
  white-space: nowrap;
}
.sk {
  background: var(--line);
  border-radius: 6px;
  animation: shopPulse 1.4s ease-in-out infinite;
}
@keyframes shopPulse {
  0%,
  to {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
