/* Custom trim sketch and ordering guide. Loaded only on Custom Trim. */
.custom-shape-guide {
  padding: 64px 0;
  background: #fffefa;
}
.custom-shape-guide h2 {
  font-size: clamp(42px,4.4vw,62px);
  margin-bottom: 20px;
}
.custom-shape-intro {
  font-size: 19px;
  line-height: 1.7;
  max-width: 66ch;
  margin-bottom: 32px;
}
.custom-shape-intro a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.custom-shape-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}
.custom-shape-steps {
  list-style: none;
  counter-reset: trim;
  padding: 0;
  margin: 0;
}
.custom-shape-steps>li {
  counter-increment: trim;
  position: relative;
  padding: 0 0 22px 44px;
  margin: 0 0 22px;
  border-bottom: 1px solid #d4dbcc;
}
.custom-shape-steps>li:before {
  content: counter(trim) ".";
  position: absolute;
  left: 0;
  top: 1px;
  font: 600 27px/1.2 var(--display);
  color: #60734e;
}
.custom-shape-steps h3 {
  font-size: 28px;
  margin-bottom: 9px;
}
.custom-shape-steps p {
  font-size: 17px;
  line-height: 1.65;
  color: #52604e;
}
.custom-shape-drawing {
  margin: 0;
  background: #f5f5ec;
  border: 1px solid #c7cebd;
  padding: 24px;
}
.custom-shape-drawing svg {
  display: block;
  width: 100%;
  height: auto;
  background-color: #fffefa;
  background-image: linear-gradient(#dce2d644 1px,transparent 1px),linear-gradient(90deg,#dce2d644 1px,transparent 1px);
  background-size: 22px 22px;
}
.custom-shape-drawing figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  padding-top: 15px;
  color: #53644c;
}
.custom-shape-order {
  background: #244b3d;
  color: #fffefa;
  padding: 17px 20px;
  font-size: 17px;
  line-height: 1.5;
}
@media (max-width:760px) {
  .custom-shape-guide {
    padding: 42px 0;
  }
  .custom-shape-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .custom-shape-intro {
    font-size: 17px;
    margin-bottom: 27px;
  }
  .custom-shape-steps>li {
    padding-left: 36px;
    margin-bottom: 18px;
    padding-bottom: 18px;
  }
  .custom-shape-steps h3 {
    font-size: 26px;
  }
  .custom-shape-drawing {
    padding: 16px;
  }
  .custom-shape-drawing figcaption {
    font-size: 13px;
  }
}
