/* Recently Viewed Properties */
.btn-group-list {
  background-color: #f4f4f4;
  padding: 15px 20px;
  margin-bottom: 15px;
}

.btn-group-list ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.btn-group-list a {
  display: block;
  margin-bottom: 1rem;
  cursor: pointer;
  text-align: center;
}

.btn-group-list .btn.gray {
  cursor: pointer;
}

.full-width {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  max-width: none;
}

.full-width__inner {
  max-width: 1600px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.recently-viewed-properties {
  margin-top: 2.5rem;
  padding: 2rem 0 0 0;
  background: none;
}

.recently-viewed-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: left;
  margin-bottom: 0;
  padding-left: 1rem;
  padding-right: 1rem;
}

.auction-feed {
  padding: 2.5rem 0 1.5rem 0;
  background: #efefef;
}

.auctions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 1200px) {
  .auctions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .auctions-grid {
    grid-template-columns: repeat(2, 1fr);
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 600px) {
  .auctions-grid {
    grid-template-columns: 1fr;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.auctions-grid.row {
  max-width: 1600px !important;
}

.auctions-grid.row::before,
.auctions-grid.row::after {
  display: none !important;
}

.auction {
  background: #fff;
  box-shadow: 0 2px 12px #eee;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: box-shadow 0.2s;
  position: relative;
}

.auction:hover {
  box-shadow: 0 4px 24px #ddd;
}

.auction .status {
  background: #1a2340;
  color: #fff;
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  text-align: center;
  font-weight: 600;
}

.auction .image {
  width: 100%;
  height: 9rem;
  overflow: hidden;
  background: #f4f4f4;
}

.auction .image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.auction .details {
  padding: 1rem 1rem 2rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.auction .details h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: #222;
}

.auction .details-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1rem;
}

.auction .details-inner {
  flex: 1;
}

.auction .address {
  font-size: 1rem;
  color: #666;
  margin: 0.5rem 0 0.5rem 0;
  min-height: 2.5rem;
}

.auction .price,
.auction .price h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0 0;
}

.auction .plus-fees {
  font-size: 0.85rem;
  color: #888;
  margin-left: 0.3rem;
}

.auction .partner-image {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  margin-left: 1rem;
  border-radius: 0.25rem;
  background: #f4f4f4;
}

.auction .btn {
  margin: 0.5rem 1rem 1rem 1rem;
  padding: 0.7rem 1.5rem;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 0.3rem;
  background: #e6214b;
  color: #fff;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s;
  display: block;
}

.auction .btn:hover {
  background: #c51c3e;
}
