@font-face {
  font-family: Inter;
  src: url('assets/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  font-family: Inter, 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  color: #202f27;
  background: #f6f6f1;
  --line: #dde2d8;
  --muted: #526257;
  --action: #243b2d;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
}
h1,
h2,
p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid #426a41;
  outline-offset: 4px;
}
.wrap {
  width: min(1080px, calc(100% - 48px));
  margin-inline: auto;
}
.top,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.top {
  min-height: 76px;
}
.top a {
  display: flex;
  align-items: center;
  min-height: 44px;
}
.top img {
  width: 113px;
  height: auto;
}
.language,
.secondary {
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid #c7d0c5;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font-size: 14px;
}
.language:hover,
.secondary:hover {
  background: #edf0e8;
}
.language {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  right: max(14px, calc((100vw - 1080px) / 2));
  z-index: 2;
  min-width: 48px;
  padding-inline: 10px;
  border-radius: 999px;
  background: #fbfcf8;
  box-shadow: 0 2px 8px #202f2714;
  font-weight: 600;
}
.checkout {
  display: grid;
  grid-template-columns: 1fr 0.94fr;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.product {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(24px, 4.2vw, 54px);
  color: #f1f4eb;
  background: radial-gradient(ellipse at 67% 70%, #506650, #25382d 70%);
}
.product-copy {
  align-self: stretch;
}
.venue {
  color: #d6e7a6;
  font-size: 13px;
  font-weight: 620;
  letter-spacing: 0.08em;
}
h1 {
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1;
  letter-spacing: -0.075em;
  margin: 8px 0 9px;
  font-weight: 650;
}
.product-copy > p:last-child {
  color: #e0e8dc;
  font-size: 16px;
}
.product img {
  width: min(100%, 378px);
  height: 340px;
  object-fit: contain;
  margin-top: 12px;
  filter: drop-shadow(0 15px 22px #19261e80);
}
.order-card {
  padding: clamp(24px, 4.4vw, 49px);
  min-width: 0;
}
.finishes {
  margin: 0 0 24px;
  padding: 0;
  border: 0;
  min-width: 0;
}
legend,
h2 {
  font-size: 19px;
  font-weight: 630;
  letter-spacing: -0.02em;
}
legend {
  padding: 0;
  margin-bottom: 11px;
}
.finish-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.finish-options label {
  position: relative;
  cursor: pointer;
}
.finish-options input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.finish-options label > span {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 7px;
  min-height: 46px;
  border: 1px solid #c9d2c8;
  border-radius: 7px;
  font-size: 13px;
}
.finish-options input:checked + span {
  border-color: #39563e;
  box-shadow: inset 0 0 0 1px #39563e;
  background: #eff4e9;
}
.finish-options input:focus-visible + span {
  outline: 2px solid #426a41;
  outline-offset: 3px;
}
.finish-options i {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  border-radius: 50%;
  border: 1px solid #52625755;
}
.finish-options b {
  font-weight: 550;
}
.silver {
  background: #a6aaa9;
}
.orange {
  background: #ed9925;
}
.ivory {
  background: #efe9d4;
}
.contact label {
  display: block;
  margin-top: 13px;
  font-size: 14px;
  font-weight: 560;
}
.contact input {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 9px 10px;
  margin-top: 6px;
  border: 1px solid #aebcae;
  border-radius: 6px;
  background: #fff;
  color: inherit;
  font-size: 16px;
}
.hint,
.privacy {
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
  line-height: 1.55;
}
.privacy {
  margin-top: 16px;
}
.primary {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  margin-top: 12px;
  padding: 9px 12px;
  border: 0;
  border-radius: 7px;
  background: var(--action);
  color: white;
  font-weight: 580;
  text-align: center;
}
.primary:hover {
  background: #34533e;
}
.primary:disabled {
  opacity: 0.64;
  cursor: wait;
}
.error {
  color: #9b332a;
  margin-top: 10px;
  font-size: 14px;
}
.status {
  display: inline-block;
  background: #f2edd9;
  color: #655423;
  padding: 5px 9px;
  border-radius: 4px;
  font-size: 13px;
  margin-bottom: 10px;
}
.receipt h2 {
  font-size: 25px;
}
.receipt dl {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px 17px;
  padding-block: 16px;
  border-block: 1px solid var(--line);
}
.receipt dt {
  color: var(--muted);
  align-self: center;
}
.receipt dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 550;
}
.order-reference {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 8px;
}
.order-reference span {
  user-select: all;
}
.order-reference button {
  min-height: 44px;
  padding: 4px 8px;
  border: 0;
  background: transparent;
  color: #39563e;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.payment-qr {
  margin-top: 14px;
  padding: 0 13px 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
}
.payment-qr summary {
  min-height: 44px;
  padding-block: 11px;
  cursor: pointer;
  font-weight: 580;
}
.payment-qr img {
  display: block;
  width: min(100%, 214px);
  height: auto;
  margin: 6px auto;
}
.save-qr {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #39563e;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.secondary {
  width: 100%;
  margin-top: 10px;
}
.footer {
  min-height: 68px;
  font-size: 13px;
  color: var(--muted);
}
.footer a {
  display: flex;
  align-items: center;
  min-height: 44px;
}
.footer a:hover {
  text-decoration: underline;
}
@media (max-width: 700px) {
  .wrap {
    width: calc(100% - 28px);
  }
  .top {
    min-height: 61px;
  }
  .top img {
    width: 102px;
  }
  .checkout {
    grid-template-columns: 1fr;
    border-radius: 13px;
  }
  .product {
    min-height: 216px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 45%;
    padding: 17px 14px 17px 20px;
    gap: 7px;
  }
  .product-copy {
    align-self: center;
  }
  .product img {
    width: 100%;
    height: 176px;
    margin-top: 0;
  }
  h1 {
    font-size: clamp(36px, 11vw, 56px);
  }
  .venue {
    font-size: 11px;
  }
  .product-copy > p:last-child {
    font-size: 13px;
  }
  .order-card {
    padding: 17px;
  }
  .finishes {
    margin-bottom: 18px;
  }
  .footer {
    min-height: 57px;
  }
}
