body .rx-shop-shelf {
  padding: clamp(32px, 5vw, 62px) 6%;
  background: #edf0e9;
  color: #20372c;
  scroll-margin-top: 100px;
}

body .rx-shop-shelf h2,
.rx-shop-shelf ul {
  width: min(100%, 1190px);
  margin-inline: auto;
}

body .rx-shop-shelf h2 {
  margin-block: 0 clamp(18px, 3vw, 28px);
  font-size: clamp(27px, 3.15vw, 46px);
  line-height: 1.14;
}

.rx-shop-shelf ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
  list-style: none;
  padding: 0;
  margin-block: 0;
}

.rx-shop-shelf li:only-child { grid-column: 1 / -1; max-width: 620px; }

.rx-shop-card {
  display: grid;
  grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
  align-items: center;
  height: 100%;
  overflow: hidden;
  color: #21382d;
  background: #fbfaf7;
  border: 1px solid #d6ddd2;
  border-radius: 8px;
}

.rx-shop-card:hover {
  border-color: #658370;
  background: #fff;
}

.rx-shop-card:focus-visible {
  outline: 3px solid #416b53;
  outline-offset: 3px;
}

.rx-shop-photo {
  min-height: 138px;
  height: 100%;
  background: #fff;
  display: grid;
  place-items: center;
}

.rx-shop-photo img {
  width: 100%;
  max-height: 210px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
}

.rx-shop-copy { padding: clamp(16px, 2.3vw, 24px); }

body .rx-shop-copy h3 {
  margin: 0 0 14px;
  color: #21382d;
  font-size: clamp(19px, 1.95vw, 26px);
  line-height: 1.28;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.rx-shop-copy > span {
  color: #345641;
  font-size: 16px;
  font-weight: 600;
}

.rx-shop-card:hover .rx-shop-copy > span { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 820px) {
  .rx-shop-shelf ul { grid-template-columns: 1fr; }
}

@media (max-width: 500px) {
  .rx-shop-card { grid-template-columns: minmax(0, 37%) minmax(0, 1fr); }
  .rx-shop-photo { min-height: 114px; }
  .rx-shop-copy { padding: 13px 12px; }
  body .rx-shop-copy h3 { margin-bottom: 8px; font-size: 18px; }
}
