:root {
  --red: #d51e31;
  --ink: #111114;
  --line: #e5e1dc;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
.detail-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 42px auto 90px;
}
.back {
  color: #333;
  font-size: 14px;
  text-decoration: none;
}
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 82px;
  margin-top: 30px;
}
.detail-image {
  min-height: 600px;
  position: relative;
  background: #f5f3f0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.detail-image img {
  width: min(100%, 390px);
  height: 540px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.product-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--red);
  padding: 7px 10px;
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: bold;
}
.brand-label {
  margin: 8px 0;
  color: #777;
  font-weight: bold;
  font-size: 13px;
}
.detail-info h1 {
  font-size: 48px;
  letter-spacing: -0.055em;
  margin: 0;
}
.lead {
  line-height: 1.55;
  color: #605e5b;
  max-width: 460px;
}
.choice {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.choice h2 {
  margin: 0 0 13px;
  font-size: 15px;
}
.choice-buttons,
.color-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.choice-buttons button,
.color-buttons button {
  background: #fff;
  border: 1px solid #cfcac5;
  padding: 11px 13px;
  cursor: pointer;
  font-size: 13px;
}
.choice-buttons button.selected,
.color-buttons button.selected {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.color-buttons button {
  border-radius: 999px;
}
.help {
  margin: 10px 0 0;
  color: #696560;
  font-size: 12px;
  line-height: 1.45;
}
.purchase {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 23px 0;
  border-top: 2px solid var(--ink);
}
.purchase small {
  display: block;
  color: #777;
  font-size: 11px;
}
.purchase strong {
  font-size: 27px;
}
.purchase button {
  border: 0;
  background: var(--red);
  color: #fff;
  padding: 15px 18px;
  font-weight: bold;
  cursor: pointer;
}
.benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  gap: 12px;
  list-style: none;
  font-size: 13px;
}
.benefits li {
  color: #3f3c39;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 110px);
  background: #111;
  color: #fff;
  padding: 13px 18px;
  border-radius: 3px;
  transition: 0.25s;
  font-size: 14px;
}
#toast.show {
  transform: translate(-50%, 0);
}
.product-seo-guide {
  padding: 76px 20px;
  background: #f5f3f0;
}
.product-seo-guide__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 72px;
  width: min(1120px, 100%);
  margin: auto;
}
.product-seo-eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.product-seo-guide h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.03;
  letter-spacing: -0.055em;
}
.product-seo-guide h3 {
  margin: 0 0 12px;
  font-size: 19px;
}
.product-seo-guide p {
  margin: 0;
  color: #605e5b;
  line-height: 1.7;
}
.product-seo-guide aside {
  padding: 25px;
  border: 1px solid var(--line);
  background: #fff;
}
.product-seo-guide aside p + p {
  margin-top: 18px;
}
.product-seo-guide a {
  color: var(--red);
  font-weight: 700;
}
@media (max-width: 760px) {
  .detail-shell {
    margin-top: 25px;
  }
  .product-detail {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .detail-image {
    min-height: 350px;
  }
  .detail-image img {
    height: 320px;
    width: min(100%, 260px);
  }
  .detail-info h1 {
    font-size: 39px;
  }
  .purchase {
    align-items: end;
  }
  .purchase button {
    padding: 13px;
  }
  .benefits {
    grid-template-columns: 1fr;
  }
  .product-seo-guide {
    padding: 54px 20px;
  }
  .product-seo-guide__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
