@font-face {
  font-family: N;
  src: url("assets/newsreader-latin.woff2");
  font-weight: 400 650;
}
@font-face {
  font-family: M;
  src: url("assets/manrope-latin.woff2");
  font-weight: 400 750;
}
:root {
  --ink: #263c31;
  --text: #3e463e;
  --muted: #60675e;
  --line: #d9d9cb;
  --paper: #fbfaf6;
  --panel: #efefe6;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    14px/1.48 M,
    Arial,
    sans-serif;
}
a {
  color: inherit;
  text-underline-offset: 3px;
}
button,
input {
  font: inherit;
  color: inherit;
}
button,
summary,
.method {
  cursor: pointer;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid #496145;
  outline-offset: 3px;
}
.wrap {
  max-width: 1180px;
  margin: auto;
  padding: 0 clamp(17px, 4vw, 58px);
}
header {
  border-bottom: 1px solid var(--line);
}
header .wrap {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font:
    40px/1 N,
    Georgia,
    serif;
  letter-spacing: -0.065em;
  text-decoration: none;
}
.back {
  font-size: 12px;
}
.back span {
  padding-right: 6px;
}
.intro {
  padding: 34px 0 20px;
}
.intro h1 {
  font:
    500 clamp(42px, 4.5vw, 62px)/1 N,
    Georgia,
    serif;
  letter-spacing: -0.055em;
  margin: 0;
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.92fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: start;
  margin-bottom: 44px;
}
.section {
  padding: 19px 0 22px;
  border-top: 1px solid var(--line);
}
h2,
h3,
p {
  margin: 0;
}
h2 {
  font:
    500 28px/1.1 N,
    Georgia,
    serif;
  letter-spacing: -0.032em;
  margin: 0 0 15px;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.full {
  grid-column: 1/-1;
}
.field {
  display: grid;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 600;
}
.field input {
  width: 100%;
  min-width: 0;
  height: 40px;
  padding: 9px 11px;
  border: 1px solid #b9c0b1;
  background: #fffefa;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 450;
}
.methods {
  display: grid;
  gap: 7px;
}
.method {
  display: flex;
  gap: 11px;
  align-items: center;
  border: 1px solid var(--line);
  padding: 11px 13px;
  border-radius: 5px;
  background: #fffefa;
}
.method:has(input:checked) {
  background: #edf1e7;
  border-color: #75866d;
}
.method input {
  accent-color: var(--ink);
  width: 16px;
  height: 16px;
  margin: 0;
}
.method strong {
  margin-left: auto;
  font-size: 13px;
}
.primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  width: 100%;
  background: var(--ink);
  color: #fffef9;
  border: 0;
  border-radius: 5px;
  padding: 13px 17px;
  min-height: 47px;
  font-weight: 650;
}
.primary:hover {
  background: #395545;
}
.primary span {
  font: 20px Georgia;
}
.summary {
  background: var(--panel);
  border: 1px solid #dddfd1;
  border-radius: 9px;
  padding: 22px 24px;
  position: sticky;
  top: 20px;
}
.summary summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font:
    500 28px/1.1 N,
    Georgia,
    serif;
  letter-spacing: -0.04em;
  list-style: none;
}
.summary summary::-webkit-details-marker {
  display: none;
}
.summary summary small {
  font:
    12px M,
    Arial;
  color: var(--muted);
  letter-spacing: 0;
}
.summary summary small:after {
  content: " ▾";
  margin-left: 4px;
}
.summary[open] summary small:after {
  content: " ▴";
}
.items {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}
.item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 13px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #d1d5c6;
}
.shot {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid #dbddcd;
  border-radius: 5px;
  background: #faf9f2;
}
.shot img {
  width: 93%;
  height: 93%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.item b {
  display: block;
  font:
    500 21px/1.05 N,
    Georgia,
    serif;
  letter-spacing: -0.026em;
}
.item small,
.hint {
  font-size: 12px;
  color: var(--muted);
}
.item small {
  display: block;
  margin-top: 5px;
}
.item strong {
  font-size: 13px;
}
.costs {
  margin: 13px 0 0;
}
.row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
}
.row dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.total {
  border-top: 1px solid #c9cebf;
  margin-top: 13px;
  padding-top: 16px;
  align-items: baseline;
}
.total dt {
  font:
    500 24px N,
    Georgia,
    serif;
  letter-spacing: -0.04em;
}
.total dd {
  font-size: 23px;
  letter-spacing: -0.04em;
  font-weight: 650;
}
.total small {
  font:
    11px M,
    Arial;
  letter-spacing: 0.04em;
  margin-right: 4px;
}
.hint {
  margin-top: 13px;
}
.review-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.edit {
  border: 0;
  background: none;
  padding: 5px;
  text-decoration: underline;
}
.review-copy {
  white-space: pre-line;
  color: var(--text);
}
.final {
  padding: 20px 0;
  max-width: 550px;
}
.final a {
  display: inline-block;
  margin-top: 20px;
}
@media (max-width: 740px) {
  header .wrap {
    height: 60px;
  }
  .wordmark {
    font-size: 32px;
  }
  .intro {
    padding: 24px 0 14px;
  }
  .layout {
    display: flex;
    flex-direction: column;
    gap: 19px;
  }
  .summary {
    order: -1;
    position: static;
    width: 100%;
    padding: 14px 16px;
  }
  .summary summary {
    font-size: 22px;
  }
  .flow {
    width: 100%;
  }
  .section {
    padding: 16px 0;
  }
  .flow .section:first-child {
    border: 0;
    padding-top: 0;
  }
  .fields {
    gap: 8px;
  }
  .field input {
    font-size: 16px;
    height: 43px;
  }
  .item {
    grid-template-columns: 54px 1fr auto;
  }
  .item b {
    font-size: 19px;
  }
  .primary {
    min-height: 48px;
  }
  h2 {
    font-size: 25px;
    margin-bottom: 12px;
  }
}

.checkout-context { font-size: .75rem; color: var(--muted); margin: 0 0 .4rem; }
.checkout-steps { display: flex; align-items: center; flex-wrap: wrap; list-style: none; margin: 1rem 0 .35rem; padding: 0; gap: .6rem; color: #586059; font-size: .88rem; }
.checkout-steps li { display: flex; align-items: center; gap: .6rem; }
.checkout-steps li + li::before { content: ""; width: 1.4rem; height: 1px; background: #c9cdc8; }
.checkout-steps [aria-current=step] { font-weight: 700; color: var(--ink); }
.checkout-panel, .summary, .final { border: 1px solid #dfdfdf; border-radius: 1rem; background: #fff; box-shadow: 0 4px 12px -5px rgb(0 0 0 / 20%); }
.checkout-panel { padding: clamp(1.15rem, 3vw, 2.1rem); }
.checkout-panel .section:first-child { border-top: 0; padding-top: 0; }
.checkout-panel .primary { margin-top: .35rem; border-radius: .6rem; }
.field { gap: .35rem; font-size: .82rem; }
.field input { min-height: 44px; border-radius: .45rem; background: #fff; }
.method { min-height: 48px; border-radius: .55rem; }
.method:has(input:checked) { box-shadow: inset 0 0 0 1px #75866d; }
.review-total { display: flex; justify-content: space-between; margin-top: 1.15rem; border-top: 1px solid var(--line); padding-top: .85rem; }
.final { padding: clamp(1.5rem, 4vw, 3rem); margin-block: .5rem 3rem; }
.final a { color: #244831; }
.shot { background: #fff; border-color: #e3e3e3; }
.shot img { mix-blend-mode: normal; }
.order-cart { --bag-serif: N,Georgia,serif; }
#cart-message:not(:empty) { margin-bottom: .75rem; }
@media (max-width: 740px) {
  .checkout-panel { padding: 1.1rem; }
  .layout { gap: .9rem; }
  .summary { padding: 1rem; }
  .intro { padding-top: 1.4rem; }
}
