@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Inter:wght@400;500;600&display=swap');
*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:#f5f1e9;color:#302b24;font-family:Inter,Arial,sans-serif}
.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:20px}
.login-box{width:min(440px,94%);background:#fff;padding:38px;border:1px solid #e3d9ca;border-radius:9px;box-shadow:0 18px 60px #54402514}
.logo{font:700 26px 'Cormorant Garamond';letter-spacing:2px}.logo span{display:block;font:500 10px Inter;letter-spacing:3px;color:#98734d}
.login-box h1,.form-box h2{font:600 38px 'Cormorant Garamond';margin:18px 0 8px}.hint{font-size:13px;color:#777;margin-bottom:22px}
label{display:block;font-size:12px;font-weight:600;margin:13px 0 6px;color:#5c5349}
input,textarea{width:100%;padding:13px;border:1px solid #ddd1c1;border-radius:4px;font:inherit;background:#fff}
textarea{height:100px;resize:vertical}
.login-box button,.save,.add-btn{width:100%;border:0;background:#59432e;color:#fff;padding:13px;border-radius:4px;cursor:pointer;margin-top:16px}
#error{min-height:20px;color:#a33;font-size:13px}.back{display:inline-block;color:#765638;text-decoration:none;font-size:13px;margin-top:15px}
.admin-header{height:70px;background:#302b24;color:#fff;padding:0 6%;display:flex;align-items:center;justify-content:space-between}
.admin-header strong{font:700 25px 'Cormorant Garamond';display:block}.admin-header span{font-size:11px;color:#cdbda9}.header-actions{display:flex;align-items:center;gap:15px}.header-actions a{color:#fff;text-decoration:none;font-size:13px}.header-actions button{background:#6e5640;color:#fff;border:0;border-radius:4px;padding:10px 15px;cursor:pointer}
.panel{padding:48px 7%}.panel-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.eyebrow{font-size:11px;letter-spacing:3px;color:#9b7650;font-weight:600}.panel-top h1{font:600 50px 'Cormorant Garamond';margin:5px 0}.sub{font-size:13px;color:#777;margin:0}.add-btn{width:auto;margin:0;white-space:nowrap;padding:13px 20px}
.product-list{display:flex;flex-direction:column;gap:12px}.product-row{background:#fff;border:1px solid #e2d8c9;border-radius:7px;padding:12px 16px;display:grid;grid-template-columns:95px 1fr auto;gap:18px;align-items:center}.product-row img{width:95px;height:75px;object-fit:cover;border-radius:4px;background:#eee}.product-row h3{font:600 26px 'Cormorant Garamond';margin:0}.price{font-weight:600;color:#8b633c;margin-top:3px}.desc{font-size:12px;color:#777;margin:5px 0}.badge{display:inline-block;font-size:10px;padding:4px 8px;border-radius:12px;background:#e6f0e5;color:#39623a}.badge.sold{background:#eee0dc;color:#7c4038}.row-actions{display:flex;gap:7px;justify-content:flex-end;flex-wrap:wrap}.row-actions button{padding:9px 11px;border:1px solid #d9cdbd;background:#fff;color:#4a443b;border-radius:4px;cursor:pointer}.row-actions .sold-btn{background:#59432e;color:#fff;border-color:#59432e}.row-actions .remove{color:#9b4038}.empty{text-align:center;background:#fff;border:1px dashed #d7cab8;border-radius:7px;padding:65px;color:#777}
.modal{position:fixed;inset:0;background:#0008;display:flex;align-items:center;justify-content:center;padding:20px;z-index:50}.form-box{width:min(480px,95%);background:#fff;border-radius:8px;padding:30px;position:relative;box-shadow:0 20px 70px #0003}.close{position:absolute;right:15px;top:10px;border:0!important;background:none!important;color:#333!important;font-size:28px!important;cursor:pointer}.form-box h2{font-size:35px}.form-box small{display:block;color:#777;font-size:11px;margin-top:7px}
@media(max-width:700px){.panel-top{align-items:flex-start;flex-direction:column}.add-btn{width:100%}.product-row{grid-template-columns:70px 1fr}.product-row img{width:70px;height:60px}.row-actions{grid-column:1/-1;justify-content:flex-start}.admin-header{padding:0 4%}.header-actions a{display:none}}
