.h1.marketplace-title {
  font-size: 3rem;
  line-height: 3rem;
  margin-left: -.2rem;
  line-height: 40px;
}
.marketplace-card {
  height: 370px;
  width: 280px;
  border-radius: 2rem !important;
  border: none;
  box-shadow: 2px 2px 8px 4px rgba(0, 0, 0, .1);
}
.marketplace-card:hover {
  box-shadow: 2px 2px 8px 4px rgba(0, 0, 0, .3);
}
.marketplace-card .marketplace-card-body {
  width: 280px;
}
div.marketplace-image {
  height: 200px;
}
div.marketplace-image img {
  max-height: 190px;
}
div.marketplace-name {
  font-size: .9rem;
  margin-top: 0px;
  max-height: 68px;
  overflow: hidden;
}
.marketplace-card-footer {
  position: absolute;
  bottom: 1rem;
  width: 248px;
}
div.marketplace-price {
  color: var(--cac-green) !important;
}

.marketplace-all-grid .card-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 6px;
  align-items: stretch;
}
.marketplace-all-grid .marketplace-card {
  position: relative;
  container-type: inline-size;
  display: block !important;
  width: 100% !important;
  max-width: none;
  min-height: 250px;
  height: auto !important;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 10px !important;
  background: #f3f3f3;
  color: #05090d;
  text-decoration: none !important;
  box-shadow: none;
}
.marketplace-all-grid .marketplace-card.is-auction {
  border-color: rgba(229, 90, 51, .72);
}
.marketplace-all-grid .marketplace-card:hover,
.marketplace-all-grid .marketplace-card:focus {
  border-color: rgba(82, 137, 126, .55);
  background: #f0f3f2;
}
.marketplace-all-grid .marketplace-card.is-auction:hover,
.marketplace-all-grid .marketplace-card.is-auction:focus {
  border-color: #e55a33;
}
.marketplace-all-grid .marketplace-wantlist-trigger {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8dedc;
  border-radius: 50%;
  background: rgba(255, 255, 255, .72);
  color: #a4abad;
  line-height: 1;
}
.marketplace-all-grid .marketplace-wantlist-trigger i {
  display: block;
  font-size: 12px;
  line-height: 1;
}
.marketplace-all-grid .marketplace-wantlist-trigger.is-liked {
  border-color: var(--cac-primary);
  background: #fff;
  color: var(--cac-primary);
}
.marketplace-all-grid .marketplace-wantlist-trigger.is-loading {
  opacity: .55;
  pointer-events: none;
}
.marketplace-all-grid .marketplace-card-body {
  display: flex;
  flex-direction: column;
  width: 100% !important;
  min-width: 0;
  height: 100%;
  padding: 12px !important;
  text-align: left !important;
}
.marketplace-all-grid .marketplace-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  margin-bottom: 12px;
  padding: 0 !important;
}
.marketplace-all-grid .marketplace-image img {
  max-width: 100%;
  max-height: 116px;
  object-fit: contain;
}
.marketplace-all-grid .marketplace-name {
  order: 2;
  display: -webkit-box;
  min-height: 33px;
  max-height: none;
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
  color: #2f383b !important;
  font-size: .78rem;
  font-weight: 400;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.marketplace-all-grid .marketplace-card-footer {
  position: static !important;
  display: contents !important;
  width: auto !important;
}
.marketplace-all-grid .marketplace-card-footer > .d-flex {
  order: 1;
  display: block !important;
  margin-bottom: 5px;
}
.marketplace-all-grid .marketplace-price,
.marketplace-all-grid .marketplace-auction {
  margin: 0 !important;
  color: #05090d;
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.1;
}
.marketplace-all-grid .marketplace-price {
  color: #05090d !important;
}
.marketplace-all-grid .marketplace-auction {
  color: #e55a33;
}
.marketplace-all-grid .marketplace-auction .fa-gavel {
  margin-right: 5px;
  color: #e55a33;
  font-size: .88rem;
}
.marketplace-all-grid .marketplace-quantity,
.marketplace-all-grid .marketplace-auction-description {
  display: none;
}
.marketplace-all-grid .marketplace-footer-pill-row {
  order: 3;
  display: flex;
  align-items: center;
  align-self: flex-start;
  gap: 5px;
  max-width: 100%;
  margin-top: auto;
  min-width: 0;
}
.marketplace-all-grid .marketplace-seller-pill,
.marketplace-all-grid .marketplace-auction-time-pill,
.marketplace-all-grid .marketplace-quantity-pill {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 23px;
  padding: 2px 8px 3px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}
.marketplace-all-grid .marketplace-seller-pill {
  flex: 0 1 auto;
  min-width: 0;
  padding-right: 12px;
  padding-left: 9px;
  border: 1px solid #dde3e1;
  background: #f3f3f3;
  color: #05090d;
  overflow: hidden;
}
.marketplace-all-grid .marketplace-seller-pill-label {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.marketplace-all-grid .marketplace-auction-time-pill {
  flex: 0 0 auto;
  gap: 4px;
  border: 1px solid #e55a33;
  background: #f3f3f3;
  color: #e55a33;
}
.marketplace-all-grid .marketplace-quantity-pill {
  flex: 0 0 auto;
  gap: 4px;
  border: 1px solid #dde3e1;
  background: #f3f3f3;
  color: #9aa1a4;
}
.marketplace-all-grid .marketplace-auction-time-pill .fa-flag {
  color: #e55a33;
  font-size: .78rem;
}
.marketplace-all-grid .marketplace-quantity-pill .fa-coins {
  color: #9aa1a4;
  font-size: .78rem;
}
.marketplace-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 27px;
  padding: 0 10px !important;
  border: 1px solid #e1e6e4;
  border-radius: 999px !important;
  background: #fff !important;
  color: #1f2528;
  font-size: .82rem;
  line-height: 1;
}
.marketplace-card-row {
  position: relative;
  min-width: 0;
}
.marketplace-card-row-header {
  gap: 1rem;
  margin-bottom: .75rem;
}
.marketplace-row-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid #d8dedc;
  border-radius: 999px;
  background: #fff;
  color: #7b8588;
  font-size: 18px;
  line-height: 1;
}
.marketplace-row-arrow:hover,
.marketplace-row-arrow:focus {
  border-color: rgba(82, 137, 126, .55);
  background: #f0f3f2;
  color: var(--cac-primary);
}
.marketplace-card-row-floating-controls {
  display: flex;
  justify-content: flex-end;
  margin-bottom: .75rem;
}
.marketplace-card-row .marketplace-card-row-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.marketplace-card-row .marketplace-card-row-track.card-container {
  display: flex;
  grid-template-columns: none;
  flex-wrap: nowrap;
  gap: 6px;
  align-items: stretch;
  padding-bottom: 6px;
}
.marketplace-card-row .marketplace-card {
  flex: 0 0 190px;
  width: 190px !important;
}
.marketplace-preview-image {
  cursor: zoom-in;
}
.marketplace-image-preview-popover .popover-body img {
  display: block;
  max-width: min(420px, 80vw);
  max-height: min(520px, 75vh);
  width: auto;
  height: auto;
  object-fit: contain;
}
.marketplace-related-grid {
  display: block;
}
.marketplace-item-related-title {
  margin-bottom: 1rem;
  color: #000;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
}
@media (min-width: 992px) and (max-width: 1199px) {
  .marketplace-all-grid .card-container {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (min-width: 1200px) {
  .marketplace-all-grid .card-container {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .marketplace-all-grid .card-container {
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  }
}
@media (max-width: 575px) {
  .marketplace-card-row .marketplace-card {
    flex-basis: 155px;
    width: 155px !important;
  }
  .marketplace-all-grid .card-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .marketplace-all-grid .marketplace-card {
    min-height: 270px;
  }
  .marketplace-all-grid .marketplace-card-body {
    padding: 12px !important;
  }
  .marketplace-all-grid .marketplace-image {
    height: 112px;
  }
  .marketplace-all-grid .marketplace-image img {
    max-height: 108px;
  }
}
