:root{font-family:Inter,Arial,sans-serif;color:#172337;background:#f4f6f9;font-size:15px;--navy:#102743;--accent:#e56b13;--border:#dfe5ed}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}a{color:#164e8a;text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:default}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(32px,5vw,62px);line-height:1.06;letter-spacing:-.035em;margin-bottom:17px}h2{font-size:29px;letter-spacing:-.02em;margin-bottom:8px}h3{font-size:17px;line-height:1.3;margin-bottom:8px}p{line-height:1.6;color:#526074}.shell{max-width:1240px;width:calc(100% - 48px);margin:0 auto}.header{background:white;border-bottom:1px solid var(--border)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:83px}.brand{display:flex;align-items:center;gap:17px;color:var(--navy);font-weight:700}.brand img{width:210px;height:70px;object-fit:contain}.brand span{border-left:1px solid var(--border);padding-left:15px;max-width:180px;font-size:12px;text-transform:uppercase;letter-spacing:.06em}.header nav{display:flex;align-items:center;gap:22px}.header nav a{color:#243651;font-weight:600;font-size:14px}.button{display:inline-block;background:var(--navy);border:1px solid var(--navy);color:white;padding:12px 18px;border-radius:6px;font-weight:700;text-align:center;line-height:1.3;text-decoration:none!important}.button:hover{filter:brightness(1.12)}.button.orange{background:#f47c20;border-color:#f47c20;color:#142338}.button.ghost{background:white;color:var(--navy);border-color:#c9d5e3}.button.small{padding:9px 12px;font-size:13px}.button.block{display:block;width:100%}.hero{background:linear-gradient(110deg,#0e233b,#173f68);color:white;overflow:hidden}.hero-inner{display:grid;grid-template-columns:1.7fr 1fr;align-items:center;gap:60px;padding:60px 0}.hero p{color:#c9dbef;max-width:670px;font-size:17px}.eyebrow{text-transform:uppercase;font-size:11px;font-weight:800;color:#bd550b;letter-spacing:.14em;margin-bottom:12px}.eyebrow.light{color:#ffaf5c}.hero-aside{border:1px solid #517293;padding:32px 35px;max-width:340px;background:#ffffff08;border-radius:12px}.hero-aside span{font-size:12px;color:#c9dbef;letter-spacing:.1em;font-weight:700}.hero-aside strong{display:block;font-size:68px;line-height:1.2;margin-top:10px}.hero-aside .smaller{font-size:22px}.hero-line{border-top:1px solid #517293}.catalog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:38px 0 16px}.catalog-head p{margin-bottom:0}.filters{display:grid;grid-template-columns:2fr 1fr;gap:12px;margin-bottom:15px}input:not([type=checkbox]),select,textarea{width:100%;background:#fff;border:1px solid #cbd5e1;border-radius:6px;padding:12px;color:#172337;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:2px solid #598ac2}input[type=checkbox]{width:19px;height:19px;accent-color:#204f80}.category-list{display:flex;gap:7px;flex-wrap:wrap}.chip{border:1px solid var(--border);background:white;color:#42536b;border-radius:5px;padding:8px 12px;font-size:12px;font-weight:600}.chip.current{background:var(--navy);color:white;border-color:var(--navy)}.results{font-size:13px;color:#56657a;margin:19px 0 12px}.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;padding-bottom:45px}.product{background:white;border:1px solid var(--border);border-radius:9px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 2px 6px #17233708}.photo{display:block;aspect-ratio:1.25;background:#fff;border-bottom:1px solid #eff2f5;padding:8px}.photo img,.detail-photo img{width:100%;height:100%;object-fit:contain;display:block}.product-body{padding:15px;display:flex;flex:1;flex-direction:column;align-items:stretch}.meta{display:flex;justify-content:space-between;gap:7px;align-items:center;font-size:11px;font-weight:700;text-transform:uppercase;color:#5f6e80;margin-bottom:10px}.sku{background:#edf2f8;border:1px solid #dce6f1;padding:4px 7px;font-size:11px;font-weight:800;white-space:nowrap;color:#315271;border-radius:4px}.model{font-size:13px;margin-bottom:10px;min-height:18px}.desc{font-size:13px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:14px;flex:1}.text-button{background:transparent;border:0;color:#235b93;font-size:13px;font-weight:700;padding:11px 4px}.price{font-size:19px;color:#143e65;font-weight:800;margin-bottom:12px}.detail{padding:32px 0 65px}.back{display:inline-block;margin-bottom:22px;font-weight:700}.detail-layout{display:grid;grid-template-columns:1fr 1fr;gap:35px;background:white;border:1px solid var(--border);border-radius:10px;padding:26px}.detail-layout h1{font-size:38px}.detail-photo{height:400px}.detail li{line-height:1.6;margin-bottom:7px}.placeholder{display:grid;place-items:center;height:100%;min-height:140px;color:#8191a3;background:#f0f3f6}.empty{padding:30px;text-align:center}footer{background:#102743;color:white;padding:40px 0}footer p{color:#b9cadc}footer a{color:#d4e6f6}.footer-inner{display:grid;grid-template-columns:1.5fr 1fr;gap:50px}.footer-logo{width:90px;height:90px;object-fit:contain;border-radius:8px;margin-bottom:12px}dialog{border:1px solid var(--border);border-radius:12px;padding:25px;max-width:550px;width:calc(100% - 30px);max-height:85vh;box-shadow:0 15px 50px #0004}dialog::backdrop{background:#102743aa}.modal-head,.selected-row{display:flex;justify-content:space-between;align-items:center;gap:12px}.selected-row{border-bottom:1px solid var(--border);padding:10px 0}.modal-head h2{margin:0}dialog .button{margin-top:12px}.admin-main{padding:28px 0 50px}.panel{background:white;border:1px solid var(--border);padding:24px;border-radius:9px;margin-bottom:20px}.login{max-width:480px;margin:40px auto}.login h1,.admin-main h1{font-size:33px}.admin-grid,.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-grid{display:grid;gap:13px;margin-top:15px}.form-grid label:not(.check){display:grid;gap:6px;font-size:13px;font-weight:700}.check{display:flex;align-items:center;gap:8px;font-weight:600}.admin-photo{width:160px;max-height:150px;object-fit:contain}.table-scroll{overflow:auto;margin-top:15px}table{border-collapse:collapse;width:100%;font-size:13px;text-align:left}th,td{border-bottom:1px solid var(--border);padding:12px 8px;vertical-align:middle}th{background:#f2f5f9;color:#44566c}td small{display:block;margin-top:4px;color:#68788b}.inline{display:inline}.status{display:inline-block;border-radius:4px;padding:5px 8px;font-size:11px;font-weight:700}.status.on{background:#e3f5eb;color:#147642}.status.off{background:#eceef1;color:#5b6471}.alert{border:1px solid;padding:14px;border-radius:7px;margin-bottom:16px}.alert.success{background:#e8f6ec;color:#146c3b;border-color:#b0d8bd}.alert.error{background:#fff0ef;color:#a4261f;border-color:#efb9b5}[hidden]{display:none!important}@media(max-width:1000px){.products{grid-template-columns:repeat(3,minmax(0,1fr))}.brand span{display:none}.hero-inner{gap:30px}}@media(max-width:680px){.shell{width:calc(100% - 24px)}.header-inner{flex-wrap:wrap;gap:4px;padding-bottom:10px;min-height:0}.brand img{width:174px;height:58px}.header nav{gap:13px;justify-content:space-between;width:100%}.header nav a{font-size:12px}.hero-inner{grid-template-columns:1fr;padding:32px 0;gap:22px}.hero-aside{display:none}.hero p{font-size:15px}.catalog-head{align-items:flex-start;flex-direction:column;padding-top:25px}.filters{grid-template-columns:1fr}.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.product-body{padding:10px}.meta{flex-wrap:wrap;font-size:10px}.product h3{font-size:15px}.product .button{font-size:12px;padding:9px 5px}.desc{font-size:12px}.text-button{font-size:12px}.detail-layout,.admin-grid,.two-cols,.footer-inner{grid-template-columns:1fr;gap:15px}.detail-layout{padding:15px}.detail-photo{height:260px}.detail-layout h1{font-size:28px}.panel{padding:15px}.category-list{flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px}.chip{white-space:nowrap}h2{font-size:23px}}@media print{body{background:white}.header nav,.hero,.filters,.category-list,.button,.text-button,footer,.results{display:none!important}.shell{width:100%}.products{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.product{break-inside:avoid;box-shadow:none}.photo{aspect-ratio:2}.product-body{padding:8px}.desc{-webkit-line-clamp:unset}.catalog-head{padding:15px 0}.header-inner{min-height:0}}
