:root {
  --feed-max-width: 1200px;
}

#homeFeedWrap {
  width: 100%;
  max-width: var(--feed-max-width);
  margin: 0 auto !important;
  padding: 0 !important;
}

#homeFeedGrid {
  display: flex;
  gap: 0;
  align-items: flex-start;
}

.feed-column {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

#homeFeedSentinel {
  width: 100%;
  height: 1px;
}

.feed-tile {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: var(--feed-tile-aspect, 1 / 1);
  margin: 0 !important;
  border: 1px solid #ffffff;
  overflow: hidden;
  cursor: pointer;
  background: #1c1c1c;
}

.feed-tile.feed-img-loaded {
  background: none;
}

.feed-tile img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

#homeLightbox {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: none;
  background: rgba(0, 0, 0, 0.92);
}

#homeLightbox[data-open="1"] {
  display: block;
}

#homeLightboxImage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

#homeLightboxClose {
  position: absolute;
  top: 10px;
  right: 10px;
  min-width: 42px;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 2;
}

#homeLightboxMeta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom)) 14px !important;
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.75) 45%, rgba(0, 0, 0, 0.9) 100%);
  z-index: 1;
}

#homeLightboxArtist {
  display: none;
  font-size: 0.82rem;
  color: #d7c7a7;
  text-decoration: underline;
  margin-bottom: 5px !important;
}

#homeLightboxTitle {
  font-size: 0.98rem;
  line-height: 1.25;
  font-weight: 600;
  margin-bottom: 4px !important;
}

#homeLightboxPrice {
  font-size: 0.9rem;
  color: #e8dcc9;
  margin-bottom: 4px !important;
}

#homeLightboxAddToCart {
  margin-top: 8px;
  padding: 8px 12px;
  background: #fff;
  color: #000;
  border: 1px solid #fff;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
}

#homeLightboxAction {
  margin-top: 8px;
  margin-right: 8px;
  padding: 8px 12px;
  background: rgba(10, 24, 33, 0.78);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
}

#homeLightboxAction:hover {
  background: rgba(15, 55, 74, 0.9);
}
