/* "Recent work" strip on the shop pages (assets/js/recent-work.js). Gold #d19f68, dark #16161a. */
.recent-work { padding: 10px 0 70px; }
.recent-work[hidden] { display: none !important; }
.recent-work .rw-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.recent-work .rw-title {
  font-family: "Oswald", sans-serif; font-size: 34px; font-weight: 600; text-transform: uppercase;
  color: #16161a; margin: 0; line-height: 1.1; letter-spacing: .5px;
}
.recent-work .rw-title::after { content: ""; display: block; width: 56px; height: 3px; background: #d19f68; margin-top: 10px; }
.recent-work .rw-sub { font-family: "Poppins", sans-serif; font-size: 15px; color: #6b6b72; margin: 10px 0 0; }
.recent-work .rw-nav { display: flex; gap: 8px; flex-shrink: 0; }
.recent-work .rw-nav button {
  width: 42px; height: 42px; border: 2px solid #d19f68; background: #fff; color: #16161a; border-radius: 50%;
  font-size: 26px; line-height: 1; padding: 0 0 3px; cursor: pointer; transition: background .2s, color .2s;
}
.recent-work .rw-nav button:hover, .recent-work .rw-nav button:focus-visible { background: #d19f68; color: #16161a; outline: none; }

.recent-work .rw-strip {
  display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; padding: 2px 2px 12px; scrollbar-width: thin; scrollbar-color: #d19f68 transparent;
}
.recent-work .rw-strip::-webkit-scrollbar { height: 6px; }
.recent-work .rw-strip::-webkit-scrollbar-thumb { background: #d19f68; border-radius: 3px; }
.recent-work .rw-item {
  flex: 0 0 auto; width: 220px; aspect-ratio: 3 / 4; scroll-snap-align: start; display: block; overflow: hidden;
  background: #ece7e1; border-radius: 4px; position: relative;
}
.recent-work .rw-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.recent-work .rw-item:hover img { transform: scale(1.04); }
.recent-work .rw-item:focus-visible { outline: 3px solid #d19f68; outline-offset: 2px; }
.recent-work .rw-more {
  display: inline-block; margin-top: 16px; font-family: "Oswald", sans-serif; font-size: 16px; text-transform: uppercase;
  letter-spacing: 1px; color: #16161a; border-bottom: 2px solid #d19f68; padding-bottom: 2px; text-decoration: none;
}
.recent-work .rw-more:hover { color: #d19f68; text-decoration: none; }

/* Google Maps photos: each tile carries its photographer's credit (required by Google) */
.recent-work .rw-item--credited .rw-open { display: block; width: 100%; height: 100%; }
.recent-work .rw-credit {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 7px; font: 12px/1.3 "Poppins", sans-serif;
  color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); text-decoration: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.recent-work a.rw-credit[href]:hover { color: #d19f68; text-decoration: underline; }
.recent-work .rw-source { font-family: "Poppins", sans-serif; font-size: 12px; color: #6b6b72; margin: 8px 0 0; }
.recent-work.recent-work--google { padding-top: 0; }

@media (max-width: 575px) {
  .recent-work { padding-bottom: 50px; }
  .recent-work .rw-title { font-size: 28px; }
  .recent-work .rw-nav { display: none; } /* swipe instead */
  .recent-work .rw-item { width: 62vw; max-width: 240px; }
}

/* lightbox */
.rw-noscroll { overflow: hidden; }
.rw-lightbox {
  position: fixed; inset: 0; z-index: 10000; background: rgba(22, 22, 26, .94);
  display: flex; align-items: center; justify-content: center; padding: 56px 16px;
}
.rw-lightbox[hidden] { display: none; }
.rw-lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 8px 40px rgba(0, 0, 0, .5); background: #222; }
.rw-lightbox__btn {
  position: absolute; border: 0; background: transparent; color: #fff; cursor: pointer; line-height: 1;
  font-size: 44px; padding: 8px 14px; opacity: .85;
}
.rw-lightbox__btn:hover, .rw-lightbox__btn:focus-visible { color: #d19f68; opacity: 1; outline: none; }
.rw-lightbox__close { top: 6px; right: 8px; }
.rw-lightbox__prev { left: 4px; top: 50%; transform: translateY(-50%); font-size: 60px; }
.rw-lightbox__next { right: 4px; top: 50%; transform: translateY(-50%); font-size: 60px; }
.rw-lightbox__credit {
  position: absolute; bottom: 40px; left: 0; right: 0; text-align: center; color: #fff;
  font-family: "Poppins", sans-serif; font-size: 13px; text-decoration: none;
}
.rw-lightbox__credit[hidden] { display: none; }
a.rw-lightbox__credit[href]:hover { color: #d19f68; text-decoration: underline; }
.rw-lightbox__count {
  position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #ddd;
  font-family: "Poppins", sans-serif; font-size: 14px;
}
