/* APHERO — the white store (Rus, 6 Nov 2026: "a traditional webstore ... I want the buyer to see
   a large image, as the picture is when I see it on my phone").
   His photographs are 9:16; each one is shown as large as the screen allows, on white. */

.shop, .viewer {
  --s-ink: #121110;
  --s-ink-2: #57524c;
  --s-ink-3: #8d877f;
  --s-line: #e8e5e0;
  --s-accent: #8a6a3b;
  --s-err: #9a2a22;
}

/* ---------------------------------------------------------------- the page */
.shop {
  position: fixed; inset: 0; z-index: 45;
  overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  background: #fff; color: var(--s-ink);
  opacity: 0; visibility: hidden;
  transition: opacity .7s var(--ease-out), visibility 0s linear .7s;
}
.shop.is-on { opacity: 1; visibility: visible; transition: opacity .7s var(--ease-out); }
html.viewer-open .shop { overflow: hidden; }
.shop [hidden] { display: none !important; }
:where(.shop) a { color: inherit; }
:where(.shop, .viewer) button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }

/* the header over white: clear at the top, a quiet white bar once the page moves */
body[data-scene="shop"] .chrome { transition: background-color .45s var(--ease-out), box-shadow .45s var(--ease-out); }
body[data-scene="shop"] .chrome.is-solid {
  background: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(18, 17, 16, .07);
}
body[data-scene="shop"] .chrome__count { border-color: rgba(18, 17, 16, .3); }

/* ---------------------------------------------------------------- the collection: a rail of hangers on white
   (the user, 14 Nov: one piece slides in after the other, hanger style, extremely big, nothing cropped;
   only the pieces here, the models inside and on "See it on the model") */
.shop[data-mode="list"] { overflow: hidden; }
.shop__list {
  position: absolute; inset: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto;
  padding-top: calc(var(--head-h) + 6px);
}
.sl-filters { position: relative; z-index: 2; display: flex; justify-content: center; gap: 0 clamp(18px, 2.6vw, 44px); padding: 0 var(--gutter); }
.sl-filter {
  position: relative; display: inline-flex; align-items: center; min-height: 40px;
  font: 500 10.5px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; text-decoration: none;
  color: var(--s-ink-3); transition: color .3s;
}
.sl-filter sup { margin-left: .5em; font-size: 8.5px; letter-spacing: .08em; vertical-align: .9em; }
.sl-filter::after { content: ""; position: absolute; left: 0; right: .28em; bottom: 8px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.sl-filter:hover { color: var(--s-ink); }
.sl-filter[aria-current="page"] { color: var(--s-ink); }
.sl-filter[aria-current="page"]::after { transform: none; }
.sl-filter:focus-visible { outline: 1px solid var(--s-ink); outline-offset: 4px; }

.sl-rail { position: relative; overflow: hidden; touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; }
.sl-rail.is-dragging { cursor: grabbing; }
.sl-track { position: absolute; inset: 0; }
.sl-item {
  position: absolute; left: 0; top: 0; padding: 0; border: 0; background: none; cursor: pointer;
  transform-origin: var(--px, 50%) var(--py, 3%); will-change: transform; outline: none;
}
.sl-item img { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.sl-item:not(.is-front) img { transition: opacity .5s var(--ease-out); }
.sl-item.is-front { cursor: zoom-in; }
.sl-item:focus-visible { outline: 1px solid var(--s-accent); outline-offset: 8px; }
.sl-arrow {
  position: absolute; top: 50%; z-index: 200; display: grid; place-items: center; width: 52px; height: 52px; margin-top: -26px;
  padding: 0; border: 0; border-radius: 50%; cursor: pointer; color: var(--s-ink);
  background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(18, 17, 16, .08), 0 10px 30px rgba(18, 17, 16, .08);
  transition: opacity .35s, transform .25s var(--ease-out), background .3s;
}
.sl-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.sl-arrow:hover { background: #fff; }
.sl-arrow:active { transform: scale(.95); }
.sl-arrow:disabled { opacity: 0; pointer-events: none; }
.sl-arrow:focus-visible { outline: 1px solid var(--s-accent); outline-offset: 3px; }
.sl-prev { left: var(--gutter); }
.sl-next { right: var(--gutter); }

.sl-cap {
  position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: clamp(22px, 3vw, 48px);
  padding: 6px var(--gutter) calc(22px + env(safe-area-inset-bottom));
  transition: opacity .35s var(--ease-out), transform .45s var(--ease-out);
}
.sl-cap.is-swap { opacity: 0; transform: translateY(6px); transition-duration: .18s; }
.sl-cap__txt { min-width: 0; text-align: right; }
.sl-cap__eyebrow { display: flex; justify-content: flex-end; gap: 14px; margin: 0 0 8px; font: 500 9.5px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--s-accent); }
.sl-cap__n { color: var(--s-ink-3); letter-spacing: .14em; font-variant-numeric: tabular-nums; }
.sl-cap__name { margin: 0; font: 300 clamp(30px, 2.6vw, 42px)/1 var(--serif); letter-spacing: -.005em; }
.sl-cap__price { margin: 6px 0 0; font: 400 13px/1 var(--sans); letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.sl-cap__actions { display: flex; gap: 10px; }
.sl-cap__actions [hidden] { display: none !important; }
.shop[data-list="articles"] .sl-cap__price { max-width: 30em; font: 300 italic 17px/1.35 var(--serif); letter-spacing: 0; color: var(--s-ink-2); }
.sl-view, .sl-model {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 28px; border-radius: 999px;
  font: 500 10.5px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background .3s var(--ease-out), color .3s var(--ease-out), transform .2s var(--ease-out);
}
.sl-view { background: var(--s-ink); color: #fff; padding: 0 34px; }
.sl-view:hover { background: #2c2824; }
.sl-model { border: 1px solid var(--s-ink); background: transparent; padding: 0 24px 0 20px; }
.sl-model:hover { background: var(--s-ink); color: #fff; }
.sl-model svg { width: 15px; height: 15px; fill: currentColor; flex: none; }
.sl-view:active, .sl-model:active { transform: scale(.98); }
.sl-view:focus-visible, .sl-model:focus-visible { outline: 1px solid var(--s-accent); outline-offset: 3px; }

/* ---------------------------------------------------------------- a piece */
.shop__piece {
  --gap: clamp(24px, 3.2vw, 64px);
  --gw: max(250px, min(calc((100svh - var(--head-h) - 28px) * .5625), calc(100vw - 2 * var(--gutter) - 56px - 330px - 2 * var(--gap))));
  display: grid; grid-template-columns: 56px var(--gw) minmax(330px, 410px);
  justify-content: center; align-items: start; column-gap: var(--gap);
  padding: calc(var(--head-h) + 14px) var(--gutter) 110px;
}
.sp-thumbs { position: sticky; top: calc(var(--head-h) + 14px); display: grid; gap: 10px; }
.sp-thumb {
  display: block; width: 56px; aspect-ratio: 9 / 16; padding: 0; border: 0; cursor: pointer;
  background: var(--bg, #f6f6f6); opacity: .45;
  outline: 1px solid transparent; outline-offset: 3px; transition: opacity .35s, outline-color .35s;
}
.sp-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.sp-thumb:hover { opacity: .8; }
.sp-thumb[aria-current="true"] { opacity: 1; outline-color: var(--s-ink); }
.sp-thumb:focus-visible { outline-color: var(--s-accent); opacity: 1; }
.sp-media { position: relative; min-width: 0; }
.sp-gallery { display: grid; gap: 14px; }
.sp-frame { position: relative; margin: 0; width: var(--gw); aspect-ratio: 9 / 16; background: var(--bg, #f6f6f6); }
.sp-frame__btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.sp-frame__btn:focus-visible { outline: 1px solid var(--s-ink); outline-offset: 4px; }
.sp-frame img { display: block; width: 100%; height: 100%; object-fit: contain; }
.sp-dots, .sp-count { display: none; }

.sp-info {
  position: sticky; top: calc(var(--head-h) + 14px);
  max-height: calc(100svh - var(--head-h) - 28px); overflow-y: auto; scrollbar-width: none;
  padding: clamp(6px, 6vh, 70px) 4px 28px;
}
.sp-info::-webkit-scrollbar { display: none; }
.sp-eyebrow { margin: 0; font: 500 10.5px/1 var(--sans); letter-spacing: .36em; text-transform: uppercase; color: var(--s-accent); }
.sp-name { margin: 16px 0 14px; font: 300 clamp(46px, 4.2vw, 68px)/.95 var(--serif); letter-spacing: -.012em; }
.sp-price { display: flex; align-items: baseline; gap: 10px; margin: 0; font: 400 16px/1 var(--sans); letter-spacing: .07em; font-variant-numeric: tabular-nums; }
.sp-price small { font-size: 10px; letter-spacing: .14em; color: var(--s-ink-3); }
.sp-blurb { margin: 24px 0 26px; max-width: 34em; font: 300 15px/1.78 var(--sans); color: var(--s-ink-2); }
.sp-model {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 22px 0 18px; margin: 0 0 34px;
  border: 1px solid var(--s-ink); border-radius: 999px; background: transparent; cursor: pointer;
  font: 500 10.5px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase;
  transition: background .35s var(--ease-out), color .35s var(--ease-out), transform .2s var(--ease-out);
}
.sp-model svg { width: 15px; height: 15px; fill: currentColor; flex: none; }
.sp-model:hover { background: var(--s-ink); color: #fff; }
.sp-model:active { transform: scale(.98); }
.sp-model:focus-visible { outline: 1px solid var(--s-accent); outline-offset: 3px; }

.sp-opt { margin: 0 0 26px; padding: 0; border: 0; min-width: 0; }
.sp-opt__label { display: flex; width: 100%; gap: 12px; padding: 0; margin: 0 0 14px; font: 500 10.5px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; }
.sp-opt__label span { margin-left: auto; font-weight: 400; letter-spacing: .12em; color: var(--s-ink-2); }
.sp-swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.sp-swatch {
  width: 34px; height: 34px; padding: 0; border-radius: 50%; cursor: pointer; border: 0;
  background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 3px #fff, 0 0 0 4px transparent;
  transition: box-shadow .3s var(--ease-out), transform .2s var(--ease-out);
}
.sp-swatch[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 3px #fff, 0 0 0 4px var(--s-ink); }
.sp-swatch:focus-visible { outline: 1px solid var(--s-accent); outline-offset: 6px; }
.sp-shown { margin: 12px 0 0; font: 300 italic 15px/1.3 var(--serif); color: var(--s-ink-2); }
.sp-sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 8px; }
.sp-size {
  min-height: 50px; padding: 0; border: 1px solid var(--s-line); background: #fff; cursor: pointer;
  font: 400 13px/1 var(--sans); letter-spacing: .08em;
  transition: border-color .25s, background .25s, color .25s;
}
.sp-size:hover { border-color: var(--s-ink); }
.sp-size[aria-pressed="true"] { background: var(--s-ink); border-color: var(--s-ink); color: #fff; }
.sp-size:focus-visible { outline: 1px solid var(--s-accent); outline-offset: 2px; }
.sp-opt.is-invalid .sp-size { border-color: var(--s-err); }
.sp-opt__error { min-height: 0; margin: 10px 0 0; font: 400 12.5px/1.4 var(--sans); color: var(--s-err); }
.sp-opt__error:empty { display: none; }

.sp-add, .sp-fit {
  display: flex; align-items: center; justify-content: center; width: 100%; cursor: pointer;
  font: 500 11px/1 var(--sans); letter-spacing: .32em; padding-left: .32em; text-transform: uppercase;
  transition: background .3s var(--ease-out), color .3s var(--ease-out), border-color .3s, transform .2s var(--ease-out);
}
.sp-add { min-height: 60px; border: 0; background: var(--s-ink); color: #fff; }
.sp-add:hover { background: #2c2824; }
.sp-add.is-done { background: var(--s-accent); }
.sp-fit { min-height: 54px; margin-top: 10px; border: 1px solid var(--s-ink); background: transparent; }
.sp-fit:hover { background: var(--s-ink); color: #fff; }
.sp-add:active, .sp-fit:active { transform: scale(.99); }
.sp-add:focus-visible, .sp-fit:focus-visible { outline: 1px solid var(--s-accent); outline-offset: 3px; }

.sp-promise { list-style: none; margin: 28px 0 8px; padding: 0; display: grid; gap: 10px; }
.sp-promise li { display: flex; align-items: center; gap: 12px; font: 400 12.5px/1.3 var(--sans); letter-spacing: .04em; color: var(--s-ink-2); }
.sp-promise li::before { content: ""; width: 5px; height: 5px; flex: none; transform: rotate(45deg); background: var(--s-accent); }

.sp-acc { margin-top: 26px; border-bottom: 1px solid var(--s-line); }
.sp-acc details { border-top: 1px solid var(--s-line); }
.sp-acc summary {
  display: flex; align-items: center; justify-content: space-between; min-height: 56px; cursor: pointer; list-style: none;
  font: 500 10.5px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase;
}
.sp-acc summary::-webkit-details-marker { display: none; }
.sp-acc summary::after { content: ""; width: 9px; height: 9px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .35s var(--ease-out); }
.sp-acc details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.sp-acc summary:focus-visible { outline: 1px solid var(--s-accent); outline-offset: 2px; }
.sp-acc ul, .sp-acc p { margin: 0 0 22px; padding: 0; font: 300 14px/1.75 var(--sans); color: var(--s-ink-2); }
.sp-acc ul { list-style: none; }
.sp-acc li::before { content: "— "; color: var(--s-accent); }

.sp-bar { display: none; }

/* the card's picture on its way to the piece's first photograph */
.sp-ghost { position: fixed; z-index: 58; pointer-events: none; transform-origin: 0 0; will-change: transform; }
.sp-ghost img { display: block; width: 100%; height: 100%; object-fit: contain; }

/* arriving */
@keyframes s-rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes s-fade { from { opacity: 0; } }
.shop__list.is-in .sl-track { animation: s-rise 1.1s var(--ease-out) both; }
.shop__list.is-in .sl-cap { animation: s-rise 1s .2s var(--ease-out) both; }
.shop__piece.is-in .sp-info > * { animation: s-rise .95s var(--ease-out) both; }
.shop__piece.is-in .sp-info > :nth-child(2) { animation-delay: .05s; }
.shop__piece.is-in .sp-info > :nth-child(3) { animation-delay: .1s; }
.shop__piece.is-in .sp-info > :nth-child(4) { animation-delay: .15s; }
.shop__piece.is-in .sp-info > :nth-child(n+5) { animation-delay: .2s; }
.shop__piece.is-in .sp-thumbs { animation: s-fade 1s .35s var(--ease-out) both; }

/* ---------------------------------------------------------------- phones and narrow tablets */
@media (max-width: 899px) {
  /* one line of articles, sliding sideways when it is wider than the phone */
  .sl-filters {
    justify-content: flex-start; gap: 0 24px; padding: 0 22px;
    overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent);
  }
  .sl-filters::-webkit-scrollbar { display: none; }
  .sl-filter { flex: none; }
  .sl-filters > :first-child { margin-left: auto; }
  .sl-filters > :last-child { margin-right: auto; }
  .sl-arrow { display: none; }
  .sl-cap { flex-direction: column; gap: 12px; padding: 2px 18px calc(14px + env(safe-area-inset-bottom)); }
  .sl-cap__txt { text-align: center; }
  .sl-cap__eyebrow { justify-content: center; margin-bottom: 7px; }
  .sl-cap__name { font-size: 30px; }
  .sl-cap__price { margin-top: 5px; }
  .sl-cap__actions { width: 100%; }
  .sl-view, .sl-model { flex: 1; min-height: 48px; padding: 0 10px; font-size: 10px; letter-spacing: .16em; white-space: nowrap; }
  .sl-view { flex: .7; }
  .shop[data-list="articles"] .sl-view { flex: 1; }

  .shop__piece { display: block; padding: var(--head-h) 0 calc(96px + env(safe-area-inset-bottom)); }
  .sp-thumbs { display: none; }
  .sp-gallery {
    display: flex; gap: 0; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .sp-gallery::-webkit-scrollbar { display: none; }
  .sp-frame { flex: 0 0 100%; width: 100%; height: min(calc(100vw * 16 / 9), calc(100svh - var(--head-h) - 64px)); aspect-ratio: auto; scroll-snap-align: center; scroll-snap-stop: always; }
  .sp-dots { display: flex; justify-content: center; gap: 8px; padding: 16px 0 2px; }
  .sp-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--s-ink); opacity: .2; transition: opacity .3s, transform .3s var(--ease-out); }
  .sp-dots i.is-on { opacity: .9; transform: scale(1.25); }
  .sp-info { position: static; max-height: none; overflow: visible; padding: 22px 22px 24px; }
  .sp-name { font-size: 50px; }
  .sp-model { margin-bottom: 30px; }

  .sp-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 2;
    display: flex; align-items: center; gap: 14px;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom)) 20px;
    background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    box-shadow: 0 -1px 0 rgba(18, 17, 16, .08);
    transition: transform .5s var(--ease-out), opacity .4s;
  }
  .shop:not([data-mode="piece"]) .sp-bar { display: none; }
  .sp-bar.is-hidden { transform: translateY(110%); opacity: 0; pointer-events: none; }
  .sp-bar__txt { flex: 1; min-width: 0; margin: 0; display: grid; gap: 4px; }
  .sp-bar__txt span:first-child { font: 300 21px/1 var(--serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sp-bar__txt span:last-child { font: 400 12px/1 var(--sans); letter-spacing: .08em; color: var(--s-ink-2); }
  .sp-bar__add {
    min-height: 48px; padding: 0 22px; border: 0; background: var(--s-ink); color: #fff; cursor: pointer;
    font: 500 10.5px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase;
  }
  .sp-bar__add.is-done { background: var(--s-accent); }
}

/* ---------------------------------------------------------------- full screen, on his white */
.viewer {
  position: fixed; inset: 0; z-index: 70; color: var(--s-ink);
  background: var(--vbg, #fff);
  opacity: 0; visibility: hidden;
  transition: opacity .5s var(--ease-out), visibility 0s linear .5s, background-color .6s var(--ease-out);
}
.viewer:focus { outline: none; }
.viewer.is-on { opacity: 1; visibility: visible; transition: opacity .5s var(--ease-out), background-color .6s var(--ease-out); }
.viewer__track {
  position: absolute; inset: 0; display: flex; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
}
.viewer__track::-webkit-scrollbar { display: none; }
/* she takes the whole height of the screen; the controls live in the white beside her */
.viewer__slide { flex: 0 0 100%; height: 100%; display: grid; place-items: center; scroll-snap-align: center; scroll-snap-stop: always; }
.viewer__frame {
  --side: calc(var(--gutter) + 84px);
  margin: 0; height: min(100svh, calc((100vw - 2 * var(--side)) / var(--ar))); aspect-ratio: var(--ar);
  background: var(--bg, #fff); transform: scale(.985); transition: transform 1s var(--ease-out);
}
.viewer.is-on .viewer__frame { transform: none; }
.viewer__frame img { display: block; width: 100%; height: 100%; object-fit: contain; }

.viewer__info {
  position: absolute; left: var(--gutter); top: 0; z-index: 2; max-width: calc(50vw - 300px);
  min-height: var(--head-h); padding-top: calc((var(--head-h) - 22px) / 2); pointer-events: none;
}
.viewer__name { margin: 0; font: 300 clamp(26px, 2.2vw, 36px)/1 var(--serif); letter-spacing: -.005em; }
.viewer__label { display: flex; gap: 12px; margin: 12px 0 0; font: 500 9.5px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--s-ink-2); }
.viewer__n { color: var(--s-ink-3); letter-spacing: .14em; font-variant-numeric: tabular-nums; }
.viewer__dots { position: absolute; left: calc(var(--gutter) - 6px); bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 2; display: flex; gap: 2px; }
.viewer__dot { width: 22px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.viewer__dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--s-ink); opacity: .2; transition: opacity .3s, transform .3s var(--ease-out); }
.viewer__dot[aria-current="true"]::before { opacity: .9; transform: scale(1.15); }

.viewer__close, .viewer__arrow {
  position: absolute; z-index: 2; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; cursor: pointer; color: var(--s-ink);
  background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(18, 17, 16, .07);
  transition: background .3s, opacity .35s var(--ease-out), transform .25s var(--ease-out);
}
.viewer__close { right: calc(var(--gutter) - 10px); top: calc((var(--head-h) - 46px) / 2); width: 46px; height: 46px; }
.viewer__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.viewer__arrow { top: 50%; width: 56px; height: 56px; margin-top: -28px; box-shadow: inset 0 0 0 1px rgba(18, 17, 16, .07), 0 12px 32px rgba(18, 17, 16, .08); }
.viewer__arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.viewer__prev { left: var(--gutter); }
.viewer__next { right: var(--gutter); }
.viewer__close:hover, .viewer__arrow:hover { background: #fff; }
.viewer__arrow:active { transform: scale(.95); }
.viewer__arrow:disabled { opacity: 0; pointer-events: none; }
.viewer__close:focus-visible, .viewer__arrow:focus-visible, .viewer__dot:focus-visible { outline: 1px solid var(--s-accent); outline-offset: 3px; }

/* phones: she is the whole width; the name above her, the dots and arrows below, in the white */
@media (max-width: 899px) {
  .viewer__frame { height: min(100svh, calc(100vw / var(--ar))); }
  .viewer__info { left: 18px; max-width: calc(100vw - 90px); padding-top: calc((var(--head-h) - 20px) / 2); }
  .viewer__name { font-size: 22px; }
  .viewer__label { margin-top: 8px; }
  .viewer__close { right: 10px; }
  .viewer__dots { left: 50%; transform: translateX(-50%); bottom: calc(14px + env(safe-area-inset-bottom)); }
  .viewer__arrow { top: auto; bottom: calc(6px + env(safe-area-inset-bottom)); margin-top: 0; width: 46px; height: 46px; background: rgba(255, 255, 255, .6); box-shadow: inset 0 0 0 1px rgba(18, 17, 16, .07); }
  .viewer__prev { left: 12px; }
  .viewer__next { right: 12px; }
}

/* ---------------------------------------------------------------- the bag shows his photograph */
.bag__item img.is-photo { object-fit: cover; object-position: 50% 18%; filter: none; background: #f6f6f6; }

@media (prefers-reduced-motion: reduce) {
  .shop__list.is-in .sl-track, .shop__list.is-in .sl-cap, .shop__piece.is-in .sp-info > *, .shop__piece.is-in .sp-thumbs { animation: none; }
  .viewer__frame { transition: none; transform: none; }
  .shop, .viewer { transition-duration: .2s; }
}
@media (prefers-reduced-transparency: reduce) {
  body[data-scene="shop"] .chrome.is-solid, .sp-bar, .viewer__arrow, .viewer__close { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
}
