.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card-img--logo {
  background: #fff;
}
.card-img--logo img {
  object-fit: contain;
  padding: 12px;
}
.card--open {
  cursor: pointer;
}
.card-hint {
  color: var(--terra);
  font-size: 0.8rem;
  font-weight: 700;
}
.shop-modal[hidden] { display: none !important; }
.shop-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
}
.shop-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 31, 58, 0.62);
}
.shop-modal__panel {
  position: relative;
  z-index: 1;
  width: min(880px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  padding: 22px;
}
.shop-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}
.shop-modal__panel h2 {
  font-family: var(--font-serif);
  margin: 4px 0 6px;
}
.shop-modal__meta { color: var(--muted); margin: 0 0 14px; font-size: 0.9rem; }
.shop-gallery {
  position: relative;
  background: #0b1f3a;
  border-radius: 14px;
  overflow: hidden;
}
.shop-gallery img {
  display: block;
  width: 100%;
  max-height: min(60vh, 540px);
  object-fit: contain;
  margin: 0 auto;
}
.shop-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  font-size: 26px;
  cursor: pointer;
}
.shop-nav--prev { left: 10px; }
.shop-nav--next { right: 10px; }
.shop-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
}
.shop-thumbs button {
  flex: 0 0 88px;
  height: 72px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #eee;
}
.shop-thumbs button.is-on { border-color: var(--terra); }
.shop-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
