:root{font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#0f172a;background:#f8fafc;line-height:1.5}*{box-sizing:border-box}body{margin:0}a{color:#1d4ed8}.layout{min-height:100vh;display:flex;flex-direction:column}.header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.5rem;background:#0f172a;color:#f8fafc}.logo{color:inherit;text-decoration:none;font-weight:700;letter-spacing:.02em}.nav a{color:#e2e8f0;text-decoration:none;margin-left:1rem}.nav a.active{color:#fff;font-weight:600}.main{flex:1;width:min(1100px,100% - 2rem);margin:0 auto 1.5rem}.hero{margin:2rem 0 1rem}.hero h1{margin:0 0 .5rem;font-size:clamp(1.5rem,2.4vw,2rem)}.lead{color:#334155;max-width:80ch}.panel{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:1.25rem 1.5rem;margin-bottom:1.5rem;box-shadow:0 8px 24px #0f172a0a}.panel.narrow{max-width:480px;margin:2rem auto}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1rem}.card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 8px 24px #0f172a0a}.card h3{font-size:1rem;margin:.75rem 1rem .25rem}.card-img{aspect-ratio:4/3;background:#e2e8f0}.card-img img{width:100%;height:100%;object-fit:cover;display:block}.specs{list-style:none;margin:0;padding:0 1rem;font-size:.9rem;color:#475569;flex:1}.specs li{display:flex;justify-content:space-between;gap:.5rem;padding:.25rem 0;border-bottom:1px dashed #e2e8f0}.specs .k{color:#64748b}.card-footer{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1rem 1rem;margin-top:auto}.price{font-weight:700;font-size:1.1rem}.btn{border-radius:10px;border:1px solid #cbd5e1;padding:.45rem .9rem;font:inherit;cursor:pointer;background:#fff}.btn.primary{background:#1d4ed8;border-color:#1d4ed8;color:#fff}.btn.ghost{background:transparent}.site-footer{margin-top:auto;width:100%;background:#475569;color:#f8fafc;padding:1rem 1rem 1.25rem;font-size:.875rem;line-height:1.45}.site-footer a{color:#e2e8f0}.site-footer-inner{width:min(1100px,100% - 2rem);margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:.75rem 1.25rem}.site-footer p{margin:.15rem 0}.footer-heading{margin:0 0 .35rem;font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#cbd5e1}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.cart-page h1{margin:1rem 0 .75rem;font-size:1.5rem}.cart-empty{display:flex;flex-direction:column;align-items:flex-start;gap:1rem}.cart-page-list{list-style:none;margin:0;padding:0}.cart-page-row{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1rem 0;border-bottom:1px solid #e2e8f0}.cart-page-product{display:flex;gap:.75rem;min-width:0;flex:1}.cart-thumb{width:72px;height:54px;object-fit:cover;border-radius:8px;background:#e2e8f0;flex-shrink:0}.cart-thumb-placeholder{display:block}.cart-page-name{font-weight:600;font-size:.95rem}.cart-page-unit{font-size:.85rem;margin-top:.2rem}.cart-page-controls{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .75rem}.cart-qty-label{display:inline-flex;align-items:center}.cart-qty-input{width:4rem;padding:.35rem .45rem;border-radius:8px;border:1px solid #cbd5e1;font:inherit}.cart-line-sum{font-weight:600;min-width:5rem;text-align:right}.cart-remove{color:#64748b}.cart-page-summary{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;margin-top:1.25rem;padding-top:.5rem}.cart-sync-note{margin-top:1rem;font-size:.85rem}.drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;display:flex;justify-content:flex-end;z-index:40}.drawer{width:min(420px,100%);background:#fff;padding:1rem 1.25rem;height:100%;overflow:auto;box-shadow:-8px 0 24px #0f172a1f}.drawer-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}.cart-lines{list-style:none;padding:0;margin:0}.cart-lines li{display:flex;justify-content:space-between;gap:.75rem;padding:.5rem 0;border-bottom:1px solid #e2e8f0;font-size:.95rem}.error{color:#b91c1c}.muted{color:#64748b;font-size:.9rem}.info{color:#14532d}.form label{display:flex;flex-direction:column;gap:.35rem;margin-bottom:.75rem;font-size:.95rem}.form input{padding:.5rem .65rem;border-radius:8px;border:1px solid #cbd5e1;font:inherit}.form textarea{padding:.5rem .65rem;border-radius:8px;border:1px solid #cbd5e1;font:inherit;resize:vertical;min-height:4.5rem}.row{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.75rem}.token-box{margin-top:1rem;word-break:break-all}.card-desc{margin:.35rem 0 .75rem;font-size:.9rem;color:#475569}.admin-emin .admin-specs-block{margin:.75rem 0 1rem;padding:.75rem;border:1px dashed #cbd5e1;border-radius:8px;background:#f8fafc}.admin-specs-head{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.5rem;font-size:.9rem;color:#475569}.admin-spec-row{display:grid;grid-template-columns:1fr 1fr auto;gap:.35rem;margin-bottom:.35rem;align-items:center}.admin-product-list{list-style:none;padding:0;margin:0}.admin-product-li{display:flex;align-items:center;gap:.75rem;padding:.5rem 0;border-bottom:1px solid #e2e8f0}.admin-product-thumb{width:56px;height:56px;object-fit:contain;border-radius:8px;background:#f1f5f9}.admin-emin-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.5rem}.admin-emin-head h1{margin:0}.login-emin-links{margin-top:.5rem}.login-emin-links a{color:#0f766e}.cart-checkout-form{margin-top:1.25rem;max-width:28rem}.cart-checkout-title{margin:0 0 .75rem;font-size:1.1rem}.cart-checkout-done{margin:.5rem 0}.orders-emin-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.5rem}.orders-emin-head h1{margin:0}.orders-emin-nav{margin-top:0}.orders-table-wrap{overflow-x:auto;margin-top:1rem}.orders-table{width:100%;border-collapse:collapse;font-size:.95rem}.orders-table th,.orders-table td{text-align:left;padding:.6rem .75rem;border-bottom:1px solid #e2e8f0;vertical-align:top}.orders-table th{background:#f8fafc;font-weight:600}.orders-cell-phone{white-space:nowrap}.orders-col-ts{font-size:.8rem;white-space:nowrap}
