:root{color:#262626;background:#fff;font-family:Arial,system-ui,sans-serif;--accent:#ed6238}html{scroll-behavior:smooth}header{position:sticky;top:0;z-index:10;background:#fff;max-width:none;padding:20px max(24px,calc((100vw - 1240px)/2));border-bottom:1px solid #eee;min-height:82px}.brand{font-size:20px;max-width:290px}.brand:before{content:none;display:none}.header-menu{font-weight:700}.cart-link{background:var(--accent);color:#fff;border:0;border-radius:7px;padding:14px 20px;white-space:nowrap}main{max-width:1320px}.hero{margin:28px 0 32px;padding:36px 40px;background:#fff1e8;border-radius:16px;overflow:hidden;min-height:290px}.hero h1{font-family:Arial,sans-serif;font-weight:800;font-size:clamp(32px,4vw,52px);max-width:650px;position:relative;z-index:1}.eyebrow{color:var(--accent)}.hero:after{content:'ПИРОГИ';position:absolute;right:-20px;top:25px;transform:rotate(-12deg);font-size:clamp(65px,10vw,140px);font-weight:900;color:#f4ccb4;writing-mode:vertical-rl;letter-spacing:8px}.hero .point-field{position:relative;z-index:1;margin-top:20px;max-width:420px}.hero>p:not(.eyebrow){color:#7b6257}.point-field label{color:#60534d}input,select,textarea{color:#262626;border-color:#e5e5e5;border-radius:6px}h2{font-family:Arial,sans-serif;font-weight:750;font-size:30px}.shop-layout{display:block}.menu-heading{margin-bottom:12px}.menu-heading h2{margin-bottom:12px}.menu-heading input{background:#f7f7f7;border:0}#categories{position:sticky;top:82px;z-index:5;background:#fff;padding:15px 0;flex-wrap:nowrap;overflow-x:auto;border-bottom:1px solid #eee;margin-bottom:28px}#categories button{white-space:nowrap;background:#f6f6f6;border:0;border-radius:6px;padding:13px 18px;font-weight:600}#categories button.active{background:var(--accent);border-color:var(--accent)}.products{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.product{border:1px solid #eee;border-radius:10px;transition:box-shadow .2s,transform .2s}.product:hover{box-shadow:0 8px 26px #0000000b;transform:translateY(-2px)}.product img{object-fit:contain;background:#fafafa;height:195px;cursor:pointer}.product .placeholder{height:195px;background:#fff9f0}.product-body{padding:19px}.product h3{font-size:17px;line-height:1.35;cursor:pointer}.product h3:hover{color:var(--accent)}.product p{color:#999;min-height:22px}.product-bottom{gap:8px}.product-bottom strong{white-space:nowrap;font-size:18px}.product button,.primary{background:var(--accent);border-radius:6px;font-size:14px;padding:12px 15px}.product button:hover,.primary:hover{background:#d64d25}.pie-art{position:relative;display:grid;place-items:center;overflow:hidden;min-height:195px;background:#fff9f0}.pie-art:before{content:'';width:128px;height:128px;border-radius:50%;border:9px ridge #dda04c;background:repeating-linear-gradient(45deg,transparent 0 15px,#eab76c 16px 24px,transparent 25px 38px),repeating-linear-gradient(-45deg,#bd6c29 0 15px,#f1c685 16px 24px,#bd6c29 25px 38px);box-shadow:0 14px 18px #834d2520;transform:rotate(-12deg)}.pie-art:after{content:'Пироги из нашей пекарни';position:absolute;bottom:9px;font-size:10px;letter-spacing:1px;color:#a98261}.order-page main{max-width:1000px;padding-top:30px}#basket{padding:32px;border:0;border-radius:0;max-width:none;margin:0}#cart .line{padding:22px 0}#cart strong{font-size:17px}.qty{gap:16px}.qty button{width:36px;height:36px;border:0;background:#f5f5f5}.back-menu{display:inline-block;color:#777;margin-bottom:30px;font-size:14px}.order-steps{display:flex;gap:22px;font-size:14px;color:#777;margin:0 0 28px}.order-steps a:hover{color:var(--accent)}.checkout-next{display:block;text-align:center;max-width:320px;margin-left:auto}.total{font-size:24px;margin-top:20px}.order-page #checkout{max-width:650px;margin:25px auto}#checkout label{font-size:14px}#checkout input,#checkout select{padding:15px}#checkout .primary{padding:17px}.product-dialog{border:0;border-radius:16px;max-width:800px;width:calc(100% - 32px);padding:0;overflow:auto;max-height:90vh;box-shadow:0 20px 70px #0003}.product-dialog::backdrop{background:#0007}.dialog-close{position:absolute;right:15px;top:12px;z-index:2;border:0;border-radius:50%;width:38px;height:38px;background:white;color:#222;font-size:27px}.product-dialog[open]{display:grid;grid-template-columns:1fr 1fr}#detailImage{background:#fff9f0;display:grid;place-items:center;min-height:330px}#detailImage img{width:100%;max-height:400px;object-fit:contain}#detailImage .pie-art{width:100%;min-height:300px}#detailImage .pie-art:before{width:190px;height:190px}.detail-body{padding:45px 30px 30px;display:flex;flex-direction:column}.detail-body h2{font-size:27px;line-height:1.25}.detail-body>p{line-height:1.65;color:#888}.detail-bottom{margin-top:auto}.detail-bottom strong{font-size:25px}.added-notice:empty{display:none}.added-notice{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:30;background:#292929;color:#fff;border-radius:9px;padding:15px 25px;box-shadow:0 4px 20px #0002}.status-card a{background:var(--accent)}footer{margin-top:40px;color:#888;padding-top:35px;padding-bottom:35px;background:#fafafa;max-width:none}button:focus-visible,a:focus-visible,[role=button]:focus-visible{outline:3px solid #ed6238;outline-offset:3px}
@media(max-width:1050px){.products{grid-template-columns:repeat(3,minmax(0,1fr))}.product-bottom{flex-wrap:wrap}}@media(max-width:700px){header{gap:12px;padding:14px 16px;min-height:72px}.brand{font-size:14px;max-width:190px}.brand:before{width:32px;height:32px;font-size:20px}.header-menu{display:none}.cart-link{padding:11px;font-size:12px}main{padding:0 16px}.hero{padding:25px 22px;margin-top:18px}.hero h1{font-size:34px}.hero:after{opacity:.45}.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-body{padding:12px}.product h3{font-size:15px}.product img,.product .placeholder{height:155px;min-height:155px}.pie-art:before{width:100px;height:100px}.pie-art:after{font-size:8px}.product-bottom{align-items:stretch;flex-direction:column}.product-bottom strong{font-size:17px}#categories{top:72px;margin-bottom:18px}#basket{padding:12px 0}.order-page main{padding-top:20px}.product-dialog[open]{grid-template-columns:1fr}#detailImage{min-height:190px}#detailImage img{max-height:240px}#detailImage .pie-art{min-height:220px}#detailImage .pie-art:before{width:135px;height:135px}.detail-body{padding:24px}.detail-body h2{font-size:24px}.checkout-next{max-width:none}.order-steps{gap:12px}.added-notice{width:max-content;max-width:90%}#cart strong{font-size:15px}}
