/* Aurora Background, Manu Arora (MIT). Adapted to the storefront's dark silver palette. */
:root {
  --storefront-aurora-base: #11171a;
  --storefront-aurora-veil: repeating-linear-gradient(
    100deg, #0b1012 0%, #0b1012 7%, transparent 10%, transparent 12%, #0b1012 16%
  );
  --storefront-aurora-light: repeating-linear-gradient(
    100deg, #485156 10%, #7b898a 15%, #b9c1c0 20%, #5b6c70 25%, #485156 30%
  );
}

html {
  background: var(--storefront-aurora-base);
}

body {
  isolation: isolate;
  background: linear-gradient(135deg, #101417, #182023 60%, #0f1417) fixed;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: var(--storefront-aurora-veil), var(--storefront-aurora-light);
  background-position: 50% 50%, 50% 50%;
  mask-image: radial-gradient(ellipse at 92% 14%, #000 13%, rgb(0 0 0 / 73%) 40%, transparent 92%);
  filter: blur(12px);
}

body::before {
  z-index: -2;
  background-size: 300% 100%, 200% 100%;
  opacity: 0.55;
}

body::after {
  z-index: -1;
  background-size: 200% 100%, 100% 100%;
  mix-blend-mode: difference;
  opacity: 0.32;
  animation: storefront-aurora 60s linear infinite;
}

@keyframes storefront-aurora {
  from { background-position: 50% 50%, 50% 50%; }
  to { background-position: 350% 50%, 350% 50%; }
}

@media (max-width: 640px) {
  body::before,
  body::after {
    mask-image: radial-gradient(ellipse at 84% 18%, #000 8%, rgb(0 0 0 / 58%) 45%, transparent 90%);
  }
}

@media (prefers-reduced-motion: reduce) {
  body::after {
    animation: none !important;
  }
}

#root > main :is(.hero, .strip, .catalogSection, .jewelryGallery, .jewelryGuide, .reviewPreview, .symbolismSection, .faqSection, .atelier, .contacts, .staticPage) {
  background: transparent;
}

#root :is(.strip, .jewelryGallery, .jewelryGalleryFooter, .articleHubSection, .staticArticleSection) {
  border-block-color: transparent;
  box-shadow: none;
}

#root .strip {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

#root .topbar {
  border-bottom-color: transparent;
  box-shadow: none;
}

#root .topbar:not(.menuOpen) {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: transparent;
}

#root .topbar:not(.menuOpen)::before {
  content: "";
  position: absolute;
  inset: 0 0 -12px;
  z-index: -1;
  pointer-events: none;
  background: rgb(11 15 17 / 62%);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  mask-image: linear-gradient(#000 72%, transparent);
}

#root .breadcrumbs ol {
  color: #bdc7c8;
}

#root .breadcrumbs a {
  color: inherit;
}

/* Outer card shadows clip at the scroll container and read as a straight seam. */
#root .strip :is(button, .categoryTile) {
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 18%), inset 0 -22px 42px rgb(0 0 0 / 18%);
}
