.shop { padding: 2rem 0 4.5rem; }
.shop h1 { max-width: 19ch; margin: .3em 0 .35em; font-size: clamp(2.45rem, 5.5vw, 4.4rem); line-height: 1.05; overflow-wrap: anywhere; }
.shop-intro { max-width: 68ch; margin: 0 0 1.5rem; }
.shop-back, .shop-more, .shop-toolbar a { color: #713f29; text-underline-offset: 3px; }
.shop-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.4rem 0; }
.shop-tabs a { display: inline-block; padding: .4rem .78rem; background: #fffbf5; border: 1px solid #d8c9b9; border-radius: 2rem; text-decoration: none; }
.shop-tabs a[aria-current="page"] { background: #33271e; color: #fff8ec; border-color: #33271e; }
.shop-toolbar { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem 1.25rem; flex-wrap: wrap; margin: 1.6rem 0 .85rem; }
.shop-toolbar h2 { margin: 0; }
.shop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.15rem; }
.shop-card { display: flex; flex-direction: column; min-width: 0; border-radius: 1.1rem; overflow: hidden; border: 1px solid #e2d7c8; background: #fffcf7; }
.shop-photo { position: relative; display: block; flex: none; width: 100%; aspect-ratio: 1; overflow: hidden; background: #fff; }
.shop-photo img {
  position: absolute;
  inset: .55rem;
  display: block;
  width: calc(100% - 1.1rem);
  height: calc(100% - 1.1rem);
  object-fit: contain;
}
.shop-detail-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.shop-card-body { display: flex; flex: 1; flex-direction: column; padding: .85rem 1rem 1rem; }
.shop-card h2, .shop-card h3 { font: 700 1rem/1.35 system-ui, sans-serif; margin: .28rem 0 .65rem; overflow-wrap: anywhere; }
.shop-card h2 a, .shop-card h3 a { text-decoration: none; }
.shop-card h2 a:hover, .shop-card h3 a:hover { text-decoration: underline; }
.shop-kicker, .shop-status, .shop-note { font-size: .88rem; }
.shop-card p, .shop-offer p { margin: .22rem 0; }
.shop-price { font: 700 1.1rem/1.35 system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.shop-more { margin-top: auto; padding-top: .4rem; font-size: .9rem; font-weight: 650; }
.shop-note { color: #695849; }
.shop-detail { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(1rem, 4vw, 3rem); align-items: start; margin: 1.4rem 0; }
.shop-detail-image { background: #fff; aspect-ratio: 1.2; padding: 1rem; border-radius: 1.25rem; overflow: hidden; }
.shop-offer { padding: clamp(1rem, 3vw, 2rem); border: 1px solid #e2d7c8; background: #fffbf4; border-radius: 1.25rem; min-width: 0; }
.shop-offer .shop-price { font-size: 2rem; }
.shop-button { display: inline-block; margin: .95rem 0 .65rem; padding: .65rem 1rem; background: #713f29; color: #fffaf2; border-radius: .55rem; text-decoration: none; font-weight: 650; }
.shop-offer dl { margin-bottom: 0; }
.shop-offer dl div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem; padding: .4rem 0; border-top: 1px solid #e3d5c5; }
.shop-offer dd { margin: 0; }
.shop-description { padding-block: 1rem; max-width: 72ch; }
@media (max-width: 850px) { .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 610px) { .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; } .shop-detail { grid-template-columns: 1fr; } .shop-card-body { padding: .65rem; } .shop-card h2, .shop-card h3 { font-size: .91rem; } }
.shop h1.shop-product-title { max-width: 32ch; font-size: clamp(1.9rem, 4vw, 3.2rem); }
