@font-face{font-family:"Bebas Neue Cyrillic";src:url(bebas-neue-cyrillic.woff2) format("woff2");font-weight:400;font-display:optional}
:root{color-scheme:light;--paper:#f5ebe2;--ink:#292729;--muted:#535353;--line:#e3d6cf;--brand:#be0b30;--warm:#be0b30;--surface:#fffaf5}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.55 "Inter","Segoe UI",sans-serif}
[hidden]{display:none!important}
a{color:inherit}
button,input,textarea{font:inherit}
p,h1,h2,h3{margin:0}
.wrap{width:min(1140px,calc(100% - 32px));margin-inline:auto}
.site-header{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:64px}
.brand{display:inline-flex;align-items:center;gap:4px;text-decoration:none;font-size:21px;letter-spacing:0;text-transform:uppercase;white-space:nowrap;line-height:1}
.brand img{display:block;object-fit:contain;width:44px;height:44px;margin-right:4px}
.nav-link{min-height:44px;display:flex;align-items:center;gap:7px;text-decoration:none;font-size:13px;font-weight:750;color:var(--brand)}
.nav-link:hover{text-decoration:underline}
.hero{background:var(--warm);border-radius:14px;overflow:hidden;display:grid}
.hero-copy{padding:25px 21px 23px;color:var(--paper);display:grid;gap:12px;justify-items:start;align-content:center}
.eyebrow{color:#f5ebe2;font-size:13px;font-weight:800}
h1{font-size:clamp(43px,12vw,74px);line-height:1.02;letter-spacing:-.025em;text-transform:uppercase;max-width:10ch}
.intro{max-width:370px;color:#f9e7e9}
.button{min-height:48px;display:inline-flex;align-items:center;justify-content:space-between;gap:18px;background:var(--brand);color:#fff;border:0;border-radius:12px;text-decoration:none;padding:11px 16px;font-weight:750;cursor:pointer;width:100%}
.button:hover{background:#940925}
.button:disabled{opacity:.65;cursor:wait}
.hero .button{background:var(--paper);color:#940925}.hero .button:hover{background:white}.eyebrow span{margin-inline:3px}
.hero-figure{margin:0;position:relative;align-self:stretch;min-width:0;overflow:hidden}.hero-figure figcaption{position:absolute;bottom:9px;right:9px;background:var(--paper);border-radius:4px;padding:4px 8px;font-size:11px;color:#3f3835}.hero-image{display:block;width:100%;height:auto;aspect-ratio:1.35;object-fit:cover;object-position:center;background:#e8d9cd}
.builder{scroll-margin-top:16px;margin-top:35px}
h2{font-size:clamp(29px,6.8vw,52px);line-height:1.08;letter-spacing:-.02em;text-transform:uppercase}
.demo{color:var(--muted);font-size:13px;margin-top:7px}
form{margin-top:16px;display:grid;gap:12px;align-items:start}
.preview{border-radius:14px;background:radial-gradient(ellipse at 50% 47%,#fff6ed,#ead8cb);display:grid;justify-items:center;padding:21px 14px 14px;gap:12px}
.preview p{font-size:12px;color:#535353;font-weight:650}
.box-preview{position:relative;width:182px;height:159px;filter:drop-shadow(5px 10px 8px #4930204d)}
.box-side{position:absolute;top:17px;left:131px;width:44px;height:125px;background:linear-gradient(90deg,#60402c,#805539);transform:skewY(-22deg);border-radius:0 4px 6px 0}
.box-side::after{content:"";position:absolute;top:45px;left:10px;width:19px;height:36px;border-radius:9px;background:#392519;box-shadow:4px 0 #9d704f}
.box-base{position:absolute;left:10px;top:16px;width:135px;height:130px;border-radius:5px;background:linear-gradient(135deg,#855638,#563623);box-shadow:inset 1px 2px 2px #ae7d58;display:grid;place-items:center}
.print{width:105px;aspect-ratio:1;padding:6px;background:#392819;border-radius:3px}
.frame-photo{position:relative;aspect-ratio:1;display:grid;place-items:center;overflow:hidden;background:#f5ebe2;color:#535353;font-size:12px}
.frame-photo::after{content:"";position:absolute;left:0;right:0;top:50%;height:2px;background:#392819bf;pointer-events:none}
.frame-photo img,.photo-view img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
#photo-count{color:var(--muted);font-size:13px;font-weight:650}
.photo-grid{list-style:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(83px,1fr));gap:12px;padding:0;margin:0}
.photo-grid li{display:grid;justify-items:center;min-width:0}
.photo-view{width:100%;padding:0;border:1px solid var(--line);border-radius:8px;overflow:hidden;aspect-ratio:1;cursor:pointer}
.photo-remove{margin-top:3px;min-width:44px;min-height:44px;border:0;border-radius:8px;background:transparent;color:var(--brand);font-size:23px;cursor:pointer}
.photo-remove:hover{background:#fae0e6}
.configuration{background:var(--surface);border:1px solid var(--line);border-radius:17px;padding:15px;display:grid;gap:15px;min-width:0}
fieldset{margin:0;padding:0;border:0;min-width:0}
legend,label{font-size:14px;font-weight:750}
legend{padding:0 0 6px}
.options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.option{position:relative;text-align:center}
.option input{position:absolute;opacity:0;width:1px;height:1px}
.option span{display:grid;place-items:center;min-height:68px;align-content:center;background:#fff7f2;border:1px solid var(--line);border-radius:10px;padding:3px;font-size:clamp(11px,3.25vw,14px);cursor:pointer}
.option input:checked+span{background:#fae0e6;border-color:#be0b30;color:#940925}
.option input:focus-visible+span,:focus-visible{outline:2px solid #a5092a;outline-offset:2px}
label:not(.option){display:grid;gap:6px}
input:not([type=radio]),textarea{background:#fff;border:1px solid #ddcfc9;border-radius:10px;padding:10px;color:var(--ink);min-height:46px;width:100%;min-width:0}
.upload{padding:10px;border:1px dashed #bb909b;border-radius:12px;background:#fdf0ef}
.upload input[type=file]{font-size:13px;padding:0;border:0;background:transparent;min-height:40px}
input::file-selector-button{font:inherit;font-weight:750;border:0;border-radius:8px;color:#92102c;background:#f6dfe5;padding:9px;max-width:100%;margin-right:8px;cursor:pointer}
.upload small,.delivery p{font-size:12px;color:var(--muted);font-weight:500}
.delivery{display:grid;gap:10px;border-top:1px solid var(--line);padding-top:14px}
.delivery h3{font-size:20px;line-height:1.2;letter-spacing:-.035em}
.policy{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap;font-size:13px}
.policy input[type=checkbox]{width:auto;min-height:0}
#status{font-size:14px;font-weight:700}
#status:empty{display:none}
footer{border-top:1px solid var(--line);margin-top:35px;padding:17px 0 22px;display:flex;gap:8px;justify-content:space-between;align-items:center;color:var(--muted);font-size:12px}
.card{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:18px}
.admin-order{margin:12px 0}
.admin-order h2{font-size:22px}
@media(min-width:720px){
  .wrap{width:min(1140px,calc(100% - 72px))}
  .site-header{min-height:82px}
  .brand{font-size:30px}
  .nav-link{font-size:15px}
  .hero{grid-template-columns:.9fr 1.1fr;border-radius:16px}
  .hero-copy{padding:clamp(26px,5vw,62px);gap:17px}
  .hero-image{position:absolute;inset:0;height:100%;aspect-ratio:auto}.hero-figure{min-height:460px}
  .button{width:auto}
  .builder{margin-top:56px}
  form{margin-top:24px;grid-template-columns:.85fr 1.15fr;gap:20px}
  .configuration{padding:24px}
  .preview{position:sticky;top:16px;min-height:300px;align-content:center;gap:34px}
  .box-preview{transform:scale(1.2)}
  footer{margin-top:52px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.option strong{font-size:24px;line-height:1.1}
.preview p{text-align:center}
h1,h2,h3,.brand,.option strong{font-family:"Bebas Neue Cyrillic","Arial Narrow",sans-serif;font-weight:400}
h1,h2{letter-spacing:.005em}
h1{max-width:11ch}
select{background:#fff;color:var(--ink);border:1px solid #ddcfc9;border-radius:10px;min-height:46px;width:100%;padding:8px 10px;font:inherit}
.address-entry{position:relative}
.address-results{background:white;border:1px solid var(--line);border-radius:9px;list-style:none;margin:4px 0 0;padding:4px;display:grid;max-height:264px;overflow:auto}
.address-results button{width:100%;text-align:left;background:white;color:var(--ink);border:0;border-radius:7px;padding:8px;min-height:42px;cursor:pointer}
.address-results button:hover,.address-results button:focus-visible{background:#fae0e6}
.delivery small{color:var(--muted);font-size:11px}
.admin h1{font-size:52px}
.admin-filter,.admin-actions{display:flex;align-items:end;flex-wrap:wrap;gap:12px}
.admin-filter{margin:15px 0 22px}
.admin-actions .button,.admin-filter .button{width:auto}
.admin-actions a{align-self:center}
.admin-order header{display:flex;justify-content:space-between;gap:12px}
.admin-order dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:10px}
.admin-order dt{font-size:13px;color:var(--muted)}
.admin-order dd{margin:0;overflow-wrap:anywhere}
.admin-order details{margin-top:14px}
.admin-order summary{cursor:pointer}
.admin-photos{display:flex;gap:12px;flex-wrap:wrap;margin-top:10px}
.admin-empty{margin:20px 0}
.admin .order-number{max-width:none;overflow-wrap:anywhere;font-size:clamp(32px,7vw,52px)}
.order-panels{display:grid;gap:12px;margin:18px 0}
.order-panels .admin-order{margin:0;min-width:0}
.delivery-edit{display:grid;grid-template-columns:1fr;gap:12px}
.delivery-edit .delivery-note{max-width:100%;resize:none;overflow:auto}
.manager-card{max-width:440px;margin:8vh auto}
.manager-card h1{max-width:none}
.manager-inline{display:block;margin:8px 0}
.manager-inline .drive-toggle{display:flex;align-items:flex-start;gap:8px}
.drive-toggle input[type="checkbox"]{width:1.15rem;min-width:1.15rem;height:1.15rem;min-height:0;margin-top:.15rem;accent-color:var(--brand)}
.manager-inline button:not(.button){background:none;border:0;text-decoration:underline;color:var(--brand);cursor:pointer;padding:8px}
.order-history{list-style:none;margin:10px 0 0;padding:0}
.order-history-entry{display:grid;grid-template-columns:6rem minmax(0,1fr);gap:12px;padding:9px 0;align-items:start}
.order-history-entry+.order-history-entry{border-top:1px solid var(--line)}
.order-history-time{display:grid;gap:1px;font-size:.86rem}
.order-history-time span,.order-history-author{color:var(--muted);font-size:.78rem}
.order-history-change{min-width:0;overflow-wrap:anywhere}
@media(min-width:760px){.order-panels{grid-template-columns:1fr 1fr}}


.product-features{display:grid;gap:10px;margin-top:18px}
.product-features h3{font-size:26px;line-height:1.1;color:var(--brand);margin-bottom:8px}
.product-guide,.product-faq{margin-top:clamp(32px,6vw,64px)}
.product-guide ol{padding:0;list-style:none;counter-reset:guide}
.product-guide li{counter-increment:guide}
.product-guide li h3::before{content:counter(guide) ". "}
.product-faq{display:grid;gap:10px}
.product-faq h2{margin-bottom:8px}
.product-faq summary{cursor:pointer;font-weight:750}
.product-faq details p{margin-top:8px;color:var(--muted);max-width:65ch}
.order-links{display:flex;flex-wrap:wrap;gap:10px;width:100%}
.order-links .social-button{background:var(--surface);color:var(--brand);border:1px solid var(--line)}
.order-links a.social-button:hover{background:#fff}
.order-links .social-button:disabled{opacity:1;color:var(--muted);cursor:default}
.product-features p,.order-cta p{color:var(--muted)}
.order-cta{margin-top:28px;padding:22px;background:#fae0e6;border:1px solid var(--line);border-radius:14px;display:grid;gap:12px;justify-items:start}
.order-cta p{max-width:58ch}
@media(min-width:720px){
 .product-features{grid-template-columns:repeat(3,minmax(0,1fr))}
 .order-cta{padding:34px;margin-top:32px}
}
