:root {
  --text-main: #111111;
  --text-muted: #888888;
  --card-bg: #ffffff;
  --card-radius: 22px;
  --brand-yellow: #ffc73c;
  --brand-yellow-hover: #f5bc2f;
  --pill-active: #b6b6b6;
  --shadow-card: 0 4px 18px rgba(0, 0, 0, 0.035);
  --shadow-hover: 0 10px 28px rgba(0, 0, 0, 0.07);
  --font: 'Plus Jakarta Sans', 'Plus Jakarta Sans Fallback', -apple-system, BlinkMacSystemFont, sans-serif;
  --base-font-size: 0.85rem;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  overscroll-behavior-x: none;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 40%, var(--bg-bottom) 100%);
  color: var(--text-main);
  font-family: var(--font);
  line-height: 1.5;
  overscroll-behavior-x: none;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

.opera-page {
  width: 100%;
  margin: 0 auto;
}

.opera-detail-page {
  max-width: 520px;
  padding: 16px 14px 56px;
}

@media (min-width: 420px) {
  .opera-detail-page {
    padding: 20px 18px 56px;
  }
}

/* Scheda opera principale: identica alla scheda aperta in Home */
.modal-card.opera-detail-card {
  background: #ffffff;
  width: 100%;
  border-radius: 28px;
  padding: 24px 22px 32px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  position: relative;
}

.modal-card.opera-detail-card > * {
  flex-shrink: 0;
  min-width: 0;
}

.detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.back-btn {
  background: none;
  border: none;
  padding: 4px 0;
  min-height: 44px;
  font-size: var(--base-font-size);
  font-weight: 500;
  color: var(--text-main);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  text-decoration: none;
  touch-action: manipulation;
}

.back-btn:hover {
  color: var(--brand-pink);
}

.detail-brand-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  flex-shrink: 0;
}

.detail-brand-link img {
  display: block;
  height: var(--brand-detail-logo-height, 34px);
  width: auto;
}

.m-brand-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.dar-logo {
  height: 20px;
  width: auto;
  object-fit: contain;
}

.dar-text {
  font-size: 0.82rem;
  color: #999999;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.m-title {
  margin: 0 0 18px;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.series-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  max-width: 100%;
  border: 1px solid #d9d9df;
  background: transparent;
  color: inherit;
  border-radius: 999px;
  padding: 7px 12px;
  margin: 8px 0 14px;
  font: inherit;
  font-size: 0.85rem;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.series-link:is(:hover, :focus-visible) {
  background: #f5f5f8;
}

.series-peek {
  display: flex;
  flex: none;
  padding-inline: 2px;
}

.series-peek:empty {
  display: none;
}

.series-peek img {
  width: 29px;
  height: 35px;
  object-fit: contain;
  border: 2px solid #fff;
  border-radius: 7px;
  background: #ececf1;
  box-shadow: 0 2px 5px #16162238;
  transform: rotate(var(--tilt, 0deg));
  transition: transform 0.22s ease, margin 0.22s ease;
}

.series-peek img + img {
  margin-inline-start: -7px;
}

.series-peek img:first-child {
  --tilt: -8deg;
}

.series-peek img:nth-child(3) {
  --tilt: 8deg;
}

.series-link:is(:hover, :focus-visible) .series-peek img + img {
  margin-inline-start: -3px;
}

.series-link:is(:hover, :focus-visible) .series-peek img {
  transform: translateY(-2px) rotate(var(--tilt, 0deg));
}

html[data-artwork-background="site"] .series-peek img {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.modal-img-box {
  position: relative;
  width: 100%;
  height: clamp(240px, 76vw, 360px);
  background: #fbfbfc;
  border-radius: 16px;
  padding: 8px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y pinch-zoom;
}

html[data-artwork-background="site"] .modal-img-box,
html[data-artwork-background="site"] .product-gallery button {
  background: transparent;
  box-shadow: none;
}

.modal-img-box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.modal-img-box:has(+ .gallery-navigation[hidden]) {
  margin-bottom: 24px;
}

.artwork-zoom-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 11;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(17, 17, 20, 0.72);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.gallery-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

.gallery-navigation button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #e2e4ea;
  border-radius: 50%;
  background: #fff;
  color: #111;
  cursor: pointer;
}

.gallery-navigation button:disabled {
  opacity: 0.3;
  cursor: default;
}

.gallery-counter {
  font-size: 0.8rem;
  color: #777;
  font-variant-numeric: tabular-nums;
}

.product-gallery {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
  width: 100%;
  min-height: 88px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 4px;
  margin: 4px 0 20px;
  padding: 6px 4px;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}

.product-gallery button {
  flex: 0 0 68px;
  width: 68px;
  height: 72px;
  padding: 4px;
  border: 2px solid #e2e4ea;
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  scroll-snap-align: start;
}

.product-gallery button[aria-pressed="true"] {
  border-color: #111;
  background: #f5f5f6;
}

.product-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.m-price-box {
  margin-bottom: 20px;
  padding-top: 4px;
}

.m-price-lbl {
  font-size: 0.76rem;
  color: #888888;
  font-weight: 500;
}

.m-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.m-price-val {
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--text-main);
  margin-top: 3px;
  letter-spacing: -0.02em;
}

.edition-tag {
  flex: 0 1 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: #6aff92;
  color: #1e1e1e;
  font-size: 0.6rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-align: center;
}

.m-section-label {
  font-size: 0.8rem;
  color: #777777;
  margin-bottom: 8px;
  font-weight: 500;
}

.pill-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

#formatSelector {
  display: flex;
  flex-wrap: wrap;
}

#formatSelector .pill {
  flex: 1 1 120px;
  min-width: 0;
}

.pill-grid.single-option {
  grid-template-columns: 1fr;
}

.pill-grid.two-options {
  grid-template-columns: repeat(2, 1fr);
}

.pill {
  border: 1.5px solid #f1f1f1;
  border-radius: 16px;
  padding: 13px 4px;
  text-align: center;
  font-size: 0.84rem;
  font-family: inherit;
  color: #bcbcbc;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.25;
  background: #ffffff;
  text-decoration: none;
  user-select: none;
}

.pill:active {
  transform: scale(0.97);
}

.pill.active {
  background: transparent;
  color: #5e5e5e;
  border-color: var(--pill-active);
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(32, 21, 25, 0.044);
}

.pill.disabled {
  opacity: 0.35;
  pointer-events: none;
  background: #fafafa;
  border-color: #f0f0f0;
  cursor: not-allowed;
}

.cta-buy-btn {
  background: black;
  color: #ffffff;
  border: none;
  border-radius: 48px;
  padding: 18px;
  font-family: inherit;
  font-size: var(--base-font-size);
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: block;
  width: 100%;
  box-shadow: 0 6px 20px rgba(255, 199, 60, 0.32);
  transition: background 0.2s, transform 0.15s;
}

.cta-buy-btn:hover {
  background: var(--brand-yellow-hover);
}

.cta-buy-btn:active {
  transform: scale(0.98);
}

.cta-buy-btn:disabled,
.cta-buy-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

.opera-noscript-note {
  margin: 12px 0 0;
  font-size: 0.78rem;
  text-align: center;
  color: #636875;
}

.opera-noscript-note a {
  color: inherit;
  font-weight: 600;
}

/* Fullscreen Artwork Lightbox */
.artwork-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(10, 11, 14, 0.96);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overscroll-behavior: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.artwork-lightbox.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.artwork-lightbox-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: max(14px, env(safe-area-inset-top)) 16px 10px;
  background: linear-gradient(180deg, rgba(10, 11, 14, 0.9) 0%, rgba(10, 11, 14, 0) 100%);
}

.artwork-lightbox-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.artwork-lightbox-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.artwork-lightbox-counter {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.72);
}

.artwork-lightbox-close {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font: 600 0.85rem/1 inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  flex-shrink: 0;
}

.artwork-lightbox-viewport {
  position: relative;
  flex: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: none;
  cursor: zoom-in;
}

.artwork-lightbox-viewport.is-zoomed {
  cursor: grab;
}

.artwork-lightbox-viewport.is-zoomed:active {
  cursor: grabbing;
}

.artwork-lightbox-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: center center;
  will-change: transform;
}

.artwork-lightbox-stage img {
  display: block;
  max-width: 94vw;
  max-height: 76dvh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  pointer-events: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.artwork-lightbox-toolbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px max(18px, env(safe-area-inset-bottom));
  background: linear-gradient(0deg, rgba(10, 11, 14, 0.9) 0%, rgba(10, 11, 14, 0) 100%);
}

.artwork-lightbox-btn {
  min-width: 44px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font: 700 1rem/1 inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.artwork-lightbox-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.artwork-lightbox-reset {
  min-width: 64px;
  font-size: 0.84rem;
}

/* Checkout Overlay (identico alla Home) */
.checkout-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 40%, var(--bg-bottom) 100%);
  z-index: 2000;
  display: none;
  flex-direction: column;
  align-items: center;
  padding: 16px 20px 0;
  overflow-y: auto;
  overscroll-behavior-x: none;
}

.checkout-overlay.active {
  display: flex;
}

.checkout-header {
  width: 100%;
  max-width: 520px;
  padding: 14px 0;
  display: flex;
  align-items: center;
}

.checkout-content {
  width: 100%;
  max-width: 520px;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding-bottom: 40px;
}

.checkout-logo {
  width: var(--brand-checkout-logo-width, 156px);
  max-width: 100%;
  height: auto;
  margin-bottom: 6px;
  object-fit: contain;
}

.checkout-step {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.checkout-step.hidden {
  display: none;
}

.checkout-question {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 6px;
  text-align: center;
}

.chk-btn {
  width: 100%;
  border-radius: 36px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  line-height: 1.4;
  font-family: inherit;
  text-decoration: none;
}

button.chk-btn {
  appearance: none;
  -webkit-appearance: none;
  -webkit-text-fill-color: currentColor;
}

.checkout-choice.chk-btn-black,
.checkout-choice.chk-btn-white {
  background: #fff;
  color: #111;
  border: 1.5px solid #d0d0d0;
}

.checkout-choice span,
.checkout-choice strong {
  color: inherit;
  -webkit-text-fill-color: currentColor;
}

.chk-btn:active {
  transform: scale(0.975);
}

.chk-btn .light {
  font-weight: 400;
  font-size: 0.92rem;
}

.chk-btn .bold {
  font-weight: 700;
  font-size: 1rem;
}

.payment-choice-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 12px;
  border-radius: 16px;
  background: var(--brand-pink-soft, #fff0f9);
  color: var(--brand-accent-deep, #ab0063);
}

.cassa-loading {
  width: 100%;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.5;
}

.cassa-spinner {
  width: 42px;
  height: 42px;
  border: 3px solid #e5e5ec;
  border-top-color: var(--brand-pink);
  border-radius: 50%;
  animation: cassa-spin 0.8s linear infinite;
}

@keyframes cassa-spin {
  to { transform: rotate(360deg); }
}

@keyframes cassa-reveal {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.order-code-box {
  background: #ffffff;
  border-radius: 24px;
  padding: 34px 24px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  width: 100%;
  display: none;
  flex-direction: column;
  gap: 12px;
}

.order-code-box.active {
  display: flex;
  animation: cassa-reveal 0.25s ease-out;
}

.oc-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.oc-code {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-pink);
  line-height: 1.45;
  overflow-wrap: anywhere;
  margin: 4px 0;
}

.oc-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.oc-summary-meta {
  font-size: 0.85rem;
  color: #555;
  margin-top: 10px;
  padding-top: 15px;
  border-top: 1px solid #eee;
  line-height: 1.45;
}

.cash-qr {
  display: block;
  width: 280px;
  max-width: 100%;
  height: auto;
  align-self: center;
  margin: 8px auto;
  background: white;
  image-rendering: pixelated;
}

.cash-qr-status,
.cash-qr-validity {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.6;
  color: #636875;
}

.cash-summary-link {
  color: #111;
  font-size: 0.82rem;
  font-weight: 700;
  text-underline-offset: 3px;
}

.cash-qr-retry {
  padding: 14px 18px;
  border: 0;
  border-radius: 24px;
  background: #111;
  color: #fff;
  font: 600 0.85rem inherit;
  cursor: pointer;
}

#cassaFaq {
  max-width: 520px;
  margin-bottom: 26px;
}

.checkout-footer {
  font-size: 0.9rem;
  color: var(--text-main);
  margin-top: auto;
  padding-bottom: 34px;
}

.checkout-footer a {
  color: var(--text-main);
  font-weight: 800;
  text-decoration: none;
}

/* Sezione "Altre opere della collezione" (mantenuta sotto la scheda) */
.opera-card {
  margin-top: 20px;
  background: #ffffff;
  border-radius: 22px;
  padding: 22px 20px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.opera-related-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.opera-section-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.opera-related-all {
  font-size: 0.78rem;
  font-weight: 600;
  color: #636875;
  text-decoration: none;
  white-space: nowrap;
}

.opera-related-all:hover {
  color: var(--brand-pink);
}

.opera-related-sub {
  margin: -4px 0 14px;
  font-size: 0.8rem;
  color: #636875;
  line-height: 1.5;
}

.opera-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.opera-related-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid #efecf2;
  background: #ffffff;
  text-decoration: none;
  color: #111111;
}

.opera-related-card:hover {
  border-color: var(--brand-pink);
}

.opera-related-thumb {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  overflow: hidden;
  background: #f5f5f7;
}

.opera-related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.opera-related-title {
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.3;
}

.opera-related-meta {
  font-size: 0.74rem;
  color: #636875;
}

/* Footer condiviso */
.site-footer {
  margin: 40px auto 0;
  padding: 26px 0 12px;
  border-top: 1px solid #ded8dc;
  color: #636875;
  font-size: 0.78rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.site-footer-brand {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--text-main);
  margin: 0 0 10px;
}

.site-footer p {
  margin: 6px 0;
}

.site-footer-context {
  color: #444752;
}

.site-footer a {
  color: inherit;
  text-underline-offset: 3px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
  margin: 14px 0 6px;
}

.site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.site-footer a:focus-visible {
  outline: 3px solid var(--brand-pink);
  outline-offset: 4px;
}

/* Directory /opere/ */
.opere-index-page {
  max-width: 780px;
  padding: 20px 18px 56px;
}

.opera-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #636875;
}

.opera-breadcrumbs a {
  color: #111111;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
}

.opera-breadcrumbs a:hover {
  color: var(--brand-pink);
}

.opera-brand {
  margin: 18px 0 22px;
  text-align: center;
}

.opera-brand img {
  height: var(--brand-opera-logo-height, 52px);
  width: auto;
  display: inline-block;
}

.opere-header {
  background: #ffffff;
  border-radius: 22px;
  padding: 24px 20px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.045);
}

.opere-header h1 {
  margin: 0 0 8px;
  font-size: clamp(1.7rem, 6vw, 2.3rem);
  letter-spacing: -0.03em;
}

.opere-header p {
  margin: 0;
  font-size: 0.9rem;
  color: #636875;
}

.opere-cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.opere-cat-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: #f4f2f8;
  color: #111111;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
}

.opere-cat-chip:hover {
  background: #111111;
  color: #ffffff;
}

.opere-directory-section {
  margin-top: 24px;
  background: #ffffff;
  border-radius: 22px;
  padding: 22px 20px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.opere-directory-section h2 {
  margin: 0 0 14px;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.opere-directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.opera-footer {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid #dfdbe3;
  font-size: 0.78rem;
  color: #636875;
  text-align: center;
}

.opera-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin: 12px 0;
}

.opera-footer nav a {
  color: #111111;
  text-decoration: none;
  font-weight: 600;
}

.opera-footer nav a:hover {
  text-decoration: underline;
}

a:focus-visible {
  outline: 3px solid var(--brand-pink);
  outline-offset: 3px;
}

@media (min-width: 600px) {
  .opere-directory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .series-peek img,
  .artwork-lightbox,
  .cassa-spinner,
  .order-code-box.active {
    animation: none;
    transition: none;
  }
}
