.sale-date {
  width: min(220px, 65vw);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: auto;
  color: var(--navy);
  position: relative;
}

.sale-date::before,
.sale-date::after {
  content: "";
  position: absolute;
  top: -10px;
  width: 2px;
  height: 22px;
  background: var(--gold);
}

.sale-date::before { left: 28%; }
.sale-date::after { right: 28%; }
.sale-date span { color: var(--blue); font-size: .78rem; font-weight: 700; letter-spacing: .2em; }
.sale-date strong { font: 400 3.9rem/1 "Newsreader", serif; margin: 8px 0 4px; }
.sale-date small { color: #68747c; font-size: .78rem; letter-spacing: .18em; }

.sale-schedule {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 18px 0;
}

.sale-schedule p {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0;
  padding: 14px 0;
  color: #5d6871;
}

.sale-schedule p + p { border-top: 1px solid var(--line); }
.sale-schedule b { color: var(--navy); min-width: 190px; }

.sale-address {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  margin: 18px 0;
  padding: 16px 18px;
  background: var(--cream);
  border-left: 3px solid var(--gold);
  font-style: normal;
}

.sale-address > span {
  color: #68747c;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.sale-address a {
  color: var(--navy);
  line-height: 1.35;
}

.sale-address a:hover { color: var(--blue); }
.sale-address em {
  color: var(--blue);
  font-size: .74rem;
  font-style: normal;
  font-weight: 700;
  margin-left: 6px;
  white-space: nowrap;
}

.sale-facebook-link {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sale-facebook-link:hover { color: var(--navy); }

.social-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tiktok-button {
  white-space: nowrap;
  background: #111;
  color: #fff;
  padding: 12px 18px;
  font-size: .83rem;
  font-weight: 700;
}

.tiktok-button:hover { background: #333; }

.sale-gallery {
  grid-column: 1 / -1;
  margin-top: 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.sale-gallery-heading {
  margin-bottom: 14px;
}

.sale-gallery-heading p { margin: 0; }

.sale-gallery-grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 0 14px;
  scroll-snap-type: x proximity;
  scrollbar-color: var(--gold) var(--cream);
  scrollbar-width: thin;
}

.sale-photo {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: #d8d1c5;
  flex: 0 0 clamp(270px, 27vw, 390px);
  aspect-ratio: 4 / 3;
  scroll-snap-align: start;
  cursor: zoom-in;
}

.sale-photo:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}

.sale-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(1.035) contrast(1.035) saturate(.97);
  transition: transform .45s ease;
}

.sale-photo:nth-child(1) img { object-position: center 56%; }
.sale-photo:nth-child(2) img { object-position: center 35%; }
.sale-photo:nth-child(3) img { object-position: center 48%; }
.sale-photo:nth-child(8) img { object-position: center 28%; }
.sale-photo:hover img { transform: scale(1.018); }

.sale-photo figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 28px 16px 13px;
  color: #fff;
  background: linear-gradient(transparent, rgba(8,24,36,.78));
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .015em;
}

.photo-lightbox {
  width: min(94vw, 1100px);
  max-width: none;
  max-height: 94vh;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  overflow: visible;
}

.photo-lightbox::backdrop { background: rgba(4, 12, 18, .9); }

.photo-lightbox-inner {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
}

.photo-lightbox img {
  display: block;
  width: auto;
  max-width: 94vw;
  height: auto;
  max-height: 84vh;
  object-fit: contain;
  box-shadow: 0 18px 60px rgba(0,0,0,.38);
}

.photo-lightbox-caption {
  margin: 0;
  padding: 0 52px;
  font-size: .85rem;
  text-align: center;
}

.photo-lightbox-close {
  position: absolute;
  z-index: 1;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  background: rgba(5,18,27,.78);
  color: #fff;
  font: 400 1.7rem/1 sans-serif;
  cursor: pointer;
}

.photo-lightbox-close:hover,
.photo-lightbox-close:focus-visible { background: var(--gold); color: var(--navy); }

@media (max-width: 900px) {
  .sale-date { margin: 0; }
}

@media (max-width: 560px) {
  .sale-date strong { font-size: 3.65rem; }
  .sale-schedule b { width: 100%; }
  .sale-address { align-items: flex-start; flex-direction: column; gap: 8px; }
  .social-buttons { width: 100%; }
  .sale-gallery { margin-top: 2px; padding-top: 24px; }
  .sale-gallery-grid { gap: 9px; margin-right: -24px; padding-right: 24px; }
  .sale-photo { flex-basis: 78vw; }
  .sale-photo figcaption { padding: 24px 10px 10px; font-size: .7rem; }
}
