.shop-main {
  padding-block: clamp(24px, 5vw, 64px) 72px;
}

.shop-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 6vw, 80px);
  align-items: center;
  padding: clamp(24px, 6vw, 76px);
  margin-bottom: clamp(32px, 6vw, 74px);
  border-radius: 24px;
  background: #f1ebdf;
}

.shop-intro h1 { margin: 0 0 16px; }
.shop-intro p { max-width: 35ch; }
.shop-intro img { width: clamp(140px, 26vw, 290px); height: auto; }
.shop-status { font-weight: 700; color: var(--red); }

.shop-range {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 14px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.shop-range li {
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.shop-range h3 {
  margin: 0 0 8px;
  font: 700 1.1rem/1.3 var(--sans);
  letter-spacing: normal;
}

.shop-range p { margin: 0; color: var(--muted); }

@media (max-width: 540px) {
  .shop-intro { grid-template-columns: 1fr; }
  .shop-intro img { grid-row: 1; }
}

.shop-product-image {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  margin-bottom: 18px;
  border-radius: 10px;
  background: #f1ebdf;
}

.shop-range label {
  display: grid;
  gap: 6px;
  margin-block: 14px;
}

.shop-range select {
  width: 100%;
  min-height: 42px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
}

.shop-range .button {
  margin-top: 14px;
  color: #10364c;
  background: linear-gradient(165deg, #f0fbff 0%, #d3edfb 44%, #a7d5f0 100%);
  border: 1px solid #92bfd8;
  box-shadow: inset 0 1px 1px #fff, inset 0 -2px 5px #7badce55, 0 3px 8px #214f6c20;
  cursor: pointer;
}

.shop-range .button:hover:not(:disabled) {
  background: linear-gradient(165deg, #f6fdff 0%, #dcf3ff 44%, #b6e1f8 100%);
  box-shadow: inset 0 1px 1px #fff, inset 0 -2px 5px #7badce55, 0 4px 12px #214f6c30;
}

.shop-range .button:focus-visible {
  outline: 2px solid #1e5f85;
  outline-offset: 3px;
}

.shop-range .button:disabled {
  opacity: .65;
  cursor: wait;
}

.shop-intro[hidden] { display: none; }
.shop-detail { max-width: 720px; }
.shop-detail figure { margin: 20px 0; }
.shop-range h3 a { text-decoration: none; }
.shop-range h3 a:hover { text-decoration: underline; }

.shop-main h1 + #shop-message {
  margin-block-start: 32px;
}

.shop-gallery-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.shop-gallery-controls button {
  margin: 0;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.shop-gallery-controls button[aria-pressed="true"] {
  background: #d3edfb;
  border-color: #92bfd8;
}
