/* Brighter studio lighting. Product pixels remain the original photographs. */
:root {
  --studio-surface: radial-gradient(ellipse at 51% 41%, #d5d8d1 0%, #bac1b9 25%, #8d9890 49%, #495653 76%, #20292d 100%);
  --studio-beams: linear-gradient(116deg, transparent 21%, #f0f6ed10 29%, #f3f7ef5c 33%, transparent 39%, transparent 66%, #eff7f035 69%, transparent 76%);
  --studio-floor: radial-gradient(ellipse, #dce7dc64 0%, #b9c9bd25 42%, transparent 72%);
}

.atelier-stage {
  background: var(--studio-surface);
  transform: perspective(1200px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform .55s cubic-bezier(.2, .7, .25, 1);
}

.atelier-stage::before {
  background: var(--studio-beams);
  opacity: .78;
}

.atelier-stage::after {
  background: var(--studio-floor);
  border-top-color: #d6e7dc4d;
  bottom: 9%;
  height: 10%;
  filter: blur(1px);
}

.atelier-stage > picture {
  transform: none;
}

.atelier-product {
  filter: brightness(1.22) contrast(1.02);
}

.atelier-type {
  -webkit-text-stroke-color: #e6eee53b;
  opacity: .6;
}

.atelier-top,
.atelier-rule {
  color: #e4eae3;
  text-shadow: 0 1px 8px #13202188;
}

.atelier-caption,
.atelier-caption > a {
  color: #f2f4ee;
  text-shadow: 0 1px 8px #13202199;
}

.atelier-caption i { background: #ccd8c9; }

/* Original views share the same lit floor and subdued studio backdrop. */
.premium-gallery .viewer {
  background: var(--studio-surface);
  color: #f0f4ec;
}

.premium-gallery .viewer::before,
.battery-editorial-image::before,
.order-image-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--studio-beams);
  opacity: .5;
  pointer-events: none;
  z-index: -1;
}

.premium-gallery .viewer::after,
.battery-editorial-image::after,
.order-image-stage::after {
  content: '';
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 12%;
  height: 7%;
  background: var(--studio-floor);
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
  z-index: -1;
}

.premium-gallery .viewer-bg-word {
  color: transparent;
  -webkit-text-stroke: 1px #e4ede434;
}

.premium-gallery .viewer-image { filter: brightness(1.12) contrast(1.02); }
.premium-gallery .view-counter { color: #f0f4ec; text-shadow: 0 1px 8px #13202199; }

.premium-gallery .viewer-arrow {
  background: #f4f6efa6;
  color: #202b2b;
  border-color: #e2eadd88;
  backdrop-filter: blur(8px);
}

.premium-gallery .viewer-arrow:hover { background: #f4f6ef; }
.premium-gallery .zoom-button { color: #f0f4ec; border-color: #e2eadd77; background: #20302d69; }
.premium-gallery .view-thumb { background: linear-gradient(180deg, #b8c0b6 0%, #dce0d5 72%, transparent 100%); }

.design-feature-image {
  background: radial-gradient(ellipse at 65% 40%, #c0c6ba, #8c978d 54%, #384540);
}

.design-feature-image > picture { mix-blend-mode: multiply; }
.design-feature-image img { filter: brightness(1.16) contrast(1.02); }
.design-feature-image::after { background: linear-gradient(90deg, #17191a 0%, transparent 13%), linear-gradient(0deg, #17191a 0%, transparent 12%); }

.battery-editorial-image {
  background: var(--studio-surface);
  isolation: isolate;
  overflow: hidden;
}

.battery-editorial-image img { filter: brightness(1.13) contrast(1.02); }
.battery-editorial-image > span { color: #eef2e9; text-shadow: 0 1px 8px #13202199; }

.order-image-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--studio-surface);
  aspect-ratio: 1;
  margin-block: 18px;
}

.order-image-stage > #order-variant-image {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  display: block;
  mix-blend-mode: multiply;
  margin: 0;
  filter: brightness(1.12) contrast(1.02);
}

/* The larger original stays clear when inspecting details. */
.zoom-dialog {
  background: var(--studio-surface);
  color: #f2f4ed;
}
.zoom-dialog > img { mix-blend-mode: multiply; filter: brightness(1.1); }
.zoom-dialog > button { background: #f2f4ed; color: #202b2b; border-color: #c3cec1; }

@media (max-width: 760px) {
  .atelier-stage { background: var(--studio-surface); }
  .atelier-stage > picture { transform-origin: 50% 65%; }
  .atelier-top { color: #e5ebe0; }
  .atelier-rule { color: #d0ddd0; }
  .atelier-caption,
  .atelier-caption > a { color: #f3f6ef; }
  .design-feature-image::after { background: linear-gradient(180deg, #17191a 0%, transparent 9%), linear-gradient(0deg, #17191a 0%, transparent 12%); }
  .battery-editorial-image::after { bottom: 15%; }
  .order-image-stage { max-height: 360px; margin-block: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .atelier-stage { transform: none; transition: none; }
  .atelier-stage > picture { transform: none; transition: none; }
  .atelier-stage .atelier-product { transition: none; }
  .atelier-stage:hover .atelier-product { transform: none; }
}
