
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:'Segoe UI',system-ui,sans-serif;background:#f1f5f9;color:#1e293b;padding-bottom:80px}
a{text-decoration:none;color:inherit}
.top-nav{position:sticky;top:0;z-index:900;background:#fff;border-bottom:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between;padding:12px 16px;box-shadow:0 1px 4px rgba(0,0,0,.08)}
.nav-brand{display:flex;align-items:center;gap:10px}
.brand-logo{width:38px;height:38px;background:#1d4ed8;border-radius:10px;display:flex;align-items:center;justify-content:center;color:#fbbf24;font-size:18px;flex-shrink:0}
.brand-name{font-weight:700;font-size:1rem;color:#1e293b}
.nav-right{display:flex;align-items:center;gap:4px}
.nav-icon-btn{position:relative;background:none;border:none;font-size:1.2rem;color:#475569;padding:8px;cursor:pointer;border-radius:8px}
.badge-count{position:absolute;top:2px;right:2px;background:#ef4444;color:#fff;font-size:9px;font-weight:700;min-width:16px;height:16px;border-radius:8px;display:flex;align-items:center;justify-content:center;padding:0 3px}
.side-menu{position:fixed;top:0;right:-280px;width:280px;height:100vh;background:#fff;z-index:1000;transition:right .3s;box-shadow:-4px 0 20px rgba(0,0,0,.15);overflow-y:auto}
.side-menu.open{right:0}
.side-menu-header{display:flex;align-items:center;justify-content:space-between;padding:16px;background:#1d4ed8;color:#fff}
.btn-close-menu{background:none;border:none;color:#fff;font-size:1.2rem;cursor:pointer}
.side-menu-nav a{display:flex;align-items:center;gap:12px;padding:12px 20px;color:#374151;font-size:.9rem;border-left:3px solid transparent}
.side-menu-nav a:hover{background:#eff6ff;color:#1d4ed8;border-left-color:#1d4ed8}
.side-menu-nav hr{margin:8px 16px;border-color:#e5e7eb}
.menu-overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:999;display:none}
.menu-overlay.open{display:block}
.bottom-nav{position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #e2e8f0;display:flex;z-index:800;box-shadow:0 -2px 10px rgba(0,0,0,.08)}
.bottom-nav-item{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:8px 4px;color:#64748b;font-size:10px;font-weight:500;gap:3px;text-decoration:none}
.bottom-nav-item i{font-size:1.3rem}
.bottom-nav-item.active,.bottom-nav-item.active i{color:#1d4ed8}
.page-content{min-height:calc(100vh - 140px)}
.hero-section{background:linear-gradient(135deg,#1d4ed8,#1e40af);color:#fff;padding:32px 16px 24px;text-align:center}
.hero-section h1{font-size:1.8rem;font-weight:800;line-height:1.2;margin-bottom:6px}
.hero-section h1 span{color:#fbbf24}
.hero-section p{font-size:.9rem;opacity:.85;margin-bottom:20px}
.search-box{display:flex;gap:8px;max-width:500px;margin:0 auto 16px}
.search-input{flex:1;padding:12px 16px;border-radius:50px;border:none;font-size:.9rem;outline:none}
.btn-search{background:#fbbf24;color:#1e293b;border:none;padding:12px 24px;border-radius:50px;font-weight:700;cursor:pointer}
.hero-actions{display:flex;flex-direction:column;gap:10px;max-width:320px;margin:0 auto}
.hero-action-btn{display:flex;align-items:center;justify-content:center;gap:8px;padding:13px 20px;border-radius:50px;font-weight:600;border:1.5px solid rgba(255,255,255,.4);color:#fff;background:rgba(255,255,255,.1);font-size:.9rem}
.popular-tags{margin-top:16px;font-size:.8rem;opacity:.75}
.popular-tags a{display:inline-block;background:rgba(255,255,255,.15);color:#fff;padding:5px 12px;border-radius:20px;margin:3px 2px;font-size:.78rem}
.cat-tabs{display:flex;overflow-x:auto;gap:8px;padding:12px 16px;scrollbar-width:none;background:#fff;border-bottom:1px solid #f1f5f9}
.cat-tabs::-webkit-scrollbar{display:none}
.cat-tab{flex-shrink:0;padding:7px 16px;border-radius:50px;border:1.5px solid #e2e8f0;font-size:.82rem;font-weight:600;color:#475569;background:#fff;cursor:pointer;white-space:nowrap;text-decoration:none}
.cat-tab.active,.cat-tab:hover{background:#1d4ed8;color:#fff;border-color:#1d4ed8}
.section-title{font-size:1rem;font-weight:700;padding:16px 16px 8px}
.category-scroll{overflow-x:auto;white-space:nowrap;padding:0 16px 12px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.category-scroll::-webkit-scrollbar{display:none}
.category-pill{display:inline-flex;flex-direction:column;align-items:center;gap:6px;padding:10px 14px;background:#fff;border-radius:16px;margin-right:10px;cursor:pointer;border:1.5px solid #e2e8f0;min-width:72px;font-size:.72rem;font-weight:600;color:#374151;transition:all .2s;text-decoration:none}
.category-pill i{font-size:1.3rem}
.category-pill:hover,.category-pill.active{border-color:#1d4ed8;color:#1d4ed8;background:#eff6ff}
.providers-list{padding:12px 16px}
.result-count{font-size:.82rem;color:#64748b;margin-bottom:12px}
.provider-card{background:#fff;border-radius:16px;margin-bottom:12px;overflow:hidden;box-shadow:0 1px 6px rgba(0,0,0,.06)}
.provider-card-badges{display:flex;gap:6px;padding:10px 14px 0;flex-wrap:wrap}
.badge-featured{background:#fff3cd;color:#92400e;font-size:.7rem;font-weight:700;padding:3px 10px;border-radius:20px}
.badge-premium{background:#fef3c7;color:#d97706;font-size:.7rem;font-weight:700;padding:3px 10px;border-radius:20px}
.badge-verified{background:#d1fae5;color:#065f46;font-size:.7rem;font-weight:700;padding:3px 10px;border-radius:20px}
.provider-card-body{display:flex;gap:14px;padding:12px 14px}
.provider-avatar{width:60px;height:60px;border-radius:12px;background:#eff6ff;display:flex;align-items:center;justify-content:center;font-size:1.5rem;color:#1d4ed8;flex-shrink:0;font-weight:700;font-size:1.4rem}
.provider-info{flex:1;min-width:0}
.provider-name{font-size:1rem;font-weight:700;margin-bottom:2px}
.provider-cat{color:#1d4ed8;font-size:.82rem;font-weight:600;margin-bottom:4px}
.provider-location{color:#64748b;font-size:.8rem;margin-bottom:4px}
.provider-meta{display:flex;align-items:center;gap:8px;font-size:.78rem;color:#64748b;flex-wrap:wrap}
.rating-badge{background:#1d4ed8;color:#fff;padding:2px 8px;border-radius:6px;font-size:.8rem;font-weight:700}
.provider-card-footer{display:flex;gap:10px;padding:0 14px 14px}
.btn-call{flex:1;background:#1d4ed8;color:#fff;border:none;padding:10px;border-radius:10px;font-weight:700;font-size:.88rem;cursor:pointer;text-decoration:none;display:flex;align-items:center;justify-content:center}
.btn-enquiry{flex:1;border:2px solid #1d4ed8;color:#1d4ed8;background:none;padding:10px;border-radius:10px;font-weight:700;font-size:.88rem;cursor:pointer;text-decoration:none;display:flex;align-items:center;justify-content:center}
.products-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:12px 16px}
@media(min-width:640px){.products-grid{grid-template-columns:repeat(3,1fr)}}
@media(min-width:960px){.products-grid{grid-template-columns:repeat(4,1fr)}}
.product-card{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 1px 6px rgba(0,0,0,.06)}
.product-img{width:100%;height:140px;background:#f8fafc;display:flex;align-items:center;justify-content:center;color:#94a3b8;font-size:2rem;overflow:hidden}
.product-img img{width:100%;height:140px;object-fit:cover}
.product-body{padding:10px}
.product-name{font-size:.88rem;font-weight:700;margin-bottom:2px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.product-shop{font-size:.75rem;color:#1d4ed8;margin-bottom:6px}
.product-price{font-size:1.1rem;font-weight:800;color:#1d4ed8}
.product-unit{font-size:.7rem;color:#94a3b8;display:block}
.btn-add-cart{width:100%;background:#1d4ed8;color:#fff;border:none;padding:9px;border-radius:10px;font-weight:700;font-size:.82rem;margin-top:8px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px;transition:background .2s}
.btn-add-cart:hover{background:#1e40af}
.scrap-card{background:#fff;border-radius:16px;padding:16px;margin-bottom:12px;display:flex;align-items:center;gap:16px;box-shadow:0 1px 6px rgba(0,0,0,.06);cursor:pointer;border:2px solid transparent;transition:all .2s}
.scrap-card.selected,.scrap-card:hover{border-color:#1d4ed8;background:#eff6ff}
.scrap-icon-wrap{width:56px;height:56px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:1.5rem;flex-shrink:0}
.scrap-info{flex:1}
.scrap-name{font-size:.95rem;font-weight:700;margin-bottom:2px}
.scrap-desc{font-size:.78rem;color:#64748b;margin-bottom:6px}
.scrap-rate{background:#e0f2fe;color:#0369a1;font-size:.75rem;font-weight:600;padding:3px 10px;border-radius:20px;display:inline-block}
.cart-item{background:#fff;border-radius:14px;padding:14px;margin-bottom:10px;display:flex;gap:14px;align-items:center;box-shadow:0 1px 4px rgba(0,0,0,.05)}
.qty-control{display:flex;align-items:center;gap:10px}
.qty-btn{width:30px;height:30px;border-radius:8px;border:1.5px solid #e2e8f0;background:#fff;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center}
.order-summary{background:#fff;border-radius:16px;padding:16px;margin:12px 16px}
.summary-row{display:flex;justify-content:space-between;margin-bottom:8px;font-size:.9rem;color:#475569}
.summary-row.total{font-weight:700;font-size:1rem;color:#1e293b;padding-top:8px;border-top:1px solid #f1f5f9;margin-top:4px}
.btn-checkout{width:100%;background:#1d4ed8;color:#fff;border:none;padding:14px;border-radius:14px;font-weight:700;font-size:1rem;cursor:pointer;margin-top:12px;display:block;text-align:center}
.form-page{max-width:540px;margin:0 auto;padding:20px 16px}
.form-card{background:#fff;border-radius:20px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,.06)}
.form-title{font-size:1.2rem;font-weight:800;margin-bottom:4px}
.form-subtitle{font-size:.85rem;color:#64748b;margin-bottom:20px}
.form-group{margin-bottom:16px}
.form-label{font-size:.82rem;font-weight:600;color:#374151;margin-bottom:6px;display:block}
.form-control,.form-select{width:100%;border:1.5px solid #e2e8f0;border-radius:10px;padding:11px 14px;font-size:.9rem;color:#1e293b;background:#fff;outline:none;transition:border .2s}
.form-control:focus,.form-select:focus{border-color:#1d4ed8;box-shadow:0 0 0 3px rgba(29,78,216,.1)}
.btn-primary-full{width:100%;background:#1d4ed8;color:#fff;border:none;padding:13px;border-radius:12px;font-weight:700;font-size:.95rem;cursor:pointer}
.doc-input-tabs{display:flex;gap:8px;margin-bottom:12px}
.doc-tab{flex:1;padding:8px;border:1.5px solid #e2e8f0;border-radius:8px;background:#fff;font-size:.82rem;font-weight:600;cursor:pointer;text-align:center}
.doc-tab.active{background:#1d4ed8;color:#fff;border-color:#1d4ed8}
.doc-panel{display:none}
.doc-panel.active{display:block}
.plan-card{background:#fff;border-radius:20px;padding:24px;margin-bottom:16px;box-shadow:0 2px 12px rgba(0,0,0,.06);border:2px solid transparent;position:relative}
.plan-card.featured{border-color:#1d4ed8}
.plan-name{font-size:1rem;font-weight:800;margin-bottom:4px}
.plan-price{font-size:2rem;font-weight:900;color:#1d4ed8}
.plan-features{list-style:none;padding:0;margin:16px 0}
.plan-features li{display:flex;align-items:center;gap:8px;font-size:.85rem;padding:5px 0;border-bottom:1px solid #f8fafc}
.plan-features li i{color:#22c55e;font-size:.8rem}
.btn-subscribe{width:100%;background:#1d4ed8;color:#fff;border:none;padding:12px;border-radius:12px;font-weight:700;cursor:pointer;font-size:.9rem}
.dashboard-wrap{padding:16px}
.dash-welcome{background:linear-gradient(135deg,#1d4ed8,#1e40af);color:#fff;border-radius:16px;padding:20px;margin-bottom:16px}
.dash-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px}
.dash-stat{background:#fff;border-radius:14px;padding:16px;box-shadow:0 1px 4px rgba(0,0,0,.05)}
.dash-stat-num{font-size:1.5rem;font-weight:800;color:#1d4ed8}
.dash-stat-label{font-size:.78rem;color:#64748b;margin-top:2px}
.order-item{background:#fff;border-radius:12px;padding:14px;margin-bottom:8px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 1px 4px rgba(0,0,0,.04)}
.status-badge{font-size:.72rem;font-weight:700;padding:4px 10px;border-radius:20px}
.status-pending{background:#fef3c7;color:#92400e}
.status-confirmed,.status-active{background:#d1fae5;color:#065f46}
.status-delivered{background:#dbeafe;color:#1d4ed8}
.status-cancelled{background:#fee2e2;color:#dc2626}
.alert{padding:12px 16px;border-radius:10px;margin-bottom:16px;font-size:.88rem}
.alert-success{background:#d1fae5;color:#065f46;border:1px solid #6ee7b7}
.alert-error{background:#fee2e2;color:#dc2626;border:1px solid #fca5a5}
.alert-info{background:#dbeafe;color:#1d4ed8;border:1px solid #93c5fd}
@media print{.bottom-nav,.top-nav,.no-print{display:none!important}}
@media(min-width:768px){.hero-section h1{font-size:2.4rem}.hero-actions{flex-direction:row;max-width:100%;justify-content:center}}
