.shop-content { width: min(1170px, 90%); margin: 0 auto; padding: 54px 0 88px; }
.shop-intro { margin-bottom: 36px; }
.shop-intro h1, .shop-description h1 { font-family: var(--round); font-size: clamp(2.25rem, 5vw, 4.5rem); line-height: 1.08; margin: 0 0 16px; }
.shop-intro p, .shop-description p { font-size: 1.08rem; line-height: 1.65; max-width: 42rem; }
.shop-grid, .shop-gallery { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.shop-card { min-width: 0; border: 1px solid var(--line); border-radius: 22px; background: #fffdf5; overflow: hidden; }
.shop-card a { display: block; color: var(--ink); text-decoration: none; }
.shop-card a:hover h2 { text-decoration: underline; }
.shop-card img, .shop-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; }
.shop-card h2 { font-family: var(--round); font-size: 1.28rem; line-height: 1.3; margin: 18px 18px 8px; }
.shop-card p { line-height: 1.5; margin: 0 18px 22px; }
.shop-back { display: inline-block; color: var(--green); margin-bottom: 24px; }
.shop-product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: clamp(22px, 5vw, 62px); }
.shop-photo { background: white; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.shop-photo img { display: block; width: 100%; max-height: 600px; object-fit: contain; }
.shop-inquiry { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; padding: 10px 18px; border-radius: 24px; color: #fff; background: var(--green); text-decoration: none; }
.shop-gallery { margin-top: 28px; }
.shop-gallery img { border-radius: 16px; border: 1px solid var(--line); }
@media (max-width: 820px) { .shop-grid, .shop-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); } .shop-product { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 480px) { .shop-content { padding-top: 32px; } .shop-grid { grid-template-columns: minmax(0,1fr); } }

body[data-page="shop"] { background: #f7efe4; }
.shop-card { background: #fffbf4; border-color: #e2d3bd; }
.shop-image {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(160deg,#fbf1e3,#ead8bc);
}
.shop-card .shop-image > img,
.shop-photo .shop-image > img,
.shop-gallery .shop-image > img {
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.shop-image--clipped { background: linear-gradient(150deg,#faf0e2,#edddc6); }
.shop-crop {
  position: relative;
  display: block;
  overflow: hidden;
  width: var(--clip-width);
  aspect-ratio: var(--clip-ratio);
  mix-blend-mode: multiply;
}
.shop-card .shop-crop img,
.shop-photo .shop-crop img,
.shop-gallery .shop-crop img {
  position: absolute;
  inset: var(--image-top) auto auto var(--image-left);
  width: var(--image-width);
  max-width: none;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.shop-gallery .shop-image { border-radius: 16px; border: 1px solid #e2d3bd; }

.shop-collage {
  display: grid;
  width: 100%;
  aspect-ratio: 4 / 3;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  padding: 7px;
  gap: 5px;
  overflow: hidden;
  background: linear-gradient(150deg, #faf0e2, #edddc6);
}
.shop-collage--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
}
.shop-collage--stack > :last-child { grid-column: 1 / -1; width: 50%; justify-self: center; }
.shop-collage-item {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-width: 0;
  text-align: center;
}
.shop-collage .shop-image {
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  container-type: size;
  background: transparent;
}
.shop-collage .shop-crop {
  width: min(94cqw, calc(93cqh * var(--clip-ratio)));
}
.shop-variant-name { padding: 2px 0; font-size: clamp(10px, 1.1vw, 13px); line-height: 1.2; }
.shop-collage--three {
  padding: 18px 12px 14px;
  gap: 10px;
}
.shop-collage--three .shop-crop {
  width: min(99cqw, calc(98cqh * var(--clip-ratio)));
}
.shop-collage--three .shop-variant-name { padding-top: 8px; }
.shop-card .shop-image--cutout > img,
.shop-photo .shop-image--cutout > img {
  width: 96%;
  height: 96%;
  object-fit: contain;
}
.shop-collage--four {
  aspect-ratio: 1 / 1.16;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  padding: 12px 8px;
  gap: 12px 8px;
}
.shop-collage--four .shop-crop {
  width: min(98cqw, calc(98cqh * var(--clip-ratio)));
}
.shop-collage--four .shop-variant-name {
  padding: 3px 0 0;
}
