.shop-page { background: var(--white); }

.shop-hero {
  display: grid;
  min-height: min(900px, 100svh);
  align-content: space-between;
  padding: 120px var(--pad) 40px;
}

.shop-hero > p {
  justify-self: end;
  color: var(--red);
  font-size: 11px;
  letter-spacing: .12em;
}

.shop-hero h1 {
  align-self: center;
  font-size: clamp(112px, 24vw, 360px);
  font-weight: 400;
  line-height: .72;
  letter-spacing: -.1em;
}

.shop-hero-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  font-size: 10px;
}

.shop-hero-bottom a {
  min-height: 44px;
  padding: 13px 0;
  color: var(--red);
  border-bottom: 1px solid var(--red);
}

.shop-products { padding: 52px var(--pad) 80px; }
.shop-section-head { display: flex; align-items: end; justify-content: space-between; padding-bottom: 30px; }
.shop-section-head h2 { font-size: clamp(24px, 3vw, 44px); font-weight: 400; line-height: .95; letter-spacing: -.06em; }
.shop-section-head p { font-size: 9px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: var(--line);
  border-left: var(--line);
}

.product-card { display: grid; grid-template-rows: auto 1fr; min-width: 0; border-right: var(--line); border-bottom: var(--line); }
.product-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #efefef; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .75s var(--ease), filter .35s; }
.product-media.is-portrait img { object-fit: contain; background: #efefef; }
.product-media > span { position: absolute; right: 0; bottom: 0; padding: 5px 8px; color: var(--black); background: var(--red); font-size: 8px; }
.product-media:hover img { transform: scale(1.035); }

.product-info { display: grid; grid-template-columns: 1fr auto; gap: 18px; min-height: 210px; align-content: start; padding: 22px; }
.product-info h3 { font-size: clamp(28px, 3.3vw, 54px); font-weight: 400; line-height: .9; letter-spacing: -.07em; }
.product-info > p { padding-top: 7px; font-size: 10px; white-space: nowrap; }
.product-info .red-button { grid-column: 1 / -1; justify-self: start; align-self: end; margin-top: auto; }
.product-info .red-button:hover { box-shadow: 5px 5px 0 var(--black); }

.product-card-book {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.7fr) minmax(320px, .8fr);
  grid-template-rows: minmax(460px, 62vh);
}
.product-card-book .product-media { height: 100%; aspect-ratio: auto; border-right: var(--line); }
.product-card-book .product-media img { object-position: center; }
.product-card-book .product-info {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(24px, 3vw, 48px);
}
.product-card-book .product-kicker { max-width: 32ch; padding: 0; white-space: normal; font-size: 9px; }
.product-card-book .product-info h3 { margin-top: auto; font-size: clamp(54px, 6.8vw, 108px); }
.product-card-book .product-info > p:not(.product-kicker) { margin: 22px 0; padding: 0; }
.product-card-book .product-info .red-button { width: 100%; margin-top: 0; }

@media (max-width: 980px) {
  .shop-hero { min-height: 760px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-card-book { grid-template-columns: 1.25fr .75fr; }
}

@media (max-width: 720px) {
  .shop-hero { min-height: 620px; padding-top: 110px; }
  .shop-hero > p { justify-self: start; }
  .shop-hero h1 { font-size: 28vw; }
  .shop-hero-bottom { align-items: start; }
  .shop-products { padding-top: 36px; }
  .shop-section-head { align-items: start; }
  .shop-section-head p { width: 100px; text-align: right; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card-book { grid-template-columns: 1fr; grid-template-rows: auto auto; }
  .product-card-book .product-media { aspect-ratio: 16 / 10; border-right: 0; border-bottom: var(--line); }
  .product-card-book .product-info { min-height: 330px; }
  .product-card-book .product-info h3 { font-size: 15vw; }
  .product-media { aspect-ratio: 4 / 3; }
  .product-info { min-height: 190px; padding: 18px; }
  .product-info h3 { font-size: 42px; }
  .product-info .red-button { width: 100%; }
}
