.elephant-shop {
  max-width: 1600px;
  margin-inline: auto;
  padding: clamp(2rem, 4vw, 4.25rem) clamp(1.25rem, 5vw, 6rem) 5rem;
}
.elephant-shop h1 {
  font-size: clamp(3rem, 7vw, 6.6rem);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.072em;
}
.elephant-shop-intro { margin: .85rem 0 1.65rem; color: #c9c6c0; }
.elephant-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8rem 1.2rem;
  margin-block: 1.4rem 1rem;
  border-block: 1px solid #393839;
  padding-block: .85rem;
}
.elephant-filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.elephant-filters button {
  border: 1px solid #4e4b4b;
  padding: .55rem .85rem;
  color: #efede7;
  background: transparent;
  cursor: pointer;
  font-size: .8rem;
  font-weight: 700;
}
.elephant-filters button[aria-pressed="true"] {
  background: #f3f0e8;
  border-color: #f3f0e8;
  color: #191819;
}
.elephant-filters button:hover { border-color: #f3f0e8; }
.elephant-count { color: #c9c6c0; font-size: .8rem; }
.elephant-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.85rem, 2vw, 1.75rem);
}
.elephant-card { min-width: 0; padding-bottom: .9rem; }
.elephant-card[hidden] { display: none; }
.elephant-card-photo {
  overflow: hidden;
  aspect-ratio: 1;
  background: #fff;
}
.elephant-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .24s ease;
}
.elephant-card:hover img, .elephant-card:focus-visible img { transform: scale(1.035); }
.elephant-card h3 { margin: .65rem 0 .16rem; line-height: 1.25; font-size: clamp(.9rem, 1.3vw, 1.2rem); }
.elephant-card-caption { color: #c9c6c0; font-size: .76rem; }
.elephant-formats { scroll-margin-top: 6rem; padding-top: 2.2rem; }
.elephant-formats h2 { font-size: clamp(1.6rem, 3vw, 2.6rem); margin: 0 0 1.2rem; }
.elephant-format-box { margin: 1.15rem 0; }
.elephant-format-box label { display: block; margin-bottom: .45rem; font-size: .85rem; font-weight: 700; }
.elephant-format-controls { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem .8rem; }
.elephant-format-controls select {
  max-width: 100%;
  padding: .72rem .85rem;
  border: 1px solid #666363;
  color: #f9f6ef;
  background: #222122;
  font: inherit;
  font-size: .88rem;
}
.elephant-format-controls select:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.elephant-format-controls a { font-size: .78rem; text-decoration: underline; text-underline-offset: .22em; }
.elephant-format-detail .product-visual img { object-fit: contain; background: #fff; }
.elephant-format-detail .shop-buy-box [hidden] { display: none; }
@media (max-width: 960px) {
  .elephant-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .elephant-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .elephant-card img { transition: none; }
}
