*{box-sizing:border-box}
:root{--primary:#1264f5;--dark:#111827;--muted:#667085;--bg:#f4f7fb;--border:#e6eaf0}
body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;background:var(--bg);color:#172033}
a{text-decoration:none;color:var(--primary)}
.admin-body{background:#f4f7fb}
.app-shell{min-height:100vh;display:flex}
.sidebar{width:260px;background:#fff;border-right:1px solid var(--border);position:fixed;left:0;top:0;bottom:0;padding:24px 16px;display:flex;flex-direction:column;z-index:20}
.brand{display:flex;gap:12px;align-items:center;padding:0 10px 28px;border-bottom:1px solid var(--border)}
.brand-icon{width:42px;height:42px;border-radius:12px;background:#1264f5;color:#fff;display:grid;place-items:center;font-weight:800}
.brand strong{display:block;font-size:15px}.brand small{display:block;color:#98a2b3;font-size:11px;margin-top:3px}
.side-nav{padding-top:22px;display:grid;gap:6px}
.side-nav a{padding:12px 13px;border-radius:10px;color:#667085;font-weight:600;font-size:14px;display:flex;gap:12px;align-items:center}
.side-nav a:hover,.side-nav a.active{background:#edf4ff;color:#1264f5}
.sidebar-bottom{margin-top:auto;display:grid;gap:8px}.catalog-link,.logout-link{padding:12px;border-radius:10px;font-size:13px;font-weight:700}.catalog-link{background:#f0f6ff}.logout-link{color:#667085}
.main-content{margin-left:260px;width:calc(100% - 260px)}
.topbar{height:74px;background:#fff;border-bottom:1px solid var(--border);display:flex;align-items:center;padding:0 34px;gap:18px;position:sticky;top:0;z-index:10}
.menu-toggle{display:none;border:0;background:#f2f4f7;border-radius:8px;padding:9px;font-size:20px}
.top-title{display:flex;flex-direction:column}.top-title span{font-size:11px;color:#98a2b3;text-transform:uppercase;letter-spacing:.08em}.top-title strong{font-size:14px}
.top-actions{margin-left:auto;display:flex;gap:16px;align-items:center}.view-button{font-size:13px;font-weight:700;background:#edf4ff;padding:10px 14px;border-radius:9px}.avatar{width:38px;height:38px;border-radius:50%;background:#172033;color:#fff;display:grid;place-items:center;font-weight:700}
.content{max-width:1250px;margin:0 auto;padding:34px}
.page-heading{margin-bottom:26px}.eyebrow,.section-kicker{font-size:11px;font-weight:800;color:#1264f5;letter-spacing:.1em}.page-heading h1{margin:7px 0;font-size:29px}.page-heading p{margin:0;color:var(--muted)}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px}
.stat-card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:20px;display:flex;gap:14px;align-items:center;box-shadow:0 5px 18px rgba(16,24,40,.03)}
.stat-icon{width:46px;height:46px;border-radius:12px;display:grid;place-items:center;font-size:20px}.stat-icon.blue{background:#eaf2ff}.stat-icon.green{background:#eafaf1}.stat-icon.orange{background:#fff5e8}.stat-icon.purple{background:#f2edff}
.stat-card span,.stat-card small{display:block;color:#667085;font-size:12px}.stat-card strong{display:block;font-size:25px;margin:2px 0}.stat-card small{font-size:11px}
.card-panel{background:#fff;border:1px solid var(--border);border-radius:16px;padding:24px;box-shadow:0 5px 18px rgba(16,24,40,.03);margin-bottom:20px}
.section-title{margin-bottom:20px}.section-title h2{margin:5px 0;font-size:19px}.section-title p{margin:0;color:#98a2b3;font-size:13px}.section-title.compact{margin-bottom:17px}
.two-columns{display:grid;grid-template-columns:1fr 1.4fr;gap:20px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}
label{display:block;font-weight:700;font-size:12px;color:#344054}input,select,textarea{width:100%;padding:12px 13px;border:1px solid #d9dee8;border-radius:9px;margin-top:7px;font:inherit;background:#fff;color:#172033}textarea{min-height:90px;resize:vertical}label small{display:block;color:#98a2b3;margin-top:5px;font-weight:400}
.primary-btn{border:0;border-radius:9px;background:#1264f5;color:#fff;padding:12px 17px;cursor:pointer;font-weight:800;margin-top:16px}.primary-btn:hover{filter:brightness(.95)}
.inline-form{display:flex;gap:8px}.inline-form input{margin:0}.inline-form .primary-btn{margin:0;white-space:nowrap}
.category-list{margin-top:17px}.category-row{display:flex;justify-content:space-between;align-items:center;padding:11px 0;border-bottom:1px solid #eef0f4;font-size:13px}.category-row span{display:flex;gap:9px;align-items:center;font-weight:700}.category-row i{font-style:normal;background:#edf4ff;color:#1264f5;border-radius:7px;padding:6px}.category-row a{font-size:11px;color:#e03b3b}
.checks{display:flex;gap:20px;margin-top:14px}.checks label{font-weight:600}.checks input{width:auto;margin:0 5px 0 0}
.table-head{display:flex;justify-content:space-between;align-items:flex-start}.count-badge{background:#edf4ff;color:#1264f5;padding:7px 10px;border-radius:20px;font-size:11px;font-weight:800}
.table-wrap{overflow:auto}.modern-table{width:100%;border-collapse:collapse}.modern-table th{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:#98a2b3;text-align:left;padding:12px;border-bottom:1px solid var(--border)}.modern-table td{padding:14px 12px;border-bottom:1px solid #eef0f4;font-size:13px;white-space:nowrap}.modern-table td:first-child{white-space:normal;min-width:190px}.modern-table td small{display:block;color:#98a2b3;font-size:11px;margin-top:4px;max-width:280px;overflow:hidden;text-overflow:ellipsis}.status{padding:5px 8px;border-radius:20px;font-size:10px;font-weight:800}.status.on{background:#eafaf1;color:#087443}.status.off{background:#fff0f0;color:#b42318}.danger-link{color:#d92d20;font-size:12px;font-weight:700}
.future-card{background:#fff;border:1px dashed #cbd5e1;border-radius:14px;padding:18px 22px;display:flex;gap:14px;align-items:center;color:#667085}.future-card span{font-size:25px}.future-card strong{color:#172033}.future-card p{margin:3px 0;font-size:13px}.empty{color:#98a2b3;font-size:13px;padding:15px 0}
.center{min-height:100vh;display:grid;place-items:center;padding:20px}.card{background:#fff;border-radius:18px;padding:24px;box-shadow:0 8px 30px rgba(0,0,0,.07);margin-bottom:20px}.login{width:min(420px,100%)}.muted{color:#6b7280;font-size:14px}.alert{background:#ffe7e7;padding:12px;border-radius:9px;color:#9b1c1c;margin-bottom:15px}.store-header{background:#fff;padding:25px max(20px,calc((100% - 1100px)/2));border-bottom:1px solid #e5e7eb;display:flex;align-items:center;justify-content:space-between}.store-header h1{margin:8px 0 2px}.store-header p{margin:0;color:#6b7280}.badge{display:inline-block;background:var(--primary);color:#fff;padding:5px 9px;border-radius:99px;font-size:12px}.cart-button{border:1px solid var(--primary);color:var(--primary);padding:10px 14px;border-radius:10px;font-weight:700}.store{max-width:1100px;margin:25px auto;padding:0 20px}.store section{margin-bottom:35px}.store h2{border-left:5px solid #0d6efd;padding-left:10px}.products{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}.product{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 6px 20px rgba(0,0,0,.06);display:flex}.product-image{width:115px;min-width:115px;background:#eef2f7;display:grid;place-items:center;font-size:40px}.product-image img{width:100%;height:100%;object-fit:cover}.product-info{padding:15px}.product-info h3{margin:5px 0}.product-info p{color:#6b7280;font-size:14px}.product-info strong{display:block;font-size:20px;margin:10px 0}.featured{font-size:11px;color:#0d6efd;font-weight:800}
.order-box{background:#fff;padding:20px;border-radius:16px}.cart-line{display:flex;justify-content:space-between;padding:7px 0}
@media(max-width:1000px){.stats-grid{grid-template-columns:repeat(2,1fr)}.two-columns{grid-template-columns:1fr}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:.2s}.sidebar.open{transform:translateX(0)}.main-content{margin-left:0;width:100%}.menu-toggle{display:block}.topbar{padding:0 18px}.content{padding:22px 16px}.stats-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.checks{flex-direction:column;gap:8px}.page-heading h1{font-size:24px}.view-button{display:none}}
@media(max-width:700px){.store-header{padding:20px}.product{display:block}.product-image{width:100%;height:160px}}

.btn{display:inline-block}
.brand-login{display:flex;align-items:center;gap:12px;margin-bottom:20px}.brand-login small{display:block;color:#98a2b3;margin-top:3px}
.form-grid .full{grid-column:1/-1}.image-upload{display:flex;gap:6px;align-items:center}.image-upload input{width:180px;margin:0;font-size:11px;padding:6px}.small-btn{border:0;background:#edf4ff;color:#1264f5;border-radius:7px;padding:7px 9px;font-weight:700}.thumb{width:45px;height:45px;object-fit:cover;border-radius:7px;margin-top:5px;border:1px solid #ddd}
del{color:#98a2b3;font-size:12px}.storefront{background:#f5f7fb;color:#172033}.store-hero{background:#fff;border-bottom:1px solid #e6eaf0}.store-hero-inner{max-width:1150px;margin:auto;padding:30px 22px;display:flex;justify-content:space-between;gap:25px}.store-brand{display:flex;gap:16px;align-items:center}.store-brand img{width:76px;height:76px;object-fit:contain;border-radius:18px}.store-logo{width:76px;height:76px;border-radius:18px;background:var(--primary);color:#fff;display:grid;place-items:center;font-size:32px;font-weight:900}.platform-badge{display:inline-block;background:var(--primary);color:#fff;padding:5px 10px;border-radius:99px;font-size:11px;font-weight:800}.store-brand h1{margin:7px 0 3px;font-size:31px}.store-brand p{margin:0;color:#667085;max-width:600px}.store-contact{display:flex;flex-direction:column;justify-content:center;gap:8px;color:#667085;font-size:12px;text-align:right}.category-bar{position:sticky;top:0;background:#fff;border-bottom:1px solid #e6eaf0;z-index:9}.category-scroll{max-width:1150px;margin:auto;padding:12px 22px;display:flex;gap:8px;overflow:auto}.category-scroll a{padding:9px 14px;border-radius:99px;background:#f2f4f7;color:#475467;font-size:12px;font-weight:800;white-space:nowrap}.category-scroll a:first-child{background:var(--primary);color:#fff}.store{max-width:1150px;margin:auto;padding:25px 22px}.store-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.store-toolbar strong{font-size:18px}.store-toolbar span{color:#98a2b3;font-size:13px}.floating-cart{border:0;background:var(--primary);color:#fff;border-radius:99px;padding:12px 18px;font-size:14px;box-shadow:0 6px 16px rgba(0,0,0,.12);cursor:pointer}.store-section{margin-bottom:34px}.store-section h2{font-size:21px;margin:0 0 14px;border-left:5px solid var(--primary);padding-left:10px}.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.store-product{background:#fff;border:1px solid #e8ebf0;border-radius:16px;overflow:hidden;box-shadow:0 6px 20px rgba(16,24,40,.04);display:flex;flex-direction:column}.store-product-photo{height:190px;background:#eef2f7;display:grid;place-items:center;position:relative;overflow:hidden}.store-product-photo img{width:100%;height:100%;object-fit:cover}.store-product-photo>span{font-size:54px}.offer-tag,.featured-tag{position:absolute;left:12px;top:12px;color:#fff;padding:6px 9px;border-radius:99px;font-size:10px;letter-spacing:.04em}.offer-tag{background:#e5484d}.featured-tag{background:var(--primary)}.store-product-info{padding:16px;display:flex;flex-direction:column;flex:1}.store-product-info h3{margin:0 0 6px;font-size:17px}.store-product-info p{color:#667085;font-size:13px;line-height:1.45;margin:0 0 12px;min-height:38px}.price-row{margin-top:auto;display:flex;align-items:baseline;gap:8px}.price-row strong{font-size:20px}.price-row del{font-size:12px}.add-btn{margin-top:12px;width:100%;border:0;background:var(--primary);color:#fff;border-radius:10px;padding:12px;font-weight:800;cursor:pointer}.cart-panel{background:#fff;border:1px solid #e6eaf0;border-radius:18px;padding:22px;box-shadow:0 6px 20px rgba(16,24,40,.04);margin-top:35px}.cart-heading{display:flex;justify-content:space-between;align-items:flex-start}.cart-heading h2{margin:5px 0 0}.cart-count-badge{background:#edf4ff;color:var(--primary);padding:7px 10px;border-radius:99px;font-size:11px}.cart-empty{padding:22px 0;color:#98a2b3}.cart-items{display:grid;gap:10px;margin:18px 0}.cart-item{display:grid;grid-template-columns:1fr auto auto;gap:15px;align-items:center;border-bottom:1px solid #eef0f4;padding:12px 0}.cart-item small{display:block;color:#98a2b3;margin-top:3px}.qty{display:flex;align-items:center;gap:9px}.qty button{border:1px solid #d9dee8;background:#fff;border-radius:7px;width:29px;height:29px;font-size:18px;cursor:pointer}.cart-footer{border-top:1px solid #eef0f4;padding-top:18px;display:flex;justify-content:space-between;align-items:center;gap:15px}.cart-footer>strong{font-size:19px}.cart-footer>strong span{margin-left:12px}.whatsapp-btn{border:0;background:#159447;color:#fff;border-radius:10px;padding:13px 18px;font-weight:800;cursor:pointer}.empty-store{text-align:center;background:#fff;border-radius:18px;padding:60px 20px}.empty-store div{font-size:50px}.empty-store h2{margin:12px 0 5px}.empty-store p{color:#667085}.store-footer{max-width:1150px;margin:auto;padding:28px 22px 45px;color:#98a2b3;font-size:12px;display:flex;justify-content:space-between}.store-footer strong{color:#667085}
@media(max-width:900px){.product-grid{grid-template-columns:repeat(2,1fr)}.store-hero-inner{flex-direction:column}.store-contact{text-align:left}.stats-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.product-grid{grid-template-columns:1fr}.store{padding:20px 14px}.store-hero-inner{padding:22px 14px}.store-brand h1{font-size:25px}.store-product-photo{height:210px}.cart-item{grid-template-columns:1fr auto}.cart-item>strong{grid-column:2}.cart-footer{align-items:stretch;flex-direction:column}.whatsapp-btn{width:100%}.store-footer{padding:24px 14px;display:grid;gap:7px}.form-grid .full{grid-column:auto}}

.checkout-box{margin-top:20px;border-top:1px solid #eef0f4;padding-top:20px}.checkout-box h3{margin:0 0 6px;font-size:18px}.checkout-help{margin:0 0 16px;color:#667085;font-size:12px}.checkout-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.checkout-grid label{font-size:12px;font-weight:700;color:#344054}.checkout-grid input,.checkout-grid select,.checkout-grid textarea{width:100%;margin-top:6px;border:1px solid #d9dee8;border-radius:9px;padding:11px 12px;font:inherit;background:#fff;color:#172033}.checkout-grid textarea{resize:vertical}.full-field{grid-column:1/-1}.checkout-send{margin-top:16px}@media(max-width:650px){.checkout-grid{grid-template-columns:1fr}.full-field{grid-column:auto}}
