*{box-sizing:border-box}body{margin:0;background:#f7f6f2;color:#171717;font:14px Arial}header{position:sticky;top:0;z-index:5;background:#f7f6f2ee;backdrop-filter:blur(12px);padding:24px 4vw;border-bottom:1px solid #ddd}header b{font:34px Georgia;letter-spacing:.23em}header small{display:block;color:#777;font-size:9px;letter-spacing:.18em;margin-top:6px}nav{display:flex;justify-content:space-between;align-items:center;margin-top:20px}nav button,button{border:0;background:#111;color:#fff;padding:10px 13px;font-size:10px;letter-spacing:.1em;cursor:pointer}#tabs button{background:none;color:#666;margin-right:18px;padding:4px 0}main{max-width:1500px;margin:auto;padding:45px 4vw}.hero{display:flex;justify-content:space-between;align-items:end;margin-bottom:30px}.hero h1{font:400 8vw/.82 Georgia;margin:8px 0}.hero p{max-width:390px;color:#777;line-height:1.7}.hero small{color:#777;letter-spacing:.18em}#grid{display:grid;grid-template-columns:repeat(4,1fr);gap:28px 14px}.card{cursor:pointer}.photo{background:#fff;aspect-ratio:3/4;overflow:hidden}.photo img{width:100%;height:100%;object-fit:contain}.meta{display:flex;justify-content:space-between;padding:9px 1px}.code{font-size:9px;color:#777;letter-spacing:.13em}.name{font:17px Georgia}.price{font-size:10px}.overlay{display:none;position:fixed;inset:0;background:#000a;z-index:20;padding:3vh 4vw;overflow:auto}.overlay.open{display:block}.sheet{max-width:1150px;margin:auto;background:#f7f6f2;min-height:90vh;position:relative}.product{display:grid;grid-template-columns:1.15fr .85fr}.product>img{width:100%;height:90vh;object-fit:contain;background:#fff}.detail{padding:55px}.detail h2{font:400 48px Georgia}.detail label{display:block;color:#777;font-size:9px;letter-spacing:.15em;text-transform:uppercase;margin-top:25px}.x{position:absolute;right:15px;top:12px;background:none;color:#111;font-size:28px;z-index:2}.box{max-width:430px;margin:10vh auto;background:#f7f6f2;padding:40px;position:relative}.box input,.box textarea{width:100%;padding:11px;margin:6px 0;border:1px solid #ccc;background:#fff}.box textarea{min-height:100px}.admin{max-width:1400px;margin:auto;background:#f7f6f2;padding:30px}.head{display:flex;justify-content:space-between}.head h2{font:400 40px Georgia}.table{overflow:auto;background:#fff;margin:25px 0}.table table{border-collapse:collapse;width:100%;min-width:1100px}.table th,.table td{padding:8px;border-bottom:1px solid #ddd;text-align:left}.table input,.table select{width:100%;padding:7px;border:1px solid #ccc}.add{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.add input{padding:9px;border:1px solid #ccc}.add button{grid-column:span 2}#toast{display:none;position:fixed;right:20px;bottom:20px;background:#111;color:#fff;padding:12px;z-index:50}#toast.show{display:block}@media(max-width:900px){#grid{grid-template-columns:repeat(3,1fr)}.product{grid-template-columns:1fr}.product>img{height:auto;max-height:75vh}.hero{display:block}.add{grid-template-columns:1fr 1fr}}@media(max-width:600px){#grid{grid-template-columns:repeat(2,1fr)}nav{display:block}.hero h1{font-size:17vw}}
/* ── qo'shimcha: o'z serveridagi versiya uchun ── */
.acts{white-space:nowrap}
.acts button{margin-right:6px}
.del-btn{background:#fff;color:#a11;border:1px solid #a11}
.del-btn.armed{background:#a11;color:#fff}
button[disabled]{opacity:.45;cursor:default}
.preview{width:100%;max-height:260px;object-fit:contain;background:#fff;border:1px solid #ddd;margin-bottom:10px;display:none}
#err{color:#a11;min-height:18px;margin:6px 0;font-size:12px}
.photo img{background:#fff}
.photo img.missing{opacity:0}
.photo{position:relative}
.photo:after{content:"YAQIIN";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#e2e0da;font:400 22px Georgia;letter-spacing:.2em;z-index:-1}
