.petal-related {
  width:min(100% - 32px,1060px);
  margin:0 auto;
  padding:0 0 max(40px,env(safe-area-inset-bottom,0px));
}
.petal-related h2 {
  margin:0 0 16px;
  color:var(--ink);
  font:400 clamp(24px,3vw,32px)/1.16 Georgia,serif;
}
.related-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:30px 11px;
}
.related-card {min-width:0;display:flex;flex-direction:column}
.related-photo {
  display:block;
  aspect-ratio:3/4;
  overflow:hidden;
  background:#eeeae6;
}
.related-photo img {display:block;width:100%;height:100%;object-fit:cover}
.related-card h3 {
  margin:12px 2px 0;
  font:400 1rem/1.35 Georgia,'Times New Roman',serif;
  overflow-wrap:anywhere;
}
.related-card h3 a {color:inherit;text-decoration:none}
.related-card h3 a:hover {text-decoration:underline}
.related-swatches {display:flex;flex-wrap:wrap;gap:1px;margin-top:auto;padding:3px 0}
.related-swatches button {
  display:inline-grid;
  place-items:center;
  width:30px;
  height:34px;
  background:none;
  border:0;
  padding:0;
  cursor:pointer;
}
.related-swatches button::before {
  content:'';
  width:18px;
  height:18px;
  box-sizing:border-box;
  border:1px solid #0002;
  border-radius:50%;
  background:var(--chip-color);
}
.related-swatches button[aria-pressed="true"]::before {outline:1px solid var(--ink);outline-offset:2px}
.related-shop {
  min-height:42px;
  display:grid;
  place-items:center;
  padding:6px 8px;
  background:#6e5049;
  color:#fff;
  border-radius:8px;
  text-decoration:none;
  font:600 .75rem/1.35 Arial,sans-serif;
  text-transform:uppercase;
}
.related-shop:hover {background:#4c3b34}
@media(min-width:760px) {
  .related-grid {grid-template-columns:repeat(4,minmax(0,1fr));gap:46px 20px}
}
