/* Shop-only additions. Existing site typography/header/footer are inherited. */
body.shop-page,
body.shop-page .page-wrap {
  background: #fff;
}

.shop-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 34px 20px 70px;
  box-sizing: border-box;
  background: #fff;
}

.shop-heading {
  margin: 0 0 8px;
  font: inherit;
  font-size: 18px;
  font-weight: normal;
}

.shop-intro {
  margin: 0 0 34px;
  line-height: 1.45;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 42px 24px;
}

.shop-card { min-width: 0; }
.shop-card-link { display: block; text-decoration: none; }

.shop-image-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 11px;
}

.shop-image-box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
}

.shop-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 11px;
}

.shop-card-title,
.shop-card-year,
.shop-card-price,
.shop-card-status {
  margin: 0;
  line-height: 1.35;
  font-weight: normal;
}
.shop-card-year,
.shop-card-status { color: #666; }
.shop-card-price { margin-top: 4px; }
.shop-card-price del,
.product-price del { color: #777; }

.product-back { margin: 0 0 24px; }
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, .75fr);
  gap: 54px;
  align-items: start;
}
.product-image-box {
  width: 100%;
  min-height: 320px;
  background: #fff;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.product-image-box img {
  display: block;
  max-width: 100%;
  height: auto;
  padding: 0;
}
.product-title {
  font: inherit;
  font-size: 18px;
  font-weight: normal;
  margin: 0 0 3px;
}
.product-year,
.product-status,
.product-price,
.product-shipping { margin: 0; line-height: 1.45; }
.product-status { color: #666; margin-bottom: 18px; }
.product-details { list-style: none; margin: 20px 0 22px; padding: 0; }
.product-details li { margin: 0 0 5px; line-height: 1.4; }
.product-shipping { margin: 0 0 22px; max-width: 380px; }
.shop-button {
  display: inline-block;
  border: 1px solid currentColor;
  padding: 8px 12px;
  text-decoration: none;
  line-height: 1;
}
.shop-note { margin-top: 22px; color: #666; line-height: 1.45; }

body.shop-page .site-footer ul.nav a:hover,
body.shop-page a:hover { border-bottom-color: #b3b3b3; }
body.shop-page .site-footer ul.nav li a:visited { color: #000; }
body.shop-page .shop-card-link:hover { border-bottom: none; }
body.shop-page .shop-button:hover { border-color: #000; }

@media (max-width: 1000px) {
  .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 16px; }
  .product-layout { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 520px) {
  .shop-wrap { padding: 24px 14px 50px; }
}
