/* Volkin — public product pages and shared catalog shell */

:root {
  color-scheme: light dark;
}

.product-page,
.catalog-page {
  --public-surface: rgba(255, 255, 255, 0.68);
  --public-surface-strong: rgba(255, 255, 255, 0.88);
  --public-surface-soft: rgba(255, 255, 255, 0.48);
  --public-border: rgba(255, 255, 255, 0.88);
  --public-border-muted: rgba(68, 136, 239, 0.14);
  --public-ink: #182033;
  --public-muted: #667085;
  --public-faint: #8a94a6;
  --public-blue: #3579e8;
  --public-blue-dark: #245dc4;
  --public-blue-soft: rgba(68, 136, 239, 0.1);
  --public-green: #15803d;
  --public-orange: #f05a16;
  --public-shadow: 0 24px 70px rgba(25, 49, 91, 0.1), 0 2px 8px rgba(25, 49, 91, 0.05);
  --public-shadow-soft: 0 12px 38px rgba(25, 49, 91, 0.08);
  min-height: 100vh;
  color: var(--public-ink);
  overflow-x: hidden;
}

.product-page main,
.catalog-page main {
  -webkit-user-select: text;
  user-select: text;
}

.product-page a,
.catalog-page a {
  color: inherit;
}

.product-page ::selection,
.catalog-page ::selection {
  color: #fff;
  background: var(--public-blue);
}

.product-page ::-webkit-scrollbar,
.catalog-page ::-webkit-scrollbar {
  width: var(--scrollbar-thumb-hover-width);
  height: var(--scrollbar-thumb-hover-width);
}

.product-page ::-webkit-scrollbar-track,
.catalog-page ::-webkit-scrollbar-track {
  margin: 0;
}

.product-page ::-webkit-scrollbar-thumb,
.catalog-page ::-webkit-scrollbar-thumb {
  border-width: calc((var(--scrollbar-thumb-hover-width) - var(--scrollbar-thumb-width)) / 2);
}

.product-page ::-webkit-scrollbar-thumb:hover,
.catalog-page ::-webkit-scrollbar-thumb:hover {
  border-width: 0;
}

.public-shell {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, 1160px);
  margin-inline: auto;
}

.public-skip-link {
  position: fixed;
  z-index: 10000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  color: #fff !important;
  background: var(--public-blue-dark);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 160ms ease-out;
}

.public-skip-link:focus {
  transform: translateY(0);
}

.public-site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(240, 242, 245, 0.72);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
}

.public-site-header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.public-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.public-brand picture,
.public-brand img {
  display: block;
}

.public-brand img {
  width: 116px;
  height: auto;
}

.public-site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.public-site-nav a {
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-md);
  color: var(--public-muted);
  font-size: 0.875rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease-out, background 160ms ease-out;
}

.public-site-nav a:hover,
.public-site-nav a[aria-current="page"] {
  color: var(--public-blue-dark);
  background: var(--public-blue-soft);
}

.public-brand:focus-visible,
.public-site-nav a:focus-visible,
.public-breadcrumbs a:focus-visible,
.product-page main a:focus-visible,
.catalog-page main a:focus-visible,
.public-site-footer a:focus-visible {
  outline: 3px solid rgba(68, 136, 239, 0.38);
  outline-offset: 3px;
}

.public-glass-card {
  border: 1px solid var(--navbar-border);
  border-radius: var(--radius-xl);
  background: var(--lite-glass-bg);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: var(--lite-glass-shadow);
}

.public-breadcrumbs {
  margin-block: 1.75rem 1.1rem;
}

.public-breadcrumbs ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
}

.public-breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--public-faint);
  font-size: 0.78rem;
  font-weight: 600;
}

.public-breadcrumbs li:not(:last-child)::after {
  content: "/";
  color: rgba(102, 112, 133, 0.52);
}

.public-breadcrumbs a {
  color: var(--public-muted);
  text-underline-offset: 0.2em;
}

.public-eyebrow {
  margin: 0 0 0.45rem;
  color: var(--public-blue-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.105em;
  line-height: 1.35;
  text-transform: uppercase;
}

.product-main {
  padding-bottom: 5rem;
}

.product-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 330px);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  min-height: clamp(36rem, 58vw, 44rem);
  padding: clamp(2rem, 5vw, 4.5rem);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: #0b101a;
  border: 0;
  box-shadow: var(--lite-glass-shadow);
  cursor: zoom-in;
}

.product-hero__media,
.product-hero__vignette {
  position: absolute;
  inset: -1px;
}

.product-hero__media {
  z-index: -2;
  margin: 0;
  background: #fff;
}

.product-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  transform: scale(1.015);
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.product-hero:hover .product-hero__media img {
  transform: scale(1.035);
}

.product-hero__vignette {
  z-index: -1;
  background:
    radial-gradient(ellipse 118% 132% at 48% 48%, transparent 24%, rgba(3, 7, 14, 0.08) 52%, rgba(3, 7, 14, 0.46) 84%, rgba(2, 5, 11, 0.78) 100%),
    linear-gradient(90deg, rgba(4, 9, 17, 0.94) 0%, rgba(4, 9, 17, 0.79) 27%, rgba(4, 9, 17, 0.54) 49%, rgba(4, 9, 17, 0.12) 72%, rgba(4, 9, 17, 0.38) 100%),
    linear-gradient(0deg, rgba(2, 5, 11, 0.68) 0%, transparent 38%, transparent 68%, rgba(2, 5, 11, 0.28) 100%);
  transition: opacity 260ms ease-out, filter 260ms ease-out;
  pointer-events: none;
}

.product-hero__content,
.product-hero__action {
  position: relative;
  z-index: 1;
  transition:
    opacity 240ms ease-out,
    filter 260ms ease-out,
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.product-article.is-gallery-open .product-hero__content {
  opacity: 0;
  filter: blur(5px);
  transform: translateY(4.5rem);
}

.product-article.is-gallery-open .product-hero__action {
  opacity: 0;
  filter: blur(5px);
  transform: translateY(5.5rem) scale(0.96);
}

.product-article.is-gallery-open .product-hero__vignette {
  opacity: 0;
  filter: blur(8px);
}

.product-article > :not(.product-hero):not(.product-lightbox) {
  transition:
    opacity 220ms ease-out,
    transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.product-article.is-gallery-open > :not(.product-hero):not(.product-lightbox) {
  opacity: 0;
  transform: translateY(2rem);
}

.product-hero h1 {
  max-width: 800px;
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 3.2vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.06;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.46);
  text-wrap: balance;
}

.product-hero h1:focus {
  outline: none;
}

.product-hero .public-eyebrow {
  color: #a9c9ff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.48);
}

.product-lead {
  max-width: 720px;
  margin: 1.25rem 0 0;
  color: rgba(244, 247, 252, 0.82);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.72;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.62);
  text-wrap: pretty;
}

.product-identifiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 2rem 0 0;
}

.product-identifier {
  position: relative;
  isolation: isolate;
  min-width: 0;
  padding: 0.9rem 1rem;
  border: 1px solid var(--navbar-border);
  border-radius: var(--radius-lg);
  background: var(--photo-glass-bg);
  -webkit-backdrop-filter: var(--navbar-backdrop-filter);
  backdrop-filter: var(--navbar-backdrop-filter);
  box-shadow: var(--navbar-shadow-scrolled);
}

.product-identifier dt {
  margin-bottom: 0.2rem;
  color: var(--public-faint);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.product-identifier dd {
  margin: 0;
  color: var(--public-ink);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: clamp(0.72rem, 1.5vw, 0.86rem);
  font-weight: 720;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
  -webkit-user-select: all;
  user-select: all;
}

.product-hero__action {
  align-self: start;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1.5rem;
  border: 1px solid var(--navbar-border);
  border-radius: var(--radius-lg);
  isolation: isolate;
  background: var(--photo-glass-bg);
  -webkit-backdrop-filter: var(--navbar-backdrop-filter);
  backdrop-filter: var(--navbar-backdrop-filter);
  box-shadow: var(--navbar-shadow-scrolled);
  cursor: default;
}

.product-hero__action::before,
.product-hero__action::after,
.product-identifier::before,
.product-identifier::after {
  content: "";
  position: absolute;
  inset: -0.5px;
  z-index: 2;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.product-hero__action::before,
.product-identifier::before {
  background: var(--navbar-edge-reflection);
  -webkit-backdrop-filter: blur(0.35px) saturate(205%) contrast(116%) brightness(1.14);
  backdrop-filter: blur(0.35px) saturate(205%) contrast(116%) brightness(1.14);
  opacity: 0.92;
}

.product-hero__action::after,
.product-identifier::after {
  inset: 0.5px -1px;
  background: var(--navbar-edge-aberration);
  -webkit-backdrop-filter: blur(0.25px) saturate(220%) contrast(108%) hue-rotate(10deg) brightness(1.1);
  backdrop-filter: blur(0.25px) saturate(220%) contrast(108%) hue-rotate(10deg) brightness(1.1);
  transform: scaleX(1.008);
  opacity: 0.58;
}

.product-status {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.45rem;
  color: var(--public-green);
  font-size: 0.73rem;
  font-weight: 800;
  line-height: 1.4;
}

.product-status svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.product-hero__action p {
  margin: 1rem 0 1.4rem;
  color: var(--public-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.product-allegro-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 50px;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  color: #fff !important;
  background: linear-gradient(135deg, #ff6a13, var(--public-orange));
  box-shadow: 0 12px 26px rgba(240, 90, 22, 0.24);
  font-size: 0.9rem;
  font-weight: 780;
  text-decoration: none;
  transition: transform 160ms ease-out, box-shadow 160ms ease-out;
}

.product-allegro-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(240, 90, 22, 0.32);
}

.product-allegro-cta svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.product-hero__gallery-open {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: inherit;
  color: transparent;
  background: transparent;
  cursor: zoom-in;
  pointer-events: none;
}

.product-hero:has(.product-hero__gallery-open:focus-visible) {
  outline: 3px solid rgba(120, 168, 255, 0.72);
  outline-offset: 4px;
}

.product-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.product-gallery {
  margin-top: 1.25rem;
  padding: 0.75rem;
  overflow: hidden;
  transition:
    opacity 220ms ease-out,
    transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.product-gallery__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-gallery__grid {
  display: flex;
  gap: 0.75rem;
  padding: 0.2rem 0.15rem 0.45rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}

.product-gallery__thumb {
  flex: 0 0 clamp(5rem, 9vw, 6.5rem);
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  background: #fff;
  cursor: pointer;
  aspect-ratio: 1;
  scroll-snap-align: start;
  transition: border-color 160ms ease-out, transform 160ms ease-out, box-shadow 160ms ease-out;
}

.product-gallery__thumb:hover {
  transform: translateY(-2px);
}

.product-gallery__thumb.is-active {
  border-color: var(--public-blue);
  box-shadow: 0 0 0 3px var(--public-blue-soft);
}

.product-gallery__thumb:focus-visible {
  outline: 3px solid rgba(68, 136, 239, 0.38);
  outline-offset: 2px;
}

.product-gallery__grid.scrollbar-scrolling,
.product-gallery__grid.scrollbar-near-edge {
  scrollbar-color: rgba(68, 136, 239, 0.72) transparent;
}

.product-gallery__grid::-webkit-scrollbar {
  height: 10px;
}

.product-gallery__grid::-webkit-scrollbar-track {
  background: transparent;
}

.product-gallery__grid::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: transparent;
  background-clip: padding-box;
}

.product-gallery__grid.scrollbar-scrolling::-webkit-scrollbar-thumb,
.product-gallery__grid.scrollbar-near-edge::-webkit-scrollbar-thumb {
  background: rgba(68, 136, 239, 0.62);
  background-clip: padding-box;
}

.is-product-lightbox-open {
  overflow: hidden;
}

.product-lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  color: #fff;
  background: transparent;
  clip-path: inset(0 round 0);
}

.product-lightbox[open] {
  display: block;
  animation: product-viewer-expand 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.product-lightbox[open].is-closing {
  animation: product-viewer-collapse 240ms cubic-bezier(0.4, 0, 1, 1) both;
}

.product-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.72);
  animation: product-viewer-backdrop-in 320ms ease-out both;
}

.product-lightbox.is-closing::backdrop {
  animation: product-viewer-backdrop-out 220ms ease-in both;
}

.product-lightbox__stage {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  padding: clamp(4.5rem, 7vh, 5.75rem) clamp(4.5rem, 7vw, 7rem) max(1rem, env(safe-area-inset-bottom));
  grid-template-rows: minmax(0, 1fr) auto;
  gap: clamp(0.75rem, 2vh, 1.25rem);
  isolation: isolate;
}

.product-lightbox__stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(44, 66, 104, 0.2), transparent 52%),
    rgba(3, 6, 12, 0.96);
  animation: product-viewer-surface-in 340ms ease-out both;
}

.product-lightbox.is-closing .product-lightbox__stage::before {
  animation: product-viewer-surface-out 210ms ease-in both;
}

.product-lightbox__figure {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  animation: product-viewer-photo-in 460ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.product-lightbox.is-closing .product-lightbox__figure {
  animation: product-viewer-photo-out 210ms ease-in both;
}

.product-lightbox__image {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  border-radius: clamp(0.75rem, 2vw, 1.5rem);
  background: #fff;
  object-fit: contain;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
  cursor: zoom-out;
  -webkit-user-drag: none;
  user-select: none;
}

.product-lightbox__close,
.product-lightbox__nav {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 160ms ease-out, background 160ms ease-out, border-color 160ms ease-out;
}

.product-lightbox__nav {
  color: #60a5fa;
  background: var(--navbar-bg);
  -webkit-backdrop-filter: var(--navbar-backdrop-filter);
  backdrop-filter: var(--navbar-backdrop-filter);
  border: 1px solid var(--navbar-border);
  box-shadow: var(--navbar-shadow);
}

.product-lightbox__nav:hover {
  color: #93c5fd;
  background: var(--navbar-bg-hover);
  border-color: var(--navbar-border);
  box-shadow: var(--navbar-shadow-hover);
}

html:not(.dark) .product-lightbox__nav {
  color: var(--color-primary-dark);
}

html:not(.dark) .product-lightbox__nav:hover {
  color: #1d4ed8;
}

.product-lightbox__nav:focus-visible {
  outline: 3px solid rgba(96, 165, 250, 0.72);
  outline-offset: 3px;
}

.product-lightbox__close {
  top: max(1.5rem, env(safe-area-inset-top));
  right: max(2rem, env(safe-area-inset-right));
  bottom: auto;
}

.product-lightbox__close .catalog-product-expanded__close-glyph {
  transform: translateY(-0.06em);
}

.product-lightbox__nav {
  top: calc(50% - 2.75rem);
  transform: translateY(-50%);
}

.product-lightbox__nav:hover {
  transform: translateY(-50%) scale(1.04);
}

.product-lightbox__nav--prev {
  left: max(2rem, env(safe-area-inset-left));
}

.product-lightbox__nav--next {
  right: max(2rem, env(safe-area-inset-right));
}

.product-lightbox__nav svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: currentColor;
}

.product-lightbox__footer {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(100%, 52rem);
  min-width: 0;
  margin-inline: auto;
  padding: 0.5rem 0.55rem;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.25rem;
  background: rgba(18, 24, 36, 0.7);
  -webkit-backdrop-filter: blur(14px) saturate(135%);
  backdrop-filter: blur(14px) saturate(135%);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: product-viewer-controls-in 420ms 80ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.product-lightbox.is-closing .product-lightbox__footer {
  animation: product-viewer-controls-out 170ms ease-in both;
}

.product-lightbox__thumbnails {
  display: flex;
  min-width: 0;
  padding: 0.1rem;
  flex: 1;
  gap: 0.45rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-snap-type: inline mandatory;
}

.product-lightbox__thumbnails::-webkit-scrollbar {
  display: none;
}

.product-lightbox__thumb {
  flex: 0 0 clamp(3.5rem, 6vw, 4.25rem);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.85rem;
  background: #fff;
  opacity: 0.62;
  cursor: pointer;
  aspect-ratio: 1;
  scroll-snap-align: center;
  transition: opacity 160ms ease-out, border-color 160ms ease-out, transform 160ms ease-out;
}

.product-lightbox__thumb:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.product-lightbox__thumb.is-active {
  border-color: rgba(120, 168, 255, 0.92);
  opacity: 1;
}

.product-lightbox__thumb:focus-visible {
  outline: 2px solid rgba(120, 168, 255, 0.78);
  outline-offset: 2px;
  opacity: 1;
}

.product-lightbox__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-lightbox__counter {
  flex: 0 0 auto;
  margin: 0;
  padding: 0.45rem 0.65rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

@keyframes product-viewer-expand {
  from {
    clip-path: inset(
      var(--viewer-clip-top, 0)
      var(--viewer-clip-right, 0)
      var(--viewer-clip-bottom, 0)
      var(--viewer-clip-left, 0)
      round var(--radius-xl)
    );
  }
  to { clip-path: inset(0 round 0); }
}

@keyframes product-viewer-collapse {
  from { clip-path: inset(0 round 0); }
  to {
    clip-path: inset(
      var(--viewer-clip-top, 0)
      var(--viewer-clip-right, 0)
      var(--viewer-clip-bottom, 0)
      var(--viewer-clip-left, 0)
      round var(--radius-xl)
    );
  }
}

@keyframes product-viewer-backdrop-in {
  from { background: rgba(0, 0, 0, 0); }
  to { background: rgba(0, 0, 0, 0.72); }
}

@keyframes product-viewer-backdrop-out {
  from { background: rgba(0, 0, 0, 0.72); }
  to { background: rgba(0, 0, 0, 0); }
}

@keyframes product-viewer-surface-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes product-viewer-surface-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes product-viewer-photo-in {
  from { opacity: 0.35; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes product-viewer-photo-out {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(0.94); }
}

@keyframes product-viewer-controls-in {
  from { opacity: 0; transform: translateY(1.5rem); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes product-viewer-controls-out {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(0.75rem); }
}

.product-story-section__body {
  min-height: 0;
  color: var(--public-muted);
  font-size: 0.96rem;
  line-height: 1.78;
}

.product-story-section__body p,
.product-story-section__body ul {
  margin: 0;
}

.product-story-section__body p + p,
.product-story-section__body p + ul,
.product-story-section__body ul + p {
  margin-top: 1rem;
}

.product-story-section__body ul {
  display: grid;
  gap: 0.7rem;
  padding: 0;
  list-style: none;
}

.product-story-section__body li {
  position: relative;
  padding-left: 1.35rem;
}

.product-story-section__body li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0.1rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--public-blue);
}

.product-story-section__body strong {
  color: var(--public-ink);
  font-weight: 780;
}

.product-section--wide {
  grid-column: 1 / -1;
}

.product-section {
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.product-story-section {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.product-story-section .product-story-section__body {
  flex: 1;
}

.product-story-section.product-section--medium {
  min-height: 27rem;
}

.product-story-section.product-section--long {
  min-height: 38rem;
}

.product-section__heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.65rem;
}

.product-section__heading--compact {
  align-items: flex-start;
  gap: 0.85rem;
}

.product-section__heading h2,
.product-help h2 {
  margin: 0;
  color: var(--public-ink);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 780;
  letter-spacing: -0.025em;
}

.product-section__number {
  display: grid;
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid rgba(68, 136, 239, 0.16);
  border-radius: var(--radius-lg);
  color: var(--public-blue-dark);
  background: var(--public-blue-soft);
  font-size: 0.72rem;
  font-weight: 850;
}

.product-section__number--warning {
  color: #b45309;
  background: rgba(245, 158, 11, 0.14);
}

.product-section__number--limitations {
  color: #9f1239;
  background: rgba(225, 29, 72, 0.1);
}

.product-section__icon {
  display: grid;
  flex: 0 0 auto;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  border-radius: var(--radius-md);
  color: var(--public-blue-dark);
  background: var(--public-blue-soft);
}

.product-section__icon--safety {
  color: #b45309;
  background: rgba(245, 158, 11, 0.14);
}

.product-section__icon svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.product-copy {
  color: var(--public-muted);
  font-size: 0.97rem;
  line-height: 1.78;
}

.product-copy p {
  margin: 0;
}

.product-copy p + p {
  margin-top: 1rem;
}

.product-specs {
  margin: 0;
}

.product-spec {
  display: grid;
  grid-template-columns: minmax(130px, 0.7fr) minmax(0, 1.3fr);
  gap: 1.25rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--public-border-muted);
}

.product-spec:first-child {
  padding-top: 0;
}

.product-spec:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.product-spec dt,
.product-spec dd {
  margin: 0;
}

.product-spec dt {
  color: var(--public-faint);
  font-size: 0.78rem;
  font-weight: 700;
}

.product-spec dd {
  color: var(--public-ink);
  font-size: 0.88rem;
  font-weight: 680;
  text-align: right;
  overflow-wrap: anywhere;
}

.product-check-list,
.product-safety-list,
.product-limitations-list,
.product-recommendations-list,
.product-safe-practices-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-check-list li,
.product-safety-list li,
.product-limitations-list li,
.product-recommendations-list li,
.product-safe-practices-list li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--public-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.product-check-list li::before {
  content: "";
  position: absolute;
  top: 0.48em;
  left: 0.12rem;
  width: 0.72rem;
  height: 0.4rem;
  border-bottom: 2px solid var(--public-green);
  border-left: 2px solid var(--public-green);
  transform: rotate(-45deg);
}

.product-safety-list {
  counter-reset: safety;
}

.product-safety-list li {
  counter-increment: safety;
}

.product-safety-list li strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--public-ink);
  font-size: 0.91rem;
  line-height: 1.4;
}

.product-safety-list li span {
  display: block;
}

.product-safety-list li::before {
  content: counter(safety, decimal-leading-zero);
  position: absolute;
  top: 0.12em;
  left: 0;
  color: #b45309;
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.product-limitations-list {
  grid-template-columns: 1fr;
}

.product-limitations-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0.18rem;
  width: 0.75rem;
  height: 2px;
  background: #be123c;
}

.product-section--warning,
.product-section--limitations,
.product-section--recommendations,
.product-section--safe-practices {
  position: relative;
  border-color: transparent;
  background: var(--lite-glass-bg);
}

.product-section--warning::before,
.product-section--limitations::before,
.product-section--recommendations::before,
.product-section--safe-practices::before {
  content: "";
  position: absolute;
  inset: -1px;
  padding: 1px;
  border-radius: inherit;
  background: var(--product-section-frame);
  pointer-events: none;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.product-section--warning {
  --product-section-frame: linear-gradient(135deg, rgba(245, 158, 11, 0.78), rgba(245, 158, 11, 0.16) 46%, var(--navbar-border));
}

.product-section--limitations {
  --product-section-frame: linear-gradient(135deg, rgba(225, 29, 72, 0.72), rgba(225, 29, 72, 0.14) 46%, var(--navbar-border));
}

.product-section--recommendations {
  --product-section-frame: linear-gradient(135deg, rgba(34, 197, 94, 0.74), rgba(34, 197, 94, 0.14) 46%, var(--navbar-border));
}

.product-section__number--recommendations {
  color: var(--public-green);
  background: rgba(21, 128, 61, 0.1);
}

.product-recommendations-list li::before {
  content: "";
  position: absolute;
  top: 0.48em;
  left: 0.12rem;
  width: 0.72rem;
  height: 0.4rem;
  border-bottom: 2px solid var(--public-green);
  border-left: 2px solid var(--public-green);
  transform: rotate(-45deg);
}

.product-section--safe-practices {
  --product-section-frame: linear-gradient(135deg, rgba(68, 136, 239, 0.78), rgba(68, 136, 239, 0.14) 46%, var(--navbar-border));
}

.product-section__number--safe-practices {
  color: var(--public-blue-dark);
  background: var(--public-blue-soft);
}

.product-safe-practices-list li::before {
  content: "";
  position: absolute;
  top: 0.48em;
  left: 0.12rem;
  width: 0.72rem;
  height: 0.4rem;
  border-bottom: 2px solid var(--public-blue);
  border-left: 2px solid var(--public-blue);
  transform: rotate(-45deg);
}

.product-safety-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.product-safety-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.product-safety-card--medium {
  height: 27rem;
}

.product-safety-card--long {
  height: 38rem;
}

.product-safety-card__scroll {
  min-height: 0;
  margin-right: calc(0.45rem - clamp(1.5rem, 3vw, 2.25rem));
  padding-right: clamp(1.5rem, 3vw, 2.25rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: auto;
  scrollbar-color: auto;
}

.product-section--warning .product-safety-card__scroll {
  --product-scroll-rgb: 217, 119, 6;
}

.product-section--limitations .product-safety-card__scroll {
  --product-scroll-rgb: 225, 29, 72;
}

.product-section--recommendations .product-safety-card__scroll {
  --product-scroll-rgb: 21, 128, 61;
}

.product-section--safe-practices .product-safety-card__scroll {
  --product-scroll-rgb: 37, 99, 235;
}

@supports (-moz-appearance: none) {
  .product-safety-card__scroll {
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
  }

  .product-safety-card__scroll.scrollbar-scrolling,
  .product-safety-card__scroll.scrollbar-near-edge {
    scrollbar-color: rgba(var(--product-scroll-rgb), 0.78) transparent;
  }
}

.product-safety-card__scroll::-webkit-scrollbar {
  width: var(--scrollbar-thumb-hover-width);
}

.product-safety-card__scroll::-webkit-scrollbar-track {
  margin-block: 0.35rem;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
}

.product-safety-card__scroll::-webkit-scrollbar-thumb {
  border: calc((var(--scrollbar-thumb-hover-width) - var(--scrollbar-thumb-width)) / 2) solid transparent;
  border-radius: 999px;
  background: transparent;
  background-clip: padding-box;
  box-shadow: none;
}

.product-safety-card__scroll.scrollbar-scrolling::-webkit-scrollbar-track,
.product-safety-card__scroll.scrollbar-near-edge::-webkit-scrollbar-track {
  background: transparent;
  box-shadow: none;
}

.product-safety-card__scroll.scrollbar-scrolling::-webkit-scrollbar-thumb,
.product-safety-card__scroll.scrollbar-near-edge::-webkit-scrollbar-thumb {
  border-color: transparent;
  background: rgba(var(--product-scroll-rgb), 0.28);
  background-clip: padding-box;
  box-shadow:
    inset 0 0 0 1px rgba(var(--product-scroll-rgb), 0.82),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 0 10px rgba(var(--product-scroll-rgb), 0.24);
}

.product-safety-card__scroll.scrollbar-scrolling::-webkit-scrollbar-thumb:hover,
.product-safety-card__scroll.scrollbar-near-edge::-webkit-scrollbar-thumb:hover {
  border-width: 0;
  background: rgba(var(--product-scroll-rgb), 0.44);
  background-clip: padding-box;
  box-shadow:
    inset 0 0 0 1px rgba(var(--product-scroll-rgb), 1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 14px rgba(var(--product-scroll-rgb), 0.36);
}

.product-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 1.25rem;
  padding: 1.5rem 1.75rem;
}

.product-help h2 {
  font-size: 1.15rem;
}

.product-help p:not(.public-eyebrow) {
  margin: 0.35rem 0 0;
  color: var(--public-muted);
  font-size: 0.85rem;
}

.product-help > a {
  flex: 0 0 auto;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-md);
  color: var(--public-blue-dark);
  background: var(--public-blue-soft);
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
}

.public-site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(68, 136, 239, 0.1);
  background: rgba(240, 242, 245, 0.72);
}

.public-site-footer__inner {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.public-site-footer p {
  margin: 0;
  color: var(--public-faint);
  font-size: 0.75rem;
}

.public-site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
}

.public-site-footer a {
  color: var(--public-muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-underline-offset: 0.25em;
}

html.dark .product-page,
html.dark .catalog-page {
  --bg-global: #000;
  --public-surface: rgba(24, 29, 42, 0.76);
  --public-surface-strong: rgba(31, 37, 52, 0.94);
  --public-surface-soft: rgba(29, 35, 49, 0.58);
  --public-border: rgba(255, 255, 255, 0.09);
  --public-border-muted: rgba(143, 181, 255, 0.13);
  --public-ink: #f1f4fa;
  --public-muted: #aab3c5;
  --public-faint: #818ca3;
  --public-blue: #78a8ff;
  --public-blue-dark: #9bbcff;
  --public-blue-soft: rgba(120, 168, 255, 0.12);
  --public-green: #63d98b;
  --public-shadow: 0 24px 70px rgba(0, 0, 0, 0.34), 0 2px 8px rgba(0, 0, 0, 0.24);
  --public-shadow-soft: 0 12px 38px rgba(0, 0, 0, 0.25);
  --navbar-bg: rgba(45, 45, 60, 0.6);
  --navbar-bg-scrolled: rgba(40, 40, 55, 0.75);
  --photo-glass-bg: rgba(26, 26, 40, 0.88);
  --navbar-bg-hover: rgba(50, 50, 65, 0.65);
  --navbar-border: rgba(255, 255, 255, 0.1);
  --navbar-highlight: rgba(255, 255, 255, 0.05);
  --navbar-shadow:
    0 4px 30px rgba(0, 0, 0, 0.4),
    0 1px 3px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 var(--navbar-highlight),
    0 0 40px rgba(var(--color-primary-rgb), 0.1);
  --lite-glass-bg: rgba(31, 31, 43, 0.82);
  --lite-glass-shadow:
    0 5px 18px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

html.dark .product-page.bg-global,
html.dark .catalog-page.bg-global {
  background: #000;
}

html.dark .public-site-header,
html.dark .public-site-footer {
  border-color: rgba(255, 255, 255, 0.07);
  background: rgba(14, 17, 24, 0.76);
}

html.dark .product-section__number--warning,
html.dark .product-safety-list li::before {
  color: #f6b94e;
}

html.dark .product-section__number--limitations,
html.dark .product-limitations-list li::before {
  color: #fda4af;
}

html.dark .product-limitations-list li::before {
  background: #fda4af;
}

@media (max-width: 920px) {
  .product-hero,
  .product-content,
  .product-safety-grid {
    grid-template-columns: 1fr;
  }

  .product-hero {
    align-content: center;
    min-height: 44rem;
    padding-bottom: 5.25rem;
  }

  .product-story-section.product-section--medium,
  .product-story-section.product-section--long,
  .product-safety-card--medium,
  .product-safety-card--long {
    min-height: 0;
    height: auto;
  }

  .product-safety-card__scroll {
    overflow: visible;
  }

  .product-hero__action {
    max-width: none;
  }

  .product-section--wide {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .public-shell {
    width: min(100% - 1.25rem, 1160px);
  }

  .public-site-header__inner {
    min-height: 66px;
    gap: 1rem;
  }

  .public-brand img {
    width: 96px;
  }

  .public-site-nav a {
    padding: 0.5rem 0.62rem;
    font-size: 0.76rem;
  }

  .public-breadcrumbs {
    margin-block: 1.1rem 0.75rem;
  }

  .public-glass-card {
    border-radius: var(--radius-lg);
  }

  .product-hero {
    gap: 1.5rem;
    min-height: 46rem;
    padding: 2rem 1.5rem 5.25rem;
  }

  .product-gallery {
    padding: 0.65rem;
  }

  .product-hero h1 {
    font-size: clamp(1.75rem, 8.5vw, 2.3rem);
    line-height: 1.08;
  }

  .product-identifiers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem;
    margin-top: 1.4rem;
  }

  .product-identifier {
    display: block;
    padding: 0.65rem;
  }

  .product-identifier dt {
    margin-bottom: 0.2rem;
    font-size: 0.56rem;
  }

  .product-identifier dd {
    font-size: 0.66rem;
  }

  .product-lightbox__stage {
    padding: 4.5rem 0.75rem max(0.75rem, env(safe-area-inset-bottom));
    gap: 0.7rem;
  }

  .product-lightbox__close,
  .product-lightbox__nav {
    width: var(--navbar-height);
    height: var(--navbar-height);
  }

  .product-lightbox__close {
    top: max(1.25rem, env(safe-area-inset-top));
    right: max(1rem, env(safe-area-inset-right));
  }

  .product-lightbox__nav {
    top: calc(50% - 2.75rem);
  }

  .product-lightbox__nav:hover {
    transform: translateY(-50%) scale(1.04);
  }

  .product-lightbox__nav--prev {
    left: max(1rem, env(safe-area-inset-left));
  }

  .product-lightbox__nav--next {
    right: max(1rem, env(safe-area-inset-right));
  }

  .product-lightbox__footer {
    padding: 0.4rem;
    gap: 0.35rem;
    border-radius: 1rem;
  }

  .product-lightbox__thumb {
    flex-basis: 3.35rem;
    border-radius: 0.7rem;
  }

  .product-lightbox__counter {
    padding-inline: 0.4rem;
  }

  .product-section {
    padding: 1.35rem;
  }

  .product-section__heading {
    margin-bottom: 1.3rem;
  }

  .product-spec {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .product-spec dd {
    text-align: left;
  }

  .product-limitations-list {
    grid-template-columns: 1fr;
  }

  .product-help,
  .public-site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-help {
    gap: 1.15rem;
  }

  .public-site-footer__inner {
    min-height: 0;
    padding-block: 1.75rem;
  }

  .public-site-footer nav {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .public-skip-link,
  .public-site-nav a,
  .product-allegro-cta,
  .product-hero__media img,
  .product-hero__content,
  .product-hero__action,
  .product-hero__vignette,
  .product-article > :not(.product-hero):not(.product-lightbox),
  .product-lightbox__close,
  .product-lightbox__nav,
  .product-lightbox__thumb {
    transition: none;
  }

  .product-lightbox[open],
  .product-lightbox[open].is-closing,
  .product-lightbox::backdrop,
  .product-lightbox.is-closing::backdrop,
  .product-lightbox__stage::before,
  .product-lightbox.is-closing .product-lightbox__stage::before,
  .product-lightbox__figure,
  .product-lightbox.is-closing .product-lightbox__figure,
  .product-lightbox__footer,
  .product-lightbox.is-closing .product-lightbox__footer {
    animation: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .public-site-header,
  .public-site-footer,
  .public-glass-card {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--public-surface-strong);
  }
}

@media print {
  .product-page {
    --bg-global: #fff;
    --public-surface: #fff;
    --public-border: #d7dce5;
    --public-ink: #111827;
    --public-muted: #374151;
    background: #fff !important;
  }

  .product-page.bg-global::after,
  .product-page .public-site-header,
  .product-page .public-site-footer,
  .product-page .product-hero__action,
  .product-page .product-help,
  .product-page .public-breadcrumbs {
    display: none;
  }

  .product-page .public-shell {
    width: 100%;
  }

  .product-page .product-main {
    padding: 0;
  }

  .product-page .public-glass-card {
    break-inside: avoid;
    border: 1px solid #d7dce5;
    box-shadow: none;
  }

  .product-page .product-hero,
  .product-page .product-content {
    display: block;
  }

  .product-page .product-section {
    margin-top: 1rem;
  }
}
