/* ---------- the shoe wall ---------- */
.wl-sec { background: radial-gradient(120% 70% at 50% 0%, #262626 0%, #121212 55%, #0a0a0a 100%); color: var(--dm-white);
  padding-bottom: clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--dm-line-light); }
.wl-sec .dm-lede { color: rgba(255,255,255,.62); }
.wl-tabs { margin-bottom: clamp(1.8rem, 3vw, 2.6rem); }
.wl-tabs .dm-chip { color: var(--dm-white); }
.wl-tabs .dm-chip[aria-pressed="true"] { background: var(--dm-white); border-color: var(--dm-white); color: var(--dm-ink); }
/* the fixture: a dark back panel with two metal uprights, shelves stacked inside */
.wl-wall { --stage: clamp(110px, 11vw, 170px); --post: clamp(10px, 1.2vw, 16px); position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  row-gap: clamp(.8rem, 1.6vw, 1.4rem); padding: clamp(1.4rem, 3vw, 2.4rem) calc(var(--post) + clamp(.6rem, 2vw, 1.6rem)) .4rem;
  background: repeating-linear-gradient(180deg, transparent 0 46px, rgba(0,0,0,.35) 46px 48px, rgba(255,255,255,.025) 48px 49px), linear-gradient(180deg, #1d1d1d, #131313); border-radius: 6px; box-shadow: inset 0 0 60px rgba(0,0,0,.65), 0 30px 60px -30px rgba(0,0,0,.8);
  transition: opacity .22s ease; }
.wl-wall::before, .wl-wall::after { content: ""; position: absolute; top: 0; bottom: 0; width: var(--post); pointer-events: none;
  background: linear-gradient(90deg, #3a3a3a, #8c8c8c 35%, #4a4a4a 60%, #262626);
  -webkit-mask: repeating-linear-gradient(180deg, #000 0 14px, rgba(0,0,0,.55) 14px 18px); mask: repeating-linear-gradient(180deg, #000 0 14px, rgba(0,0,0,.55) 14px 18px); }
.wl-wall::before { left: 0; border-radius: 6px 0 0 6px; }
.wl-wall::after { right: 0; border-radius: 0 6px 6px 0; }
.wl-wall.is-swapping { opacity: 0; }
.wl-pair { position: relative; display: block; color: inherit; text-decoration: none; outline: none; padding-bottom: 4.8rem; }
/* each bay: a downlight from above, a board to stand on, a lit front edge and the shadow it throws */
.wl-stage { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: center; height: var(--stage); padding: 0 8% 9px;
  background: radial-gradient(45% 70% at 50% 0%, rgba(255,240,220,.09), transparent 75%), radial-gradient(60% 70% at 50% 100%, rgba(255,255,255,.07), transparent 75%); }
.wl-stage::before { content: ""; position: absolute; left: 50%; bottom: 4px; width: 66%; height: 12px; transform: translateX(-50%); z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, rgba(0,0,0,.75), transparent 72%); transition: transform .45s cubic-bezier(.22,1,.36,1), opacity .45s; }
.wl-pair::after { content: ""; position: absolute; left: -1px; right: -1px; top: calc(var(--stage) - 18px); height: 32px; z-index: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.10) 0, rgba(255,255,255,0) 1px) 0 0 / 100% 18px no-repeat,
    linear-gradient(180deg, #1f1f1f 0, #2f2f2f 45%, #4a4a4a 100%) 0 0 / 100% 18px no-repeat,
    linear-gradient(180deg, #f4f4f4 0, #bdbdbd 1.5px, #5a5a5a 3px, #3a3a3a 6px, #222 14px) 0 18px / 100% 14px no-repeat; }
/* shadow the board throws on the wall below, drawn per bay without overlap */
.wl-stage::after { content: ""; position: absolute; left: 0; right: 0; top: calc(100% + 14px); height: 40px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.7) 0, rgba(0,0,0,.25) 14px, transparent 40px); }
.wl-stage img { position: relative; display: block; width: 90%; height: auto; max-height: 90%; object-fit: contain; object-position: 50% 100%;
  transform-origin: 50% 100%; filter: drop-shadow(0 3px 3px rgba(0,0,0,.55)); transition: transform .45s cubic-bezier(.22,1,.36,1), filter .3s ease; }
.wl-stage img.is-flip { transform: scaleX(-1); }
.wl-cap { position: absolute; z-index: 1; left: 6%; right: 6%; top: calc(var(--stage) + 1.6rem); text-align: center; font-size: .86rem; line-height: 1.3; }
.wl-cap b { display: block; font-weight: 600; margin-bottom: .15rem; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.wl-pair:hover .wl-stage img, .wl-pair:focus-visible .wl-stage img { transform: translateY(-10%) scale(1.12) rotate(-4deg); filter: drop-shadow(0 22px 16px rgba(0,0,0,.6)); }
.wl-pair:hover .wl-stage img.is-flip, .wl-pair:focus-visible .wl-stage img.is-flip { transform: translateY(-10%) scale(1.12) rotate(4deg) scaleX(-1); }
.wl-pair:hover .wl-stage::before, .wl-pair:focus-visible .wl-stage::before { transform: translateX(-50%) scale(.8); opacity: .6; }
.wl-pair:focus-visible .wl-stage { outline: 3px solid var(--dm-red); outline-offset: 4px; border-radius: 4px; }
@media (hover: hover) { .wl-wall:hover .wl-pair:not(:hover) img { filter: drop-shadow(0 3px 3px rgba(0,0,0,.55)) brightness(.5); } }
.wl-morewrap { display: flex; justify-content: center; margin-top: .5rem; }
.wl-more { color: var(--dm-white); }
@media (max-width: 1000px) { .wl-wall { --stage: 15vw; } }
@media (max-width: 640px) {
  .wl-wall { --stage: 24vw; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wl-cap { font-size: .74rem; }
  .wl-pair { padding-bottom: 4.3rem; }
  .wl-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--dm-gutter) * -1); padding-inline: var(--dm-gutter); }
  .wl-tabs .dm-chip { flex: none; }
}
@media (prefers-reduced-motion: reduce) { .wl-stage img, .wl-stage::before, .wl-wall { transition: none; } }
