@font-face {
  font-family: BPProductionSerif; font-weight: 300; font-style: normal; font-display: swap;
  src: url("../../../demo/assets/bp-winter-runtime-20261120/font-f5366b65b13d6ad2.woff2") format("woff2");
}
@font-face {
  font-family: BPProductionRubik; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../../../demo/assets/bp-winter-runtime-20261120/font-b547f61e453d4c2f.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: BPProductionRubik; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../../../demo/assets/bp-winter-runtime-20261120/font-8f9ed3f96c1189ac.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
:root {
  --paper: #fff9ee;
  --background: #314c44;
  --surface: #233b32;
  --accent: #995d2f;
  --outline: #ffdab1;
  --ink: #fff8eb;
  --muted: #e2d7c5;
  --line: rgba(238,229,213,.25);
  font: 400 16px/1.5 BPProductionRubik, Arial, sans-serif;
  color: var(--ink);
  background: var(--background);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--outline); outline-offset: 3px; }
.skip { position: absolute; top: 8px; left: 12px; z-index: 5; background: var(--surface); padding: 8px; transform: translateY(-150%); }
.skip:focus { transform: none; }
.shell { width: min(1400px, calc(100% - 48px)); margin-inline: auto; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-nav { min-height: 62px; display: flex; align-items: center; gap: 28px; font-size: 14px; }
.site-nav a { text-decoration: none; }
.brand { display: block; flex: none; }
.brand img { display: block; width: 178px; height: auto; }
.site-nav .active { font-weight: 500; }
.phone { margin-inline-start: auto; white-space: nowrap; }
.intro { margin: 45px 0 38px; }
h1, h2, legend { margin: 0; font: 300 34px/1.2 BPProductionSerif, Georgia, serif; letter-spacing: -.015em; }
h1 { font-size: clamp(37px, 5vw, 67px); line-height: 1.06; }
.intro p { max-width: 670px; margin: 14px 0 0; color: var(--muted); }
input:not([type=radio]), textarea {
  color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 9px;
  min-width: 0; min-height: 44px; padding: 9px 12px;
}
input::placeholder, textarea::placeholder { color: #c7bca9; }
.field { display: grid; gap: 5px; margin-top: 12px; color: var(--muted); font-size: 14px; }
.request { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.request h2 { font-size: 25px; }
.request p { color: var(--muted); font-size: 14px; margin: 7px 0 14px; }
.primary {
  min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff; border-radius: 12px; padding: 9px 19px;
  font-weight: 500; text-decoration: none;
}
.preview-label { margin: 0 0 8px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; font-size: 12px; }

@media (max-width: 730px) {
  .shell { width: calc(100% - 34px); }
  .site-nav { padding: 12px 0; }
  .brand img { width: 150px; }
  .intro { margin: 28px 0; }
  .intro p { font-size: 14px; }
}

.primary:disabled { opacity: .6; cursor: not-allowed; }

.contact { margin-left: auto; white-space: nowrap; }
.order-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 420px); gap: 32px; align-items: start; padding-bottom: 36px; }
.order-form { display: grid; gap: 26px; min-width: 0; }
.order-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.order-form legend { font: 300 28px/1.2 BPProductionSerif, Georgia, serif; padding: 0; margin-bottom: 10px; }
.amount-options { display: flex; flex-wrap: wrap; gap: 8px; }
.amount-option, .photo-option { position: relative; cursor: pointer; }
.amount-option input, .photo-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.amount-option span, .gallery-arrow, .secondary { display: inline-flex; align-items: center; min-height: 44px; border: 1px solid var(--line); border-radius: 10px; padding: 6px 14px; background: var(--surface); color: var(--ink); }
.amount-option input:checked + span { background: var(--accent); }
.amount-option input:focus-visible + span, .photo-option input:focus-visible + span { outline: 2px solid var(--outline); outline-offset: 2px; }
.hint { color: var(--muted); font-size: 14px; margin: 8px 0 0; }
#custom-field { margin-top: 12px; max-width: 250px; }
.gallery-actions { display: flex; gap: 8px; justify-content: end; }
.gallery-arrow { aspect-ratio: 1; padding: 0; justify-content: center; font-size: 24px; }
.gallery-arrow:disabled { opacity: .45; }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(125px, 30%); gap: 8px; overflow-x: auto; padding: 6px 4px 8px; scroll-snap-type: x proximity; }
.photo-option { scroll-snap-align: start; min-width: 0; }
.photo-option span { display: block; height: 100%; padding: 5px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; background: var(--surface); }
.photo-option input:checked + span { border-color: var(--outline); background: #3e5648; }
.photo-option img { width: 100%; aspect-ratio: 3 / 2; display: block; object-fit: cover; border-radius: 7px; margin-bottom: 4px; }
.order-form .order-contact { display: grid; gap: 12px; padding: 16px 20px; border: 1px solid var(--line); }
.order-contact input, .order-contact textarea { width: 100%; }
.order-contact .primary { justify-self: start; border: 0; }
.order-contact p { margin: 0; }
#request-fallback { display: grid; gap: 8px; justify-items: start; }
#draft { resize: vertical; }
.order-preview { position: sticky; top: 18px; min-width: 0; }
.preview-card { overflow: hidden; border-radius: 16px; background: var(--paper); color: #233b32; }
.preview-photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.preview-paper { padding: 20px 24px 24px; }
.preview-paper h2 { font: 300 35px/1.08 BPProductionSerif, Georgia, serif; margin: 0; }
.preview-note { color: #506256; font-size: 13px; margin: 0 0 10px; }
.preview-name { margin: 12px 0 0; overflow-wrap: anywhere; }
.preview-amount { display: grid; gap: 3px; padding: 9px 14px; background: #e0e7d4; font-size: 13px; margin: 15px 0 12px; }
.preview-amount strong { font: 300 27px/1.1 BPProductionSerif, Georgia, serif; overflow-wrap: anywhere; }
@media (max-width: 780px) {
  .order-layout { grid-template-columns: 1fr; gap: 22px; }
  .order-preview { position: static; max-width: 470px; }
  .contact { font-size: 12px; }
}
