:root{--paper:#f4f7fb;--white:#fff;--ink:#172b43;--blue:#2967c8;--blue2:#dbe9ff;--mint:#c7e9dd;--muted:#65778b;--line:#dce5ef;--shadow:0 14px 35px rgba(22,54,91,.09)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:15px}button,input,textarea,select{font:inherit}button{cursor:pointer}a{color:inherit}.hidden{display:none!important}.app-shell{max-width:1180px;margin:auto;min-height:100vh;padding-bottom:110px}.topbar{height:74px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(18px,4vw,46px)}.brand{display:flex;align-items:center;gap:11px;font-size:17px;letter-spacing:-.04em}.brand b{font-weight:800}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--ink);color:white;font:bold 22px Georgia,serif;font-style:italic;box-shadow:inset -6px -5px var(--blue)}.icon-button{border:1px solid var(--line);background:white;color:var(--ink);border-radius:50%;width:42px;height:42px;font-size:23px;display:grid;place-items:center}.hero,.admin-hero{position:relative;overflow:hidden;margin:0 clamp(12px,2vw,24px);border-radius:27px;background:#1d3d5b;color:white;padding:clamp(32px,6vw,72px) clamp(25px,6vw,70px);min-height:270px}.hero:before,.admin-hero:before{content:"";position:absolute;width:510px;height:510px;border-radius:50%;right:-130px;top:-270px;background:radial-gradient(circle at 40% 70%,#71add9 0,#3978ae 42%,transparent 70%);opacity:.7}.hero:after{content:"";position:absolute;width:300px;height:300px;right:75px;bottom:-250px;border:1px solid #b9d5e67d;border-radius:50%;box-shadow:0 0 0 50px #ffffff08,0 0 0 100px #ffffff07}.hero>* ,.admin-hero>*{position:relative;z-index:1}.eyebrow{margin:0 0 17px;font-size:10px;font-weight:800;letter-spacing:.2em;color:#b6d9f2}.eyebrow.dark{color:var(--blue);margin-bottom:7px}.hero h1,.admin-hero h1{font-family:"Trebuchet MS",Arial,sans-serif;font-size:clamp(38px,6vw,68px);line-height:1.04;letter-spacing:-.065em;margin:0 0 19px;font-weight:800}.hero h1 em,.admin-hero h1 em{font-family:Georgia,serif;font-weight:400;letter-spacing:-.06em;color:var(--mint)}.hero p:not(.eyebrow),.admin-hero p:not(.eyebrow){max-width:445px;line-height:1.6;margin:0;color:#d6e5f0}.hero-stamp{position:absolute;right:75px;bottom:40px;display:flex;flex-direction:column;gap:5px;border:1px solid #ffffff80;border-radius:14px;padding:12px 15px;transform:rotate(-7deg);background:#234968a1}.hero-stamp span{font-size:10px;text-transform:uppercase;letter-spacing:.15em;color:#d9e9f3}.hero-stamp strong{font-size:20px}.catalog-section{padding:42px clamp(18px,4vw,46px)}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}.section-head h2,.drawer h2,.admin-card h2{font-family:"Trebuchet MS",Arial,sans-serif;font-size:31px;letter-spacing:-.055em;margin:0}.result-count,.section-note{color:var(--muted);font-size:13px}.search-box{height:52px;border:1px solid var(--line);border-radius:15px;background:white;display:flex;align-items:center;gap:10px;padding:0 17px;box-shadow:0 3px 12px #1b477205}.search-box span{font-size:27px;line-height:1;color:var(--blue)}.search-box input{border:0;background:none;outline:0;min-width:0;width:100%;color:var(--ink)}.search-box:focus-within{outline:2px solid var(--blue2);border-color:var(--blue)}.chips{display:flex;gap:8px;overflow:auto;padding:20px 0 25px;scrollbar-width:none}.chips::-webkit-scrollbar{display:none}.chip{white-space:nowrap;border:1px solid var(--line);background:white;color:var(--muted);border-radius:99px;padding:10px 16px;font-weight:650;font-size:12px}.chip.active{background:var(--ink);border-color:var(--ink);color:white}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.product-card{background:white;border:1px solid var(--line);border-radius:19px;padding:17px;display:flex;flex-direction:column;min-height:270px;box-shadow:0 3px 10px #1b477205;transition:transform .18s,box-shadow .18s}.product-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.product-art{height:100px;background:#eef4fb;border-radius:12px;display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.product-art:before{content:"";position:absolute;width:120px;height:120px;border:1px solid #c2d8ef;border-radius:24px;transform:rotate(28deg);left:calc(50% - 60px);top:25px}.product-art span{font-family:Georgia,serif;font-size:42px;font-style:italic;font-weight:700;color:#305b83;z-index:1}.product-card:nth-child(4n+2) .product-art{background:#e6f3ed}.product-card:nth-child(4n+2) .product-art span{color:#3f7963}.product-card:nth-child(4n+3) .product-art{background:#f1eefa}.product-card:nth-child(4n+3) .product-art span{color:#6c62a0}.product-card:nth-child(4n+4) .product-art{background:#f8f0e8}.product-card:nth-child(4n+4) .product-art span{color:#9e704a}.product-category{font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--blue);margin:16px 0 7px}.product-name{font-weight:700;line-height:1.38;font-size:14px;flex:1;margin:0 0 15px;word-break:break-word}.product-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px}.product-price{font-weight:800;font-size:20px;letter-spacing:-.05em}.add-button{border:0;background:var(--blue);color:white;border-radius:11px;padding:10px 14px;font-size:12px;font-weight:800}.add-button:hover,.primary-button:hover{background:#1b51a7}.empty-state{grid-column:1/-1;padding:40px 20px;text-align:center;border:1px dashed var(--line);border-radius:18px;color:var(--muted)}.cart-bar{position:fixed;z-index:10;bottom:max(14px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(calc(100% - 24px),650px);background:var(--ink);color:white;border-radius:19px;padding:12px 12px 12px 20px;box-shadow:0 15px 35px #10294355;display:flex;align-items:center;justify-content:space-between;gap:16px}.cart-bar small{display:block;color:#b9cbdc}.cart-bar strong{font-size:18px}.primary-button{border:0;border-radius:12px;background:var(--blue);color:white;padding:13px 18px;font-weight:800;white-space:nowrap}.primary-button.wide{width:100%}.overlay{position:fixed;inset:0;z-index:20;background:#10263a86}.drawer{position:fixed;z-index:21;right:0;top:0;bottom:0;width:min(100%,460px);padding:26px 25px 36px;background:white;overflow:auto;box-shadow:-20px 0 60px #0e29443d}.drawer-head{display:flex;align-items:start;justify-content:space-between;margin-bottom:20px}.cart-items{border-top:1px solid var(--line)}.cart-item{padding:15px 0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:1fr auto;gap:9px}.cart-item strong{font-size:13px;line-height:1.4}.cart-item small{display:block;margin-top:6px;color:var(--muted)}.qty-controls{display:flex;align-items:center;gap:9px}.qty-controls button{width:27px;height:27px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink)}.drawer-total{display:flex;justify-content:space-between;padding:19px 0 0;font-size:20px}.fine-print{font-size:12px;color:var(--muted);line-height:1.5;margin:12px 0 20px}.drawer form{display:grid;gap:13px}.drawer form label{font-size:12px;font-weight:700;display:grid;gap:7px}.drawer input,.drawer textarea,.percent-control input{width:100%;border:1px solid var(--line);border-radius:10px;background:white;padding:12px;color:var(--ink);outline:0}.drawer input:focus,.drawer textarea:focus,.percent-control input:focus{border-color:var(--blue);box-shadow:0 0 0 3px var(--blue2)}.toast{position:fixed;z-index:40;bottom:25px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:13px 19px;border-radius:11px;box-shadow:var(--shadow);min-width:230px;text-align:center}.text-link{color:var(--blue);font-size:13px;font-weight:700;text-decoration:none}.admin-hero{min-height:240px}.admin-shell{max-width:1120px}.admin-shell main{padding-bottom:40px}.admin-shell .admin-hero{margin-bottom:25px}.admin-shell .admin-hero h1{font-size:clamp(37px,5vw,58px)}#admin-content{padding:0 clamp(18px,4vw,46px)}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:18px}.stat,.admin-card{background:white;border:1px solid var(--line);border-radius:18px;padding:22px}.stat span{display:block;color:var(--muted);font-size:12px;margin-bottom:8px}.stat strong{font-size:28px;letter-spacing:-.05em}.admin-card{margin-bottom:18px}.admin-card p:not(.eyebrow){color:var(--muted);line-height:1.5;font-size:13px}.markup-card{display:flex;justify-content:space-between;align-items:center;gap:20px}.markup-card p{max-width:480px}.markup-card form{display:flex;gap:9px;align-items:center}.percent-control{display:flex;align-items:center;border:1px solid var(--line);border-radius:11px;width:110px}.percent-control input{border:0;min-width:0;text-align:right;font-weight:800;font-size:19px;padding:11px 3px 11px 6px}.percent-control span{padding-right:10px;color:var(--muted)}.admin-products{margin-top:16px;max-height:620px;overflow:auto}.admin-product{display:grid;grid-template-columns:minmax(0,1.8fr) 110px 145px 88px;gap:12px;align-items:center;border-top:1px solid var(--line);padding:13px 0}.admin-product-name{font-size:13px;font-weight:700;line-height:1.3;word-break:break-word}.admin-product-name small{display:block;color:var(--muted);font-weight:400;margin-top:4px}.admin-product-price{font-weight:800;white-space:nowrap}.admin-product-price small{display:block;font-weight:400;color:var(--muted)}.override{display:flex;align-items:center;gap:4px}.override input{width:70px;padding:8px;border:1px solid var(--line);border-radius:8px}.override button,.status-select{padding:8px;border:1px solid var(--line);border-radius:8px;background:white}.toggle{display:flex;gap:6px;align-items:center;font-size:12px;color:var(--muted)}.toggle input{accent-color:var(--blue)}.admin-orders{display:grid;gap:10px}.order-card{padding:16px;border:1px solid var(--line);border-radius:13px}.order-top{display:flex;justify-content:space-between;gap:12px;align-items:center}.order-card small{color:var(--muted)}.order-card p{margin:8px 0}.order-lines{font-size:12px;color:var(--muted);line-height:1.5}.error-panel{margin:20px clamp(18px,4vw,46px);padding:18px;border-radius:12px;background:#fff1ed;color:#983e2a}
@media(max-width:760px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-stamp{right:30px;bottom:25px}.hero p:not(.eyebrow){max-width:60%}.markup-card{align-items:stretch;flex-direction:column}.admin-product{grid-template-columns:1fr 100px;gap:8px}.admin-product-name{grid-column:1/-1}.stats{grid-template-columns:repeat(3,1fr)}}
@media(max-width:510px){.topbar{height:62px}.hero,.admin-hero{border-radius:21px;min-height:282px}.hero:before,.admin-hero:before{right:-300px}.hero h1{font-size:39px}.hero p:not(.eyebrow){max-width:85%;font-size:13px}.hero-stamp{display:none}.catalog-section{padding-top:30px}.product-grid{gap:10px}.product-card{padding:11px;border-radius:14px;min-height:254px}.product-art{height:85px}.product-name{font-size:12px}.product-price{font-size:16px}.add-button{padding:8px 9px}.stats{gap:6px}.stat{padding:12px}.stat strong{font-size:20px}.stat span{font-size:10px}.admin-card{padding:16px}.order-top{align-items:start;flex-direction:column}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}
.show-more{display:block;margin:28px auto 0;border:1px solid var(--line);border-radius:12px;background:white;color:var(--ink);padding:13px 24px;font-weight:800}.show-more:hover{border-color:var(--blue);color:var(--blue)}
.product-source{display:inline-block;align-self:flex-start;color:var(--muted);font-size:11px;margin:-7px 0 12px;text-decoration:underline;text-underline-offset:2px}
.demo-banner{margin:0 clamp(12px,2vw,24px) 12px;padding:12px 16px;border-radius:11px;background:#fff1cd;color:#745414;font-size:12px;line-height:1.45}
.variant-count{color:var(--muted);font-size:12px;margin:-6px 0 15px}.variant-option{border:1px solid var(--line);border-radius:13px;padding:14px;margin:12px 0;display:grid;gap:12px}.variant-option strong{font-size:13px;line-height:1.4}.variant-option small{display:block;color:var(--muted);margin:6px 0}.variant-option .product-source{margin:0}.variant-actions{display:flex;justify-content:space-between;align-items:center;gap:10px}.variant-actions b{white-space:nowrap}.remove-button{display:block;border:0;background:none;color:var(--blue);padding:5px 0;font-size:11px}.drawer h2{margin-bottom:18px}.drawer-head .eyebrow{margin:12px 0 0}.drawer .order-card{margin-top:12px}.drawer .order-card small{display:block;margin-top:5px}.primary-button:disabled{opacity:.5;cursor:not-allowed}
