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;
}
.hero {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--brand-ink);
  padding: 12px 8px 0;
  display: block;
  position: relative;
  overflow: visible;
  box-shadow: none;
}
.hero:after {
  display: none;
}
.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;
  }
  .hero {
    padding: 18px 0 0;
  }
  .filters {
    grid-template-columns: 1fr;
    padding: 10px;
  }
  .filters input,
  .filters select,
  .filters button {
    height: 52px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
}
.addCart {
  border: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-dk));
  color: var(--surface);
  border-radius: var(--radius-btn);
  padding: 10px;
  font-weight: 900;
  cursor: pointer;
}
.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;
}
.shopDrawer {
  position: fixed;
  top: 0;
  inset-inline-end: 0;
  width: min(420px, 92vw);
  height: 100vh;
  background: var(--surface);
  z-index: var(--z-drawer);
  box-shadow: 20px 0 60px #281e0f2e;
  transform: translate(calc(-105% * var(--dir-sign)));
  transition: 0.25s ease;
  padding: 20px;
  overflow: auto;
}
.shopDrawer.open {
  transform: translate(0);
}
.drawerHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawerHead button {
  border: 0;
  background: var(--cream);
  border-radius: var(--radius-btn);
  padding: 7px 10px;
}
.drawerItem {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 9px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.drawerThumb {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-btn);
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-3xl);
}
.drawerItem small {
  color: var(--muted);
}
.drawerItem b {
  display: block;
}
.drawerTotal {
  margin-top: 18px;
  padding: 14px;
  border-radius: var(--radius-btn);
  background: var(--badge-bg);
  display: flex;
  justify-content: space-between;
  font-weight: 900;
}
.checkoutBtn {
  width: 100%;
  margin-top: 10px;
  border: 0;
  background: var(--gold);
  color: var(--surface);
  border-radius: var(--radius-btn);
  padding: 12px;
  font-weight: 900;
}
.shopCategoryGrid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.pStatusBadge {
  display: inline-block;
  font-size: var(--fs-2xs);
  font-weight: 900;
  border-radius: var(--radius-btn);
  padding: 3px 8px;
  background: var(--success-soft);
  color: var(--success);
}
.pStatusBadge.st-not_sold,
.pStatusBadge.st-committed_to_auction,
.pStatusBadge.st-direct_sale_in_handoff {
  background: var(--cream);
  color: var(--warning);
}
.pStatusBadge.st-sold {
  background: var(--line);
  color: var(--live);
}
.pStatusBadge.st-draft {
  background: var(--cream);
  color: var(--muted);
}
.itemDetailModal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: #201a108c;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.itemDetailModal.open {
  display: flex;
}
.itemDetailCard {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-modal);
  width: min(980px, 96vw);
  max-height: 92vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 80px #1e140559;
}
.itemDetailClose {
  position: sticky;
  top: 10px;
  margin: 10px 10px 0 auto;
  z-index: 5;
  border: 0;
  background: var(--cream);
  color: var(--gold-dk);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-lg);
  cursor: pointer;
  flex: 0 0 auto;
}
.itemDetailClose:hover {
  background: var(--line);
}
.itemDetailBody {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 20px;
  padding: 6px 22px 20px;
  overflow: auto;
}
.pdmGallery {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pdmMainMedia {
  height: 330px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--cream);
}
.pdmThumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pdmThumb {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-btn);
  border: 2px solid var(--line);
  background: var(--cream);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  font-size: var(--fs-xl);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pdmThumb.on {
  border-color: var(--gold);
}
.pdmThumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pdmInfo {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}
.pdmHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.pdmPrice {
  font-size: var(--fs-2xl);
  font-weight: 900;
  color: var(--gold-dk);
}
.pdmTitle {
  margin: 0;
  font-size: var(--fs-2xl);
  font-weight: 900;
  color: var(--ink);
}
.pdmSeller {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  padding: 9px 12px;
  background: var(--surface);
}
.pdmSeller small {
  display: block;
  color: var(--muted);
}
.pdmAvatar {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-pill);
  background: var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pdmLoc {
  font-size: var(--fs-sm);
  color: var(--muted);
  font-weight: 700;
}
.pdmLocNote {
  font-size: var(--fs-sm);
  color: var(--warning);
  background: var(--cream);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-btn);
  padding: 8px 10px;
}
.pdmSecTitle {
  margin: 6px 0 0;
  font-size: var(--fs-md);
  font-weight: 900;
  color: var(--ink);
}
.pdmSpecs {
  width: 100%;
  border-collapse: collapse;
}
.pdmSpecs tr {
  border-bottom: 1px solid var(--line);
}
.pdmSpecs td {
  padding: 7px 4px;
  font-size: var(--fs-sm);
}
.pdmSpecs td:first-child {
  color: var(--muted);
  font-weight: 700;
  width: 45%;
}
.pdmSpecs td:last-child {
  font-weight: 800;
  color: var(--ink);
}
.pdmDesc {
  margin: 0;
  font-size: var(--fs-md);
  line-height: 1.9;
  color: var(--success);
  white-space: pre-line;
}
.pdmEmptyMedia {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
}
.pdmActions {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 12px 22px;
  border-top: 1px solid var(--line);
  background: var(--surface-soft);
  flex-wrap: wrap;
}
.pdmActions .addCart {
  margin: 0;
  flex: 1;
  min-width: 150px;
}
.pdmActions .addCart:disabled,
.negotiateBtn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.negotiateBtn {
  border: 2px solid var(--gold);
  background: var(--surface);
  color: var(--warning);
  border-radius: var(--radius-btn);
  padding: 11px 16px;
  font-weight: 900;
  cursor: pointer;
  flex: 1;
  min-width: 180px;
}
.negotiateBtn:hover:not(:disabled) {
  background: var(--gold);
  color: var(--surface);
}
.pdmNegForm {
  flex-basis: 100%;
  display: grid;
  gap: 8px;
  background: var(--badge-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  padding: 12px;
}
.pdmNegForm[hidden] {
  display: none;
}
.pdmNegForm label {
  font-size: var(--fs-sm);
  font-weight: 800;
  display: grid;
  gap: 5px;
}
.pdmNegForm input {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-btn);
  padding: 9px;
  font: inherit;
}
.pdmNegFormRow {
  display: flex;
  gap: 8px;
}
.pdmNegForm .addCart {
  flex: 0 0 auto;
  padding: 9px 18px;
}
.pdmCancel {
  border-radius: var(--radius-btn);
  padding: 9px 14px;
  font-weight: 800;
  cursor: pointer;
}
.pdmNegForm small {
  color: var(--muted);
}
.pdmMsg {
  flex-basis: 100%;
  font-size: var(--fs-sm);
  font-weight: 800;
  min-height: 0;
}
.pdmMsg.err {
  color: var(--live);
}
.pdmMsg.ok {
  color: var(--success);
}
@media (max-width: 900px) {
  .itemDetailBody {
    grid-template-columns: 1fr;
    padding: 6px 14px 14px;
  }
  .pdmMainMedia {
    height: 240px;
  }
}
@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;
}
@keyframes shopPulse {
  0%,
  to {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
.modal,
.amModal,
.itemDetailModal,
.fbOverlay {
  align-items: flex-start !important;
  justify-content: center;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px;
}
.itemDetailCard {
  max-height: calc(100dvh - 32px);
  overflow: hidden;
}
@media (max-width: 640px) {
  :where(.top, .topbar, .head) {
    align-items: flex-start;
    flex-wrap: wrap;
  }
}
.coverMedia {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.containMedia {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #111;
}
.shop-page {
  box-sizing: border-box;
  max-width: var(--container);
  margin-inline: auto;
  padding: 24px var(--gutter) 64px;
  color: var(--ink);
}
.shop-page *,
.shop-page *::before,
.shop-page *::after {
  box-sizing: border-box;
}
.shop-hero {
  padding: 24px 32px;
  background: var(--am-gradient-soft);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}
.shop-hero__desc {
  margin-block-end: var(--am-space-4);
}
.shop-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.shop-search {
  display: flex;
  flex: 1 1 480px;
  align-items: center;
  gap: 8px;
  max-width: 720px;
  height: 56px;
  padding-block: 7px;
  padding-inline: 16px 7px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-btn);
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}
.shop-search:focus-within {
  border-color: var(--btn-fill);
  box-shadow: var(--btn-focus-ring);
}
.shop-search__icon {
  flex: none;
  font-size: var(--fs-lg);
  color: var(--gold-dk);
}
.shop-page .shop-search__input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  height: 40px;
  padding: 0;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none;
  outline: none;
  font-size: var(--fs-lg);
  color: var(--ink) !important;
}
.shop-page .shop-search__input::-webkit-search-decoration {
  appearance: none;
}
.shop-page .shop-search__submit {
  flex: none;
  min-height: 40px;
  height: 40px;
  padding: 0 24px;
  background: var(--btn-fill);
  color: var(--btn-on-fill);
  border: 0;
  border-radius: var(--radius-btn);
  font-size: var(--fs-lg);
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.18s ease,
    transform 0.18s ease;
}
.shop-page .shop-search__submit:hover {
  background: var(--btn-fill-hover);
}
.shop-hero__add {
  display: inline-flex;
  flex: none;
  align-items: center;
  height: 56px;
  padding-inline: 24px;
  background: var(--surface);
  color: var(--btn-fill-hover);
  border: 1px solid var(--btn-fill);
  border-radius: var(--radius-btn);
  font-size: var(--fs-lg);
  font-weight: 700;
  text-decoration: none;
  transition:
    background 0.18s ease,
    transform 0.18s ease;
}
.shop-hero__add:hover {
  background: var(--badge-bg);
}
.shop-pills.shop-pills--sub {
  margin-top: 0;
}
.shop-pills {
  display: flex;
  gap: 8px;
  margin-top: 24px;
  padding-block: 8px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}
.shop-page .shop-pill {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  height: 40px;
  padding: 0 16px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  font-size: var(--fs-lg);
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  scroll-snap-align: start;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}
.shop-page .shop-pill:hover {
  background: var(--badge-bg);
  border-color: var(--btn-fill);
}
.shop-page .shop-pill.is-active {
  background: var(--btn-fill);
  color: var(--btn-on-fill);
  border-color: var(--btn-fill);
}
.shop-pill__count {
  min-width: 24px;
  padding: 0 8px;
  line-height: 24px;
  text-align: center;
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--radius-pill);
  font-size: var(--fs-md);
  font-weight: 700;
}
.shop-pill.is-active .shop-pill__count {
  background: var(--btn-fill-hover);
  color: var(--btn-on-fill);
}
.shop-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.shop-filter {
  position: relative;
  display: block;
  min-width: 0;
}
.shop-filter::after {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline-end: 16px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--gold-dk);
  border-bottom: 2px solid var(--gold-dk);
  transform: translateY(-75%) rotate(45deg);
  pointer-events: none;
}
.shop-page .shop-filter__select {
  appearance: none;
  width: 100%;
  height: 48px;
  margin: 0;
  padding-block: 0;
  padding-inline: 16px 40px;
  min-height: 0;
  background: var(--surface) !important;
  color: var(--ink) !important;
  border: 1px solid var(--line-strong) !important;
  border-radius: var(--radius-btn) !important;
  box-shadow: none;
  font-size: var(--fs-lg);
  font-weight: 600;
  text-overflow: ellipsis;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background 0.18s ease;
}
.shop-page .shop-filter__select:is(:hover, :focus-visible, .is-set) {
  border-color: var(--btn-fill) !important;
}
.shop-page .shop-filter__select:focus-visible {
  outline: none;
  box-shadow: var(--btn-focus-ring);
}
.shop-page .shop-filter__select.is-set {
  background: var(--badge-bg) !important;
}
.shop-page .shop-filter__select:disabled {
  color: var(--muted) !important;
  background: var(--surface-soft) !important;
  cursor: not-allowed;
}
.shop-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}
.shop-chips__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.shop-page .shop-chip {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  height: 32px;
  padding-block: 0;
  padding-inline: 16px 4px;
  background: var(--badge-bg);
  color: var(--ink);
  border: 1px solid var(--border-gold-soft);
  border-radius: var(--radius-pill);
  font-size: var(--fs-md);
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.18s ease;
}
.shop-chip__remove {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--radius-pill);
  font-size: var(--fs-md);
  transition:
    background 0.18s ease,
    color 0.18s ease;
}
.shop-page .shop-chip:hover {
  border-color: var(--btn-fill);
}
.shop-page .shop-chip:hover .shop-chip__remove {
  background: var(--btn-fill);
  color: var(--btn-on-fill);
}
.shop-page .shop-chips__clear {
  flex: none;
  min-height: 32px;
  height: 32px;
  padding: 0 8px;
  background: transparent;
  color: var(--btn-danger-text);
  border: 0;
  border-radius: var(--radius-btn);
  font-size: var(--fs-md);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.shop-strip {
  margin-top: 32px;
}
.shop-strip__title {
  margin: 0 0 16px;
  font-size: var(--fs-xl);
  font-weight: 800;
}
.shop-strip__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 184px;
  gap: 16px;
  padding-bottom: 8px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}
.shop-page .shop-mini {
  display: grid;
  flex: none;
  gap: 8px;
  min-height: 0;
  height: auto;
  padding: 8px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  text-align: start;
  font-weight: 400;
  cursor: pointer;
  scroll-snap-align: start;
  transition:
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}
.shop-page .shop-mini:hover {
  border-color: var(--border-gold-soft);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.shop-mini__media {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--badge-bg), var(--cream));
  border-radius: var(--radius-btn);
}
.shop-mini__placeholder {
  font-size: 40px;
}
.shop-mini__title {
  overflow: hidden;
  font-size: var(--fs-md);
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.shop-mini__price {
  font-size: var(--fs-lg);
  font-weight: 800;
  color: var(--btn-fill-hover);
  unicode-bidi: isolate;
}
.shop-results {
  margin-top: 32px;
}
.shop-results__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.shop-results__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: var(--fs-2xl);
  font-weight: 800;
}
.shop-results__count {
  min-width: 32px;
  padding: 0 8px;
  line-height: 32px;
  text-align: center;
  background: var(--badge-bg);
  color: var(--btn-fill-hover);
  border: 1px solid var(--border-gold-soft);
  border-radius: var(--radius-pill);
  font-size: var(--fs-md);
  font-weight: 800;
}
.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.shop-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.shop-card:hover {
  border-color: var(--border-gold-soft);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.shop-card:focus-visible {
  outline: none;
  box-shadow: var(--btn-focus-ring), var(--shadow-hover);
}
.shop-card:active {
  transform: translateY(-1px);
}
.shop-card__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--badge-bg), var(--cream));
}
.shop-card__media img {
  object-fit: cover;
  transition: transform 0.3s ease;
}
.shop-card:hover .shop-card__media img {
  transform: scale(1.04);
}
.shop-card__placeholder {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  background: var(--surface);
  border: 1px solid var(--border-gold-soft);
  border-radius: var(--radius-pill);
  font-size: 48px;
}
.shop-card__badges {
  position: absolute;
  top: 8px;
  inset-inline-start: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: calc(100% - 64px);
}
.shop-badge {
  padding: 4px 8px;
  border-radius: var(--radius-btn);
  font-size: var(--fs-md);
  font-weight: 700;
  line-height: 1.4;
}
.shop-badge--new {
  background: var(--danger-soft);
  color: var(--btn-danger-text);
}
.shop-badge--updated {
  background: var(--info-soft);
  color: var(--info);
}
.shop-badge--ok {
  background: var(--success-soft);
  color: var(--success);
}
.shop-badge--busy {
  background: var(--badge-bg);
  color: var(--warning);
}
.shop-badge--off {
  background: var(--cream);
  color: var(--muted);
}
.shop-page .shop-card__fav {
  position: absolute;
  top: 8px;
  inset-inline-end: 8px;
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  min-height: 40px;
  height: 40px;
  padding: 0;
  background: var(--surface);
  color: var(--btn-danger-text);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: var(--fs-xl);
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}
.shop-page .shop-card__fav:hover {
  border-color: var(--btn-danger-text);
  transform: scale(1.08);
}
.shop-page .shop-card__fav.is-active {
  background: var(--danger-soft);
  border-color: var(--btn-danger-text);
}
.shop-card__tags {
  position: absolute;
  bottom: 8px;
  inset-inline-start: 8px;
  display: flex;
  gap: 8px;
}
.shop-card__tag {
  padding: 4px 8px;
  background: var(--ink);
  color: var(--surface);
  border-radius: var(--radius-btn);
  font-size: var(--fs-md);
  font-weight: 700;
}
.shop-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
}
.shop-card__title {
  display: -webkit-box;
  min-height: 3em;
  margin: 0;
  overflow: hidden;
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: 1.5;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.shop-card__price {
  margin: 0;
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--btn-fill-hover);
  white-space: nowrap;
  unicode-bidi: isolate;
}
.shop-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 0;
  font-size: var(--fs-md);
  color: var(--muted);
}
.shop-card__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}
.shop-page .shop-card__cart,
.shop-page .shop-card__negotiate {
  flex: none;
  min-height: 40px;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--radius-btn);
  font-size: var(--fs-md);
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}
.shop-page .shop-card__cart {
  background: var(--btn-fill);
  color: var(--btn-on-fill);
  border: 1px solid var(--btn-fill);
}
.shop-page .shop-card__cart:hover {
  background: var(--btn-fill-hover);
  border-color: var(--btn-fill-hover);
}
.shop-page .shop-card__negotiate {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.shop-page .shop-card__negotiate:hover {
  background: var(--badge-bg);
  border-color: var(--btn-fill);
}
.shop-page .shop-card__cart:disabled,
.shop-page .shop-card__negotiate:disabled {
  background: var(--cancel-bg);
  color: var(--muted);
  border-color: var(--cancel-bg);
  cursor: not-allowed;
  transform: none;
}
.shop-card--skeleton {
  cursor: default;
}
.shop-card--skeleton:hover {
  border-color: var(--line);
  box-shadow: var(--shadow-xs);
  transform: none;
}
.shop-skeleton {
  display: block;
  height: 16px;
  background: linear-gradient(90deg, var(--cream), var(--surface-soft), var(--cream));
  background-size: 200% 100%;
  border-radius: var(--radius-btn);
  animation: shop-shimmer 1.2s ease-in-out infinite;
}
.shop-skeleton--title {
  width: 80%;
}
.shop-skeleton--price {
  width: 40%;
  height: 24px;
}
.shop-skeleton--meta {
  width: 60%;
}
@keyframes shop-shimmer {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: -100% 0;
  }
}
.shop-page .shop-more {
  display: block;
  flex: none;
  min-height: 48px;
  height: 48px;
  margin: 32px auto 0;
  padding: 0 32px;
  background: var(--surface);
  color: var(--btn-fill-hover);
  border: 1px solid var(--btn-fill);
  border-radius: var(--radius-btn);
  font-size: var(--fs-lg);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease;
}
.shop-page .shop-more:hover {
  background: var(--badge-bg);
}
.shop-page .shop-more:disabled {
  color: var(--muted);
  cursor: progress;
}
.shop-sell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 48px;
  padding: 24px 32px;
  background: linear-gradient(120deg, var(--btn-fill-hover), var(--btn-fill));
  color: var(--btn-on-fill);
  border-radius: var(--radius-card);
}
.shop-sell__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 56px;
  height: 56px;
  background: var(--surface);
  border-radius: var(--radius-pill);
  font-size: var(--fs-3xl);
}
.shop-sell__text {
  flex: 0 1 auto;
  min-width: 0;
}
.shop-sell__title {
  margin: 0 0 4px;
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--btn-on-fill);
}
.shop-sell__desc {
  margin: 0;
  font-size: var(--fs-lg);
  line-height: 1.7;
  color: var(--btn-on-fill);
}
.shop-sell__action {
  display: inline-flex;
  flex: none;
  align-items: center;
  height: 48px;
  padding-inline: 24px;
  background: var(--surface);
  color: var(--btn-fill-hover);
  border-radius: var(--radius-btn);
  font-size: var(--fs-lg);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.18s ease,
    transform 0.18s ease;
}
.shop-sell__action:hover {
  background: var(--badge-bg);
}
.shop-page :is(a, button):focus-visible {
  outline: none;
  box-shadow: var(--btn-focus-ring);
}
.shop-page :is(button, a):active:not(:disabled) {
  transform: translateY(1px);
}
.shop-page [hidden] {
  display: none;
}
@media (max-width: 1100px) {
  .shop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .shop-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .shop-page {
    padding: 16px 16px 48px;
  }
  .shop-hero {
    padding: 24px 16px;
  }
  .shop-search {
    flex-basis: 100%;
  }
  .shop-hero__add {
    justify-content: center;
    width: 100%;
    height: 48px;
  }
  .shop-filters {
    gap: 8px;
  }
  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .shop-card__body {
    padding: 8px;
  }
  .shop-card__title {
    font-size: var(--fs-lg);
  }
  .shop-card__price {
    font-size: var(--fs-xl);
  }
  .shop-card__actions {
    grid-template-columns: 1fr;
  }
  .shop-card__placeholder {
    width: 72px;
    height: 72px;
    font-size: 36px;
  }
  .shop-sell {
    padding: 24px 16px;
  }
  .shop-sell__action {
    justify-content: center;
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .shop-page *,
  .shop-page *::before,
  .shop-page *::after {
    animation: none;
    transition: none;
  }
}
