.order-main {
  max-width: 1240px;
  margin: auto;
  padding: 65px 24px 100px;
}

/* Compact order form with an always-visible custom size row. */
.order-main { padding: 48px 24px 90px; }
.order-heading { margin-bottom: 34px; }
.order-heading h1 { font-size: clamp(43px, 4.6vw, 62px); }
.order-heading > p:last-child { line-height: 1.5; }
.order-layout { gap: 42px; }
fieldset { padding: 24px 0; }
legend { font-size: 17px; margin-bottom: 14px; }
.option-grid { gap: 8px; }
.option-grid i { min-height: 64px; padding: 10px 12px; }
.option-grid small { margin-top: 3px; }
.option-grid input:checked + i { padding: 9px 11px; }
.custom-fields { display: flex; align-items: end; gap: 10px; margin-top: 10px; padding: 12px; border: 1px solid var(--line); background: #fff; }
.custom-fields.active { border: 2px solid var(--ink); padding: 11px; background: #f7f5ef; }
.custom-fields > div { display: grid; margin-right: auto; }
.custom-fields > div small { font-size: 10px; color: #777; margin-top: 3px; }
.custom-fields label { font-size: 10px; }
.custom-fields label span { font-weight: 400; }
.custom-fields input[type="number"] { width: 82px; padding: 8px; margin-top: 4px; }
.custom-fields > b { padding-bottom: 9px; color: #999; }
.custom-select { align-self: stretch; }
.custom-select input { position: absolute; opacity: 0; }
.custom-select i { height: 100%; min-height: 0; padding: 0 13px; border: 1px solid var(--ink); display: flex; align-items: center; font-size: 11px; font-style: normal; }
.custom-select input:checked + i { background: var(--ink); color: #fff; }
@media (max-width: 620px) { .custom-fields { flex-wrap: wrap; } .custom-fields > div { width: 100%; } .custom-fields label { flex: 1; } .custom-fields input[type="number"] { width: 100%; } .custom-select { width: 100%; } .custom-select i { min-height: 40px; justify-content: center; } }
.order-heading {
  max-width: 710px;
  margin-bottom: 50px;
}
.order-heading h1 {
  font-family: Newsreader, serif;
  font-size: clamp(45px, 5vw, 68px);
  font-weight: 500;
  line-height: 1;
  margin: 0;
}
.order-heading > p:last-child {
  color: var(--muted);
  line-height: 1.6;
}
.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 365px;
  gap: 52px;
  align-items: start;
}
.order-form {
  border-top: 1px solid var(--line);
}
fieldset {
  border: 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
  padding: 30px 0;
}
legend {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 18px;
}
legend span {
  color: var(--orange);
  font-size: 11px;
  letter-spacing: 0.12em;
  margin-right: 12px;
}
.option-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}
.option-grid.two {
  grid-template-columns: repeat(2, 1fr);
}
.option-grid label {
  cursor: pointer;
}
.option-grid input {
  position: absolute;
  opacity: 0;
}
.option-grid i {
  font-style: normal;
  min-height: 78px;
  padding: 14px;
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-weight: 700;
}
.option-grid small {
  font-weight: 400;
  color: #777;
  margin-top: 5px;
}
.option-grid input:checked + i {
  border: 2px solid var(--ink);
  padding: 13px;
  background: #f7f5ef;
}
.custom-fields {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.custom-fields label {
  font-size: 12px;
  font-weight: 700;
}
.custom-fields input {
  display: block;
  width: 120px;
  padding: 11px;
  margin-top: 5px;
  border: 1px solid var(--line);
}
.checks {
  display: grid;
  gap: 7px;
}
.checks label {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  padding: 13px;
}
.checks span {
  flex: 1;
}
.checks b {
  font-size: 12px;
}
.upload {
  min-height: 150px;
  border: 1px dashed #888;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  text-align: center;
}
.upload input {
  position: absolute;
  opacity: 0;
}
.upload span {
  font-size: 12px;
  color: #777;
}
.proof {
  display: flex;
  gap: 9px;
  margin-top: 14px;
  font-size: 13px;
}
.summary {
  position: sticky;
  top: 100px;
  background: var(--ink);
  color: #fff;
  padding: 30px;
}
.summary .kicker {
  color: #aaa;
}
.summary h2 {
  font-family: Newsreader, serif;
  font-size: 30px;
  font-weight: 500;
  margin: 0 0 22px;
}
.summary dl {
  margin: 0;
}
.summary dl div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid #ffffff24;
  font-size: 12px;
}
.summary dt {
  color: #aaa;
}
.summary dd {
  margin: 0;
  text-align: right;
}
.qty {
  width: 26px;
  height: 26px;
  background: transparent;
  border: 1px solid #666;
  color: #fff;
}
.qty + span,
.qty ~ span {
  margin: 0 9px;
}
.total {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 27px 0;
}
.total span {
  font-size: 12px;
}
.total strong {
  font-size: 31px;
}
.checkout {
  width: 100%;
  padding: 15px;
  border: 0;
  background: var(--acid);
  font-weight: 800;
  cursor: pointer;
}
.fine {
  font-size: 10px;
  color: #999;
  line-height: 1.5;
}
.notice {
  margin-top: 12px;
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .order-layout {
    grid-template-columns: 1fr;
  }
  .summary {
    position: static;
  }
  .option-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .order-main {
    padding: 45px 20px 70px;
  }
  .option-grid.two {
    grid-template-columns: 1fr;
  }
}

/* Final compact order form overrides. */
.order-main { padding: 48px 24px 90px; }
.order-heading { margin-bottom: 34px; }
.order-heading h1 { font-size: clamp(43px, 4.6vw, 62px); }
.order-heading > p:last-child { line-height: 1.5; }
.order-layout { gap: 42px; }
fieldset { padding: 24px 0; }
legend { font-size: 17px; margin-bottom: 14px; }
.option-grid { gap: 8px; }
.option-grid i { min-height: 64px; padding: 10px 12px; }
.option-grid small { margin-top: 3px; }
.option-grid input:checked + i { padding: 9px 11px; }
.custom-fields { display: flex; align-items: end; gap: 10px; margin-top: 10px; padding: 12px; border: 1px solid var(--line); background: #fff; }
.custom-fields.active { border: 2px solid var(--ink); padding: 11px; background: #f7f5ef; }
.custom-fields > div { display: grid; margin-right: auto; }
.custom-fields > div small { font-size: 10px; color: #777; margin-top: 3px; }
.custom-fields label { font-size: 10px; }
.custom-fields label span { font-weight: 400; }
.custom-fields input[type="number"] { width: 82px; padding: 8px; margin-top: 4px; }
.custom-fields > b { padding-bottom: 9px; color: #999; }
.custom-select { align-self: stretch; }
.custom-select input { position: absolute; opacity: 0; }
.custom-select i { height: 100%; min-height: 0; padding: 0 13px; border: 1px solid var(--ink); display: flex; align-items: center; font-size: 11px; font-style: normal; }
.custom-select input:checked + i { background: var(--ink); color: #fff; }
@media (max-width: 620px) { .custom-fields { flex-wrap: wrap; } .custom-fields > div { width: 100%; } .custom-fields label { flex: 1; } .custom-fields input[type="number"] { width: 100%; } .custom-select { width: 100%; } .custom-select i { min-height: 40px; justify-content: center; } }
