:root{--red: #c10016;--red-dark: #96000f;--ink: #1d1d1f;--muted: #6b6b70;--line: #e3e3e6;--bg: #f6f6f7;--card: #ffffff;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}body{margin:0;background:var(--bg)}a{color:var(--red)}h1{font-size:1.6rem;margin:0 0 .75rem}h2{font-size:1.05rem;margin:.5rem 0}.topbar{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;padding:.75rem 1rem;background:#fff;border-bottom:3px solid var(--red)}.brand{display:flex;align-items:center;gap:.5rem;text-decoration:none;color:var(--ink)}.brand-logo{width:44px;height:44px;display:block}.brand-sub{font-size:.9rem;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.quote-link{display:flex;align-items:center;gap:.4rem;text-decoration:none;font-weight:600;color:var(--ink)}.badge{background:var(--red);color:#fff;border-radius:999px;padding:.05rem .5rem;font-size:.8rem}.page{max-width:1200px;margin:0 auto;padding:1.5rem 1rem 3rem}.page.narrow{max-width:640px}.page.wide{max-width:1400px}.intro p{max-width:720px;color:var(--muted);line-height:1.5}.filters{display:flex;flex-direction:column;gap:.75rem;margin:1rem 0 1.25rem}.filters input[type=search]{max-width:420px}.chips{display:flex;flex-wrap:wrap;gap:.5rem}.chips.sub{margin-top:.5rem;font-size:.9em}.chip{border:1px solid var(--line);background:#fff;border-radius:999px;padding:.35rem .8rem;font:inherit;font-size:.9rem;cursor:pointer}.chip.active{background:var(--ink);color:#fff;border-color:var(--ink)}input,select,textarea{font:inherit;padding:.5rem .6rem;border:1px solid #c9c9ce;border-radius:6px;background:#fff;width:100%}label{display:flex;flex-direction:column;gap:.3rem;font-size:.9rem;font-weight:600}.grid{list-style:none;padding:0;margin:0;display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}.card{background:var(--card);border:1px solid var(--line);border-radius:10px;padding:.75rem;display:flex;flex-direction:column;gap:.4rem}.card-link{text-decoration:none;color:var(--ink)}.card h2{font-size:1rem;min-height:2.6em}.card .btn{margin-top:auto}.meta{color:var(--muted);font-size:.85rem;margin:0;font-weight:400}.product-img{width:100%;aspect-ratio:4 / 3;object-fit:contain;background:#fff;border-radius:6px;display:block}.product-img.placeholder{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#2a2a2e,#4a0a12);color:#fff;font-weight:700;letter-spacing:.05em;text-transform:uppercase}.product-img.thumb{width:64px;aspect-ratio:1;font-size:.55rem}.btn{display:inline-block;text-align:center;text-decoration:none;border:0;border-radius:6px;padding:.6rem 1rem;background:var(--red);color:#fff;font:inherit;font-weight:600;cursor:pointer}.btn:hover{background:var(--red-dark)}.btn:disabled{background:#b9b9be;cursor:not-allowed}.btn.secondary{background:#fff;color:var(--ink);border:1px solid #c9c9ce}.link{background:none;border:0;padding:0;color:var(--red);font:inherit;cursor:pointer;text-decoration:underline}.crumbs{font-size:.9rem;color:var(--muted)}.product-layout{display:grid;gap:2rem;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}.thumbs{display:grid;grid-template-columns:repeat(auto-fill,minmax(72px,1fr));gap:.5rem;margin-top:.5rem}.facts{padding-left:1.1rem;color:var(--muted)}.add-box{background:#fff;border:1px solid var(--line);border-radius:10px;padding:1rem;display:grid;gap:.75rem;max-width:360px;margin:1rem 0 1.5rem}.description{white-space:pre-line;line-height:1.55}.hint{font-size:.9rem;margin:0}.hint.ok{color:#1b7a3a}.error{color:var(--red)}.lines{list-style:none;padding:0;margin:0 0 2rem;background:#fff;border:1px solid var(--line);border-radius:10px}.line{display:grid;grid-template-columns:64px 1fr 100px auto;gap:1rem;align-items:center;padding:.75rem;border-bottom:1px solid var(--line)}.line:last-child{border-bottom:0}.quote-form{background:#fff;border:1px solid var(--line);border-radius:10px;padding:1.25rem;display:grid;gap:1rem;max-width:820px}.form-grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}.quote-form .btn{justify-self:start}.admin-head{display:flex;flex-wrap:wrap;align-items:center;gap:1rem;justify-content:space-between;margin-bottom:1rem}.admin-head h1{margin:0}.admin-table{width:100%;border-collapse:collapse;background:#fff;font-size:.9rem}.admin-table th,.admin-table td{border-bottom:1px solid var(--line);padding:.5rem;text-align:left;vertical-align:top}.admin-table input[type=number]{width:120px}.admin-table input.cur{width:70px}.admin-table tr.muted td{color:var(--muted)}.admin-table tr.detail td{background:#fafafa}.footer{display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;justify-content:center;padding:1.5rem 1rem;color:var(--muted);font-size:.85rem;border-top:1px solid var(--line);background:#fff}@media(max-width:760px){.product-layout{grid-template-columns:1fr;gap:1rem}.brand-sub{display:none}.line{grid-template-columns:48px 1fr}.line input{grid-column:2;max-width:120px}.line .link{grid-column:2;justify-self:start}.admin-table{display:block;overflow-x:auto}}.gallery-main{position:relative}.zoom{display:block;width:100%;padding:0;border:0;background:none;cursor:zoom-in}.thumb{padding:0;border:2px solid transparent;border-radius:8px;background:none;cursor:pointer}.thumb.active{border-color:var(--red)}.nav{position:absolute;top:50%;transform:translateY(-50%);width:2.5rem;height:2.5rem;border:0;border-radius:50%;background:#00000073;color:#fff;font-size:1.8rem;line-height:1;cursor:pointer}.nav:hover{background:#000000b3}.nav.prev{left:.5rem}.nav.next{right:.5rem}.lightbox{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;background:#000000e6;display:flex;align-items:center;justify-content:center}.lightbox img{width:min(calc(100vw - 7rem),1600px);height:calc(100vh - 4rem);object-fit:contain;background:#fff;border-radius:6px}.lightbox .nav{width:3rem;height:3rem;font-size:2.2rem;background:#ffffff26}.lightbox .nav.prev{left:1rem}.lightbox .nav.next{right:1rem}.lightbox .close{position:absolute;top:.75rem;right:1rem;border:0;background:none;color:#fff;font-size:2.5rem;line-height:1;cursor:pointer}.lightbox .counter{position:absolute;bottom:1rem;color:#ddd;font-size:.9rem}@media(max-width:640px){.lightbox img{width:100vw}.lightbox .nav{bottom:3rem;top:auto;transform:none}}
