.fp-shelf {
  box-sizing: border-box;
  color: #3b2925;
  font-size: 16px;
  font-weight: 450;
  line-height: 1.45;
}

.fp-shelf * {
  box-sizing: border-box;
}

.fp-shelf__shell {
  width: min(1120px, calc(100% - 32px));
  margin: 28px auto 72px;
}

.fp-shelf h1 {
  margin: 0 0 8px;
  color: #3b2925;
  font-size: 40px;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.fp-shelf__intro p {
  max-width: 62ch;
  margin: 0;
  font-size: 17px;
}

.fp-shelf__sets,
.fp-shelf__singles {
  display: grid;
  gap: 16px;
  align-items: stretch;
}

.fp-shelf__sets {
  grid-template-columns: 1fr 1fr;
  margin-top: 28px;
}

.fp-shelf__singles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.fp-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(103, 60, 51, 0.1);
  border-radius: 24px;
  background: #fffdfb;
}

.fp-card__media {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: #fff;
}

.fp-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: scale(var(--fp-zoom, 1));
}

.fp-card--set .fp-card__media img {
  object-fit: cover;
  transform: none;
}

.fp-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 16px 16px 16px;
}

.fp-card h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.fp-card h2 a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.fp-card__line {
  min-height: 2.8em;
  margin: 0;
  color: #673c33;
  font-size: 14px;
}

.fp-card__foot {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: auto;
}

.fp-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin: 0;
}

.fp-price__was {
  color: #8a645b;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: line-through;
}

.fp-price__now {
  color: #3b2925;
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.fp-price__note {
  margin-top: 2px;
  color: #8a645b;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
}

.fp-card__buy {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.fp-card__qtylabel {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #8a645b;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
}

.fp-card__qty {
  width: 64px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(103, 60, 51, 0.18);
  border-radius: 14px;
  background: #fff;
  color: #3b2925;
  font: inherit;
  font-size: 16px;
  font-weight: 650;
  text-align: center;
}

.fp-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 0;
  border-radius: 14px;
  background: #c2410c;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 650;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.fp-card__more {
  color: #673c33;
  font-size: 14px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fp-card__btn:hover {
  background: #9a3412;
  color: #fff;
}

@media (max-width: 860px) {
  .fp-shelf h1 {
    font-size: 32px;
  }

  .fp-shelf__sets,
  .fp-shelf__singles {
    grid-template-columns: 1fr;
  }
}
