@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap";:root{--paper:#f7f2e8;--surface:#fffdf8;--ink:#172019;--muted:#667066;--line:#cfc8ba;--red:#d92719;--red-dark:#a81910;--green:#247345;--yellow:#edb949;--shadow:4px 4px 0 rgba(23,32,25,.12);font-family:DM Sans,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(circle at 8% 18%,rgba(237,185,73,.13),transparent 24rem),var(--paper)}button,input,textarea{font:600 14px/1.2 DM Sans,sans-serif;color:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--yellow);outline-offset:2px}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.app-shell{min-height:100vh}header{height:74px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 4vw;border-bottom:1px solid var(--line);background:#fffdf8f0;position:sticky;top:0;z-index:20;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.brand{border:0;background:none;padding:0;justify-self:start;color:var(--red);font:700 30px/1 Fraunces,serif;letter-spacing:-1px}nav{display:flex;align-self:stretch;gap:30px}nav button{border:0;background:none;position:relative;padding:0 4px;color:#3d463e}nav button.active:after{content:"";height:3px;background:var(--red);position:absolute;left:0;right:0;bottom:0}.account{justify-self:end;display:flex;align-items:center;gap:18px}.account span{display:flex;flex-direction:column;align-items:flex-end;font-size:12px;color:var(--muted);max-width:220px;overflow:hidden}.account strong{text-transform:capitalize;color:var(--ink)}.account button:not(.primary){border:0;background:none;text-decoration:underline}.primary{border:1px solid var(--red-dark);background:var(--red);color:#fff;padding:12px 18px;border-radius:4px;box-shadow:2px 2px 0 var(--red-dark);display:inline-flex;justify-content:center;align-items:center;gap:8px}.primary:hover{background:var(--red-dark);transform:translate(1px,1px);box-shadow:1px 1px 0 var(--red-dark)}.primary.small{padding:9px 15px}.primary.wide{width:100%;font-size:15px}.primary:disabled{opacity:.65;cursor:wait}.market-layout{display:grid;grid-template-columns:minmax(0,1fr) 390px;min-height:calc(100vh - 74px)}.market-layout.no-cart{grid-template-columns:1fr}.catalog{padding:58px max(4vw,36px) 70px;min-width:0}.intro{display:grid;grid-template-columns:minmax(310px,.8fr) minmax(300px,1fr);align-items:center;gap:48px;margin:0 auto 34px;max-width:1180px}h1,h2,h3{font-family:Fraunces,serif;letter-spacing:-.025em}h1{font-size:clamp(48px,5vw,78px);line-height:.94;margin:0}.search{height:58px;border:1px solid #aaa395;background:var(--surface);border-radius:8px;display:flex;align-items:center;gap:12px;padding:0 18px;box-shadow:var(--shadow)}.search input{width:100%;border:0;outline:0;background:none;font-size:16px;font-weight:500}.filters{display:flex;flex-wrap:wrap;gap:10px;max-width:1180px;margin:0 auto 22px}.filters button,.tabs button{border:1px solid var(--line);padding:9px 15px;background:var(--surface);border-radius:4px}.filters button.active,.tabs button.active{background:var(--red);color:#fff;border-color:var(--red)}.product-grid{max-width:1180px;margin:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.product-card{border:1px solid var(--line);background:var(--surface);border-radius:5px;overflow:hidden;transition:transform .18s ease,box-shadow .18s ease}.product-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.product-photo{border:0;border-bottom:1px solid var(--line);padding:0;width:100%;height:210px;background:#e8dfcf;overflow:hidden;display:block}.product-photo img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}.product-card:hover img{transform:scale(1.025)}.product-info{padding:15px}.product-name{border:0;background:none;padding:0;font:700 17px/1.2 Fraunces,serif;text-align:left}.product-info small,.cart-line small,.order-head small{display:block;color:var(--muted);margin-top:4px}.price-row{display:flex;align-items:end;justify-content:space-between;margin-top:15px}.price-row strong{color:var(--red);font-size:17px}.price-row span{display:block;color:var(--green);font-size:12px;margin-top:5px}.icon-button{width:38px;height:38px;border:1px solid var(--line);background:var(--surface);border-radius:4px;display:inline-flex;align-items:center;justify-content:center;padding:0}.icon-button:hover{background:#efe8da}.icon-button.danger{color:var(--red)}.cart{position:sticky;top:74px;height:calc(100vh - 74px);border-left:1px solid var(--line);background:#fffdf8d1;padding:28px 26px;overflow:auto}.cart-title{display:flex;justify-content:space-between;align-items:baseline;border-bottom:1px solid var(--line);padding-bottom:18px}.cart-title h2{font-size:28px;margin:0}.cart-title span{color:var(--muted);font-size:13px}.cart-lines{padding:10px 0}.cart-line{display:grid;grid-template-columns:62px 1fr auto;gap:12px;padding:14px 0;border-bottom:1px solid #ddd6ca;align-items:start}.cart-line img{width:62px;height:62px;object-fit:cover;border-radius:3px}.cart-line strong{font-size:13px}.stepper{display:flex;width:max-content;border:1px solid var(--line);border-radius:3px;margin-top:9px}.stepper button{width:28px;height:28px;padding:0;border:0;background:transparent;display:grid;place-items:center}.stepper button:disabled{opacity:.3}.stepper svg{width:14px}.stepper span{min-width:28px;display:grid;place-items:center;border-left:1px solid var(--line);border-right:1px solid var(--line);font-size:12px}.line-end{display:flex;flex-direction:column;align-items:end;gap:12px}.line-end .icon-button{width:28px;height:28px;border:0}.line-end svg{width:16px}.total{display:flex;justify-content:space-between;align-items:center;font-size:18px;padding:22px 0}.total strong{color:var(--red);font:700 27px Fraunces,serif}.empty{text-align:center;padding:80px 24px;border:1px dashed var(--line);background:#fffdf88c}.empty.compact{border:0;padding:90px 20px;background:none}.empty h2,.empty h3{margin:8px 0}.empty p{color:var(--muted)}.basket-mark{width:60px;height:60px;margin:auto;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;color:var(--red)}.workspace{padding:64px max(4vw,40px) 90px;max-width:1400px;margin:auto}.workspace-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:34px}.workspace-head h1{font-size:56px;margin:0}.workspace-head p{color:var(--muted);margin:8px 0 0}.inventory-table{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow)}.inventory-row{display:grid;grid-template-columns:2fr 1fr .7fr .5fr .7fr 150px;gap:18px;align-items:center;min-height:76px;padding:10px 18px;border-bottom:1px solid #ddd6ca}.inventory-row:last-child{border:0}.inventory-labels{min-height:44px;background:#eee7da;color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font-size:11px}.inventory-product{display:flex;align-items:center;gap:12px;min-width:0}.inventory-product img{width:50px;height:50px;object-fit:cover;border-radius:3px}.inventory-product strong{overflow:hidden;text-overflow:ellipsis}.status{color:var(--green)}.status:before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:currentColor;margin-right:7px}.status.archived{color:#8a681d}.actions{display:flex;gap:8px}.orders{max-width:900px}.order-list{display:grid;gap:16px}.order{border:1px solid var(--line);background:var(--surface);box-shadow:3px 3px #17201914;padding:20px}.order-head{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:8px}.order-head>strong{color:var(--red);font-size:20px}.order-line{display:flex;justify-content:space-between;padding:9px 0}.modal-backdrop{position:fixed;inset:0;z-index:50;display:grid;place-items:center;padding:20px;background:#17201994;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);animation:fade .15s ease-out}.modal{width:min(600px,100%);max-height:90vh;overflow:auto;border:1px solid var(--ink);background:var(--surface);box-shadow:8px 8px #17201940;padding:24px;animation:rise .2s ease-out}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.modal-head h2{margin:0;font-size:30px}.tabs{display:flex;gap:8px;margin-bottom:18px}.stack{display:grid;gap:15px}.stack label,.stack legend{font-size:13px;font-weight:700}input,textarea{width:100%;border:1px solid #aaa395;background:#fffefb;border-radius:4px;padding:12px;margin-top:7px;font-weight:500}textarea{resize:vertical}fieldset{border:1px solid var(--line);padding:14px;display:grid;grid-template-columns:1fr 1fr;gap:10px}legend{padding:0 6px}label.role{border:1px solid var(--line);padding:12px;cursor:pointer}label.role input{width:auto;margin:0 8px 0 0}label.role small{display:block;color:var(--muted);margin:5px 0 0 24px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.notice,.toast{padding:12px 14px;border:1px solid #9abca5;background:#edf6ed;color:#185d35;margin:0}.notice.error,.toast.error{border-color:#e3aaa4;background:#fff0ed;color:#a81910}.toast{position:fixed;right:24px;top:92px;z-index:45;box-shadow:var(--shadow);animation:rise .2s ease-out}.detail{display:grid;grid-template-columns:1fr 1fr;gap:22px}.detail>img{width:100%;height:310px;object-fit:cover}.detail p{color:#49524a;line-height:1.55;margin-top:0}.detail dl div{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:10px 0}.detail dt{color:var(--muted)}.detail dd{font-weight:700;margin:0}footer{border-top:1px solid var(--line);min-height:90px;display:flex;justify-content:space-between;align-items:center;padding:0 4vw;color:var(--muted);background:var(--surface)}footer span:first-child{font:700 22px Fraunces,serif;color:var(--red)}@keyframes fade{0%{opacity:0}}@keyframes rise{0%{opacity:0;transform:translateY(10px)}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}@media(max-width:1000px){.market-layout{grid-template-columns:1fr 330px}.intro{grid-template-columns:1fr;gap:28px}.product-grid{grid-template-columns:repeat(2,1fr)}.inventory-row{grid-template-columns:1.8fr 1fr .7fr .5fr 130px}.inventory-row>:nth-child(5){display:none}}@media(max-width:760px){header{height:auto;min-height:66px;grid-template-columns:1fr auto;padding:12px 18px}.brand{font-size:25px}nav{grid-column:1/-1;grid-row:2;justify-content:space-around;order:3;height:42px;margin-top:8px;border-top:1px solid var(--line);gap:0}nav button{flex:1}.account span{display:none}.market-layout{display:block}.catalog{padding:36px 18px}.intro{display:block;margin-bottom:25px}.intro h1{font-size:50px;margin-bottom:28px}.search{height:52px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-photo{height:150px}.product-info{padding:11px}.product-name{font-size:15px}.cart{position:relative;top:0;height:auto;border-left:0;border-top:1px solid var(--line);padding:25px 18px 45px}.workspace{padding:38px 16px 70px}.workspace-head{align-items:start;gap:20px}.workspace-head h1{font-size:42px}.workspace-head p{display:none}.inventory-table{border:0;box-shadow:none;background:none}.inventory-labels{display:none}.inventory-row{grid-template-columns:1fr auto;gap:10px;background:var(--surface);border:1px solid var(--line)!important;margin-bottom:10px;padding:14px}.inventory-row>span{display:none}.inventory-product{grid-column:1/-1}.actions{grid-column:2;grid-row:2}.inventory-row>strong{grid-column:1;grid-row:2}.detail{grid-template-columns:1fr}.detail>img{height:230px}.form-row{grid-template-columns:1fr}.modal{padding:18px}}@media(max-width:420px){.product-grid{grid-template-columns:1fr}.product-photo{height:210px}.workspace-head{display:grid}.toast{left:16px;right:16px}.account{gap:5px}}
