@import url('/fonts/lato.css');
:root{--red:#a21a16;--ink:#342923;--beige:#ede1d6;--paper:#fbf8f4;--line:#e6dbd1;--muted:#827369}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:15px Lato,Arial,sans-serif}button,input,select{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit;text-decoration:none}button{border:0}button:focus-visible,a:focus-visible{outline:3px solid #cb8c37;outline-offset:4px}.preview{padding:10px 16px;text-align:center;background:var(--beige);font-size:12px;color:#766253}.preview span{font-size:10px;letter-spacing:1.4px;color:var(--red);font-weight:900;margin-right:15px}header{max-width:1280px;margin:auto;padding:26px 44px;display:flex;align-items:center;gap:55px}.brand{display:flex;align-items:center;gap:10px;font-family:Georgia,serif;font-size:27px;font-weight:bold;color:var(--red);letter-spacing:-1.5px}.brand small{display:block;font:9px Lato,Arial,sans-serif;letter-spacing:4px;margin-top:5px}.brand-icon{display:flex;align-items:center;justify-content:center;background:var(--red);color:var(--paper);border-radius:50% 50% 40% 40%;width:42px;height:45px;font-size:34px;position:relative}.brand-icon span{font:18px Arial;position:absolute;top:5px;right:8px}nav{display:flex;gap:26px}.nav{background:none;padding:10px 0;color:var(--muted);font-size:13px;white-space:nowrap}.nav.active{color:var(--red);border-bottom:1px solid var(--red)}.header-actions{margin-left:auto;display:flex;align-items:center;gap:22px}.teacher{background:none;font-size:12px;color:var(--muted);white-space:nowrap}.teacher span{margin-left:9px}.cart-btn,.primary{background:var(--red);color:white;border-radius:8px;padding:14px 20px;font-weight:700}.cart-btn{font-size:13px;white-space:nowrap}.cart-btn span{background:#ffffff26;border-radius:50%;padding:3px 7px;margin-left:8px}main{max-width:1192px;margin:auto;padding:0 0 65px}.hero{background:var(--beige);min-height:340px;border-radius:18px;display:grid;grid-template-columns:1.2fr 1fr;overflow:hidden;position:relative;margin-top:10px}.hero-copy{padding:45px 0 44px 48px;position:relative;z-index:1}.eyebrow{font-size:10px;letter-spacing:2px;text-transform:uppercase;color:var(--red);font-weight:900}.hero h1{font:normal 55px/1.06 Georgia,serif;letter-spacing:-2px;margin:20px 0;color:var(--red)}.hero p{max-width:370px;line-height:1.6;color:#766052;margin:0 0 25px}.hero .primary{display:inline-block;font-size:13px}.hero-art{position:relative;display:flex;align-items:center;justify-content:center;min-height:335px;background:radial-gradient(ellipse at center,#f8efe6 0,transparent 65%)}.hero-art svg{width:100%;max-width:410px;filter:drop-shadow(0 20px 15px #76533314)}.round-note{position:absolute;right:30px;top:27px;background:var(--paper);width:92px;height:92px;border-radius:50%;display:flex;align-items:center;justify-content:center;text-align:center;transform:rotate(12deg);font-size:12px;line-height:1.5;color:var(--red)}.steps-strip{display:grid;grid-template-columns:repeat(3,1fr);margin:25px 0 42px;padding:0 15px}.step{display:flex;gap:13px;align-items:center;padding:14px 20px;border-right:1px solid var(--line)}.step:last-child{border:0}.step-num{display:grid;place-items:center;border:1px solid #d9c9bb;color:var(--red);border-radius:50%;width:30px;height:30px;font:italic 15px Georgia;flex-shrink:0}.step strong{display:block;font-size:12px}.step small{display:block;color:var(--muted);font-size:11px;margin-top:5px}.section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.section-title h2,.page-title{font:normal 33px Georgia,serif;letter-spacing:-.6px;margin:0}.section-title span{color:var(--muted);font-size:12px}.filters{display:flex;justify-content:space-between;gap:15px;margin-bottom:25px;align-items:center}.chips{display:flex;gap:7px;flex-wrap:wrap}.chip{padding:10px 18px;border:1px solid var(--line);background:transparent;border-radius:30px;color:#7b695c;font-size:12px}.chip.selected{background:var(--red);border-color:var(--red);color:white}.search{border:1px solid var(--line);background:transparent;border-radius:7px;padding:11px 15px;max-width:220px;width:100%;font-size:12px;color:var(--ink)}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}.product{min-width:0}.product-art{height:215px;border-radius:12px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#eee7db}.product-art svg{width:180px;height:180px;transition:transform .2s}.product:hover .product-art svg{transform:translateY(-4px) rotate(-3deg)}.product-art img{width:100%;height:100%;object-fit:cover}.tag{position:absolute;left:12px;top:12px;background:#ffffffbf;padding:6px 9px;border-radius:4px;font-size:9px;letter-spacing:.7px;z-index:1}.product-info{padding:15px 2px 0}.product-info .cat{font-size:9px;text-transform:uppercase;letter-spacing:1.2px;color:var(--muted)}.product h3{font-size:15px;font-weight:700;margin:7px 0 8px}.product-desc{font-size:12px;color:var(--muted);min-height:30px;line-height:1.4;margin:0}.product-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:14px}.price{font-size:19px;font-weight:900;color:var(--red)}.price small{font-size:11px;font-weight:400}.add{background:var(--beige);color:var(--red);border-radius:7px;padding:10px 14px;font-size:12px;font-weight:700}.add:hover{background:var(--red);color:white}.stock{margin-top:10px;font-size:10px;color:var(--muted)}.notice{margin-top:35px;background:#f2ece5;border:1px dashed #d9c8b7;padding:17px 22px;border-radius:10px;display:flex;gap:14px;align-items:center;font-size:12px;line-height:1.6;color:#7a6757}.notice strong{color:var(--ink)}footer{max-width:1192px;margin:auto;border-top:1px solid var(--line);padding:30px 0 40px;display:flex;align-items:center;gap:30px;color:var(--muted);font-size:11px}.footer-brand{font-size:19px;letter-spacing:-.5px}.footer-brand small{font-size:8px;letter-spacing:2px}footer>span{margin-left:auto;font-size:10px}.shade{position:fixed;inset:0;background:#21160f66;z-index:20;backdrop-filter:blur(3px)}[hidden]{display:none!important}#cart-panel{position:fixed;right:0;top:0;bottom:0;width:min(490px,100%);background:var(--paper);z-index:21;padding:30px;overflow:auto;box-shadow:-10px 0 50px #0001}.drawer-head{display:flex;align-items:center;justify-content:space-between}.drawer-head h2{font:30px Georgia;margin:0}.close{font-size:24px;background:transparent;color:var(--ink);padding:6px 12px}.sub{font-size:12px;color:var(--muted);line-height:1.6}.cart-item{display:flex;align-items:center;gap:15px;padding:20px 0;border-bottom:1px solid var(--line)}.thumb{width:62px;height:62px;border-radius:9px;display:grid;place-items:center;background:var(--beige);flex-shrink:0;overflow:hidden}.thumb svg{width:58px;height:58px}.thumb img{width:100%;height:100%;object-fit:cover}.cart-item strong{font-size:13px}.cart-item .price{font-size:14px;margin:7px 0}.qty{display:flex;align-items:center;gap:12px;margin-top:7px;font-size:12px}.qty button{background:var(--beige);border-radius:4px;width:25px;height:25px;color:var(--red)}.remove{margin-left:auto;background:none;color:var(--muted);font-size:18px}.total{display:flex;justify-content:space-between;font-weight:700;padding:25px 0;font-size:18px}.total span:last-child{color:var(--red)}label{display:block;font-size:12px;font-weight:700;margin:17px 0 7px}input,select{width:100%;padding:13px 12px;border:1px solid #d9ccc0;border-radius:7px;background:#fffdfa;color:var(--ink)}input:focus,select:focus{outline:2px solid #bb8270;outline-offset:2px}.full{width:100%;margin-top:20px}.check{display:flex;gap:10px;align-items:flex-start;line-height:1.5;font-weight:400;color:var(--muted)}.check input{width:16px;height:16px;margin:2px 0}.empty{text-align:center;padding:65px 10px;color:var(--muted)}.empty b{display:block;font:26px Georgia;color:var(--ink);margin:15px 0}.success{text-align:center;padding-top:40px}.success .seal{margin:0 auto 20px;background:var(--beige);color:var(--red);width:75px;height:75px;border-radius:50%;display:grid;place-items:center;font-size:35px}.success h2{font:35px Georgia}.receipt{background:var(--beige);border-radius:12px;padding:25px;margin:25px 0;text-align:left;font-size:13px;line-height:1.8}.receipt strong{color:var(--red)}.admin-head{display:flex;justify-content:space-between;align-items:center;margin:35px 0 20px}.tabs{display:flex;gap:10px;border-bottom:1px solid var(--line);margin:20px 0}.tabs button{padding:15px;background:none;color:var(--muted)}.tabs button.active{color:var(--red);border-bottom:2px solid var(--red)}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.stat{background:var(--beige);border-radius:10px;padding:25px}.stat strong{display:block;font:30px Georgia;margin-bottom:8px}.stat span{font-size:12px;color:var(--muted)}.admin-table{overflow:auto}.admin-row{display:grid;grid-template-columns:1.7fr .8fr .7fr 1fr;align-items:center;gap:15px;padding:18px 12px;border-bottom:1px solid var(--line);font-size:13px;min-width:600px}.row-title{display:flex;align-items:center;gap:12px}.row-actions{display:flex;gap:7px;justify-content:flex-end}.secondary{background:var(--beige);color:var(--red);padding:10px 14px;border-radius:7px;font-size:12px}.order{border:1px solid var(--line);border-radius:12px;padding:23px;margin:15px 0;background:#fffdfa}.order-top{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.order h3{margin:0 0 8px;font-size:16px}.badge{padding:7px 10px;border-radius:20px;background:var(--beige);font-size:11px;white-space:nowrap}.order-items{font-size:13px;line-height:1.8;margin:15px 0;color:var(--muted)}.order-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px}.page-block{max-width:760px;margin:45px auto}.how-card{display:flex;gap:20px;margin:30px 0;padding:25px;background:var(--beige);border-radius:12px}.how-card h3{margin:0 0 8px}.how-card p{margin:0;line-height:1.7;color:var(--muted)}dialog{border:1px solid var(--line);border-radius:16px;padding:28px;width:min(480px,calc(100% - 30px));background:var(--paper);color:var(--ink);max-height:90vh;overflow:auto}dialog::backdrop{background:#21160f66;backdrop-filter:blur(3px)}dialog h2{font:26px Georgia;margin:0}.form-cols{display:grid;grid-template-columns:1fr 1fr;gap:15px}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);background:var(--ink);color:white;padding:14px 24px;border-radius:10px;font-size:13px;z-index:100;opacity:0;transition:.2s;pointer-events:none;max-width:90%;text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 0;border-bottom:1px solid var(--line)}.toggle-row p{line-height:1.6;color:var(--muted);font-size:13px}.error{color:var(--red);font-size:12px;line-height:1.5}.upload-preview{height:100px;display:flex;justify-content:center;margin-top:15px}.upload-preview img{height:100%;border-radius:7px}
@media(min-width:1500px){header{padding-top:32px;padding-bottom:32px}.hero{min-height:370px}.hero-copy{padding-top:53px}.product-art{height:235px}}
@media(max-width:1250px){main{margin:0 30px}header{padding:22px 30px;gap:35px}footer{margin:0 30px}.hero h1{font-size:48px}.product-art{height:190px}}
@media(max-width:900px){header{gap:22px;flex-wrap:wrap}.header-actions{gap:15px}nav{order:3;width:100%;justify-content:center}.hero-copy{padding:35px}.hero h1{font-size:43px}.hero-art{min-height:280px}.round-note{right:12px;top:15px;width:75px;height:75px;font-size:10px}.grid{grid-template-columns:repeat(3,1fr);gap:20px}.product-art{height:190px}.step{padding:12px;gap:8px}.step small{line-height:1.5}.steps-strip{padding:0}.footer-brand{display:none}footer p{margin:0}}
@media(max-width:620px){.preview{font-size:10px;line-height:1.7;padding:7px 12px}.preview span{margin-right:7px;font-size:9px}header{padding:18px;gap:16px}.brand{font-size:23px}.brand-icon{width:32px;height:36px;font-size:27px}.brand small{font-size:8px}.teacher{font-size:0;padding:6px}.teacher:before{content:'Учитель';font-size:11px}.teacher span{display:none}.header-actions{gap:8px}.cart-btn{padding:11px 12px;font-size:11px}.cart-btn span{margin-left:3px}nav{gap:32px}.nav{font-size:12px}main{margin:0 18px;padding-bottom:35px}.hero{grid-template-columns:1fr}.hero-copy{padding:30px 27px 0}.hero h1{font-size:43px;letter-spacing:-1.7px;margin:16px 0}.hero p{font-size:13px;margin-bottom:18px;max-width:290px}.hero-art{min-height:210px;height:210px;justify-content:flex-end}.hero-art svg{height:245px;width:310px;margin-right:15px}.round-note{left:27px;right:auto;top:55px;width:80px;height:80px}.steps-strip{margin:18px 0 30px;grid-template-columns:1fr;gap:0}.step{border:0;padding:9px 0}.step small{display:inline;margin-left:5px}.step strong{display:inline;font-size:11px}.step-num{width:25px;height:25px;font-size:13px}.section-title h2{font-size:28px}.section-title span{font-size:10px}.filters{flex-direction:column;align-items:stretch;gap:13px}.search{max-width:none}.chip{padding:9px 13px;font-size:11px}.chips{gap:5px}.grid{grid-template-columns:repeat(2,1fr);gap:26px 14px}.product-art{height:170px}.product-art svg{width:145px;height:145px}.product h3{font-size:13px;line-height:1.4}.product-desc{font-size:11px;min-height:32px}.product-bottom{align-items:flex-start;gap:5px;flex-direction:column}.add{width:100%;margin-top:5px}.price{font-size:18px}.tag{font-size:8px;left:8px;top:8px}.notice{padding:15px;font-size:11px;margin-top:25px}footer{margin:0 18px;padding:25px 0;display:block;line-height:1.8}footer>span{display:block;margin-top:5px}.admin-head{gap:15px}.page-title{font-size:28px}.stats{gap:8px}.stat{padding:16px 10px}.stat strong{font-size:26px}.stat span{font-size:10px}.tabs{gap:0}.tabs button{padding:13px 12px;font-size:12px}.order{padding:18px}.order-top{flex-direction:column}.order-bottom{align-items:flex-start;flex-direction:column}.row-actions{justify-content:flex-start}.page-block{margin:25px auto}.how-card{padding:20px;gap:15px}.how-card h3{font-size:16px}.how-card p{font-size:13px}.toggle-row{align-items:flex-start}.toggle-row .secondary{flex-shrink:0}.form-cols{gap:10px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.login-card{max-width:460px;margin:45px auto 70px;padding:36px;background:var(--beige);border-radius:18px}.login-card h1{font:36px/1.1 Georgia;color:var(--red);margin:15px 0}.login-card p{color:#776353;line-height:1.6;font-size:13px}.login-symbol{font-size:44px;color:var(--red);margin:20px 0 5px}.access-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.access-form{padding:26px;border:1px solid var(--line);border-radius:12px;background:#fffdfa}.access-form h3{font:25px Georgia}.access-intro h2{font:29px Georgia}.access-intro{margin:25px 0}.header-actions .teacher{max-width:150px;white-space:normal;text-align:center}@media(max-width:620px){.access-grid{grid-template-columns:1fr}.login-card{padding:25px;margin:20px 0}.login-card h1{font-size:32px}.header-actions #session-exit{font-size:10px;max-width:100px}.header-actions #session-exit:before{content:none}.admin-head>div:last-child{display:flex;flex-direction:column;gap:6px}.toggle-row{flex-wrap:wrap}}
.notification-row{padding:16px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:15px;flex-wrap:wrap}.notification-row .error{width:100%;margin:0}.access-form a:not(.primary){color:var(--red);text-decoration:underline}.access-form .notice{margin-top:18px}

[hidden]{display:none!important}.owner-recovery{margin:24px 0;text-align:left;font-size:14px}.owner-recovery summary{cursor:pointer;color:#725e50}.owner-recovery a{color:#A21A16}

.product-art{aspect-ratio:1 / 1;height:auto;min-height:0}.product-art img{width:100%;height:100%;object-fit:contain}.product-info{display:flex;flex-direction:column;flex:1}.product{display:flex;flex-direction:column}.product-bottom{margin-top:auto;gap:8px;flex-wrap:wrap}.price{white-space:nowrap}.tag{z-index:1}
