*{box-sizing:border-box}body{margin:0;font-family:Arial,system-ui,sans-serif;background:#f7faf8;color:#17251d}a{text-decoration:none;color:inherit}.topbar{height:68px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:10px 18px;position:sticky;top:0;z-index:10;box-shadow:0 2px 12px #00000010}.brand{display:flex;align-items:center;gap:10px}.logo{width:44px;height:44px;border-radius:14px;object-fit:contain;background:#fff}.brand strong{display:block;font-size:16px}.brand span{display:block;font-size:12px;color:#0f7a3d;margin-top:2px}.lang{border:1px solid #0f7a3d;color:#0f7a3d;background:white;border-radius:20px;padding:8px 13px;font-weight:700}.hero{max-width:1100px;margin:22px auto;padding:32px 22px;border-radius:24px;background:linear-gradient(135deg,#e8f8ee,#fff4e5);display:flex;justify-content:space-between;align-items:center;gap:25px}.hero h1{font-size:clamp(30px,6vw,52px);line-height:1.05;margin:8px 0}.hero p{color:#536158;max-width:580px;line-height:1.6}.eyebrow{color:#0f7a3d!important;font-weight:700}.primary{display:inline-block;margin-top:10px;background:#0f7a3d;color:#fff;padding:12px 18px;border-radius:12px;font-weight:700}.hero-card{min-width:170px;min-height:170px;border-radius:30px;background:#fff;box-shadow:0 12px 35px #00000012;display:grid;place-items:center;align-content:center;gap:4px;padding:14px}.hero-card img{width:100%;max-width:170px;height:auto;object-fit:contain}.dashboard-banner{max-width:1100px;margin:0 auto 25px;padding:0 22px}.dashboard-banner svg{width:100%;height:auto;display:block;border-radius:24px;box-shadow:0 10px 30px #00000015}.section{max-width:1100px;margin:25px auto;padding:0 22px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.section h2{margin:0}.section-head input{max-width:260px;width:100%;padding:11px 14px;border:1px solid #dce5df;border-radius:12px;background:#fff}.category-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:12px}.category{background:#fff;border:1px solid #e6eee9;border-radius:16px;padding:18px 10px;text-align:center;cursor:pointer;box-shadow:0 4px 15px #00000006}.category .icon{font-size:30px;display:block;margin-bottom:8px}.product-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px;padding-bottom:100px}.product{background:#fff;border-radius:18px;padding:12px;border:1px solid #e6eee9;box-shadow:0 4px 15px #00000007}.product-img{height:130px;border-radius:14px;background:#eef7f1;display:grid;place-items:center;font-size:48px}.product h3{font-size:15px;margin:10px 0 4px}.price{font-weight:800;color:#0f7a3d}.add{width:100%;border:0;background:#0f7a3d;color:#fff;border-radius:10px;padding:10px;margin-top:10px;font-weight:700}.bottom-nav{position:fixed;bottom:0;left:0;right:0;background:#0a5a2c;border-top:1px solid #0d4a2b;display:flex;justify-content:space-around;padding:10px 5px calc(10px + env(safe-area-inset-bottom,0px));z-index:20;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;box-shadow:0 -4px 16px #00000020}
.bottom-nav::-webkit-scrollbar{display:none}
.bottom-nav a{font-size:11px;color:#eafff0;text-align:center;flex:0 0 auto;white-space:nowrap;padding:4px 10px;display:flex;flex-direction:column;align-items:center;gap:3px;font-weight:600}
.bottom-nav a .nav-icon{font-size:20px;line-height:1}
.bottom-nav a.nav-active,.bottom-nav a:active{color:#ffb648}.bottom-nav b{background:#e57d18;color:white;border-radius:10px;padding:1px 5px}.rtl{direction:rtl}.rtl .section-head{flex-direction:row-reverse}@media(max-width:600px){.hero{margin:12px;border-radius:20px;padding:25px 18px}.hero-card{display:none}.section{padding:0 14px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-img{height:105px}.topbar{padding:10px 12px}}

/* ===== ROLE GATE ===== */
.role-gate{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px 20px;background:linear-gradient(160deg,#eafaf0,#fff8ec)}
.role-gate.hidden{display:none}
.gate-logo{width:130px;height:auto;margin-bottom:14px}
.role-gate h1{margin:4px 0;font-size:26px}
.role-gate p{color:#536158;margin:0 0 22px}
.role-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;width:100%;max-width:380px}
.role-btn{background:#fff;border:1px solid #e6eee9;border-radius:18px;padding:22px 10px;display:flex;flex-direction:column;align-items:center;gap:8px;font-weight:700;cursor:pointer;box-shadow:0 6px 20px #00000008}
.role-btn span{font-size:34px}
.role-btn:hover{border-color:#0f7a3d}
.gate-lang{margin-top:24px}
.app-hidden{display:none}

/* ===== TOPBAR ACTIONS / ROLE VIEWS ===== */
.topbar-actions{display:flex;align-items:center;gap:8px}
.switch-role{border:1px solid #e57d18;color:#e57d18;background:#fff;border-radius:20px;padding:8px 13px;font-weight:700;font-size:12.5px}
.role-view{display:none}
.role-view.active{display:block}
.bottom-nav{display:none}
.bottom-nav.active{display:flex}

/* ===== DASHBOARD STATS ===== */
.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px;margin-top:12px}
.stat-card{background:#fff;border:1px solid #e6eee9;border-radius:16px;padding:18px 12px;text-align:center;box-shadow:0 4px 15px #00000006}
.stat-card span{display:block;font-size:24px;font-weight:800;color:#0f7a3d}
.stat-card b{display:block;font-size:12.5px;color:#56635b;margin-top:4px;font-weight:600}

/* ===== LISTS (orders / vendors / riders) ===== */
.list{display:flex;flex-direction:column;gap:10px}
.list-item{background:#fff;border:1px solid #e6eee9;border-radius:16px;padding:14px 16px;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;box-shadow:0 4px 15px #00000006}
.thumb{width:48px;height:48px;border-radius:10px;object-fit:cover;flex-shrink:0}
.list-item b{display:block;font-size:14.5px}
.list-item small{display:block;color:#758478;margin-top:3px;font-size:12.5px}
.list-actions{display:flex;gap:8px;flex-shrink:0}
.pill{border:0;border-radius:20px;padding:8px 14px;font-weight:700;font-size:12.5px;cursor:pointer}
.pill.accept{background:#0f7a3d;color:#fff}
.pill.reject{background:#d9483a;color:#fff}
.status{font-size:11.5px;font-weight:700;padding:4px 10px;border-radius:12px;background:#eef7f1;color:#0f7a3d;text-transform:capitalize}
.status.pending{background:#fff4e0;color:#e57d18}
.status.suspended,.status.rejected{background:#fde9e7;color:#d9483a}
.status.delivered,.status.approved,.status.accepted{background:#e8f8ee;color:#0f7a3d}
.empty{color:#8a988f;font-size:13.5px;padding:16px 0}

/* ===== VENDOR ADD PRODUCT FORM ===== */
.inline-form{display:flex;gap:8px;margin-bottom:14px;flex-wrap:wrap}
.inline-form.hidden{display:none}
.inline-form input,.inline-form select{flex:1;min-width:140px;padding:11px 14px;border:1px solid #dce5df;border-radius:12px;background:#fff}
.primary.small{padding:9px 14px;border:0;border-radius:12px;cursor:pointer;font-size:13px}
.add.danger{background:#d9483a}

@media(max-width:600px){
  .role-grid{max-width:320px}
  .list-item{flex-direction:column;align-items:flex-start}
  .list-actions{width:100%}
}

/* ===== AUTH PANEL ===== */
.auth-panel{width:100%;max-width:360px;background:#fff;border-radius:20px;padding:22px;box-shadow:0 12px 35px #00000012;text-align:left}
.auth-panel.hidden{display:none}
.role-grid.hidden{display:none}
.back-link{border:0;background:none;color:#0f7a3d;font-weight:700;padding:0;margin-bottom:10px;cursor:pointer}
.auth-panel h2{margin:0 0 10px;font-size:19px;text-align:center}
.demo-note{background:#fff4e0;color:#a85c0a;font-size:12px;padding:8px 10px;border-radius:10px;margin-bottom:10px}
.demo-note.hidden{display:none}
.auth-error{background:#fde9e7;color:#b3271f;font-size:12.5px;padding:8px 10px;border-radius:10px;margin-bottom:10px}
.auth-error.hidden{display:none}
.auth-tabs{display:flex;background:#f1f5f2;border-radius:12px;padding:4px;margin-bottom:14px}
.auth-tab{flex:1;border:0;background:none;padding:9px;border-radius:9px;font-weight:700;font-size:13.5px;cursor:pointer;color:#56635b}
.auth-tab.active{background:#0f7a3d;color:#fff}
.auth-form{display:flex;flex-direction:column;gap:10px}
.auth-form.hidden{display:none}
.auth-form input{padding:12px 14px;border:1px solid #dce5df;border-radius:12px;width:100%}
.auth-form .primary{border:0;cursor:pointer;text-align:center}
.form-note{color:#8a988f;font-size:11.5px;text-align:center}
.form-note.hidden{display:none}
.hidden{display:none}
.upload-label{font-size:12px;font-weight:700;color:#56635b;margin-top:2px}
.auth-form input[type="file"]{padding:8px;font-size:12px}

/* ===== GOOGLE MAPS ===== */
.address-box{background:#fff;border:1px solid #e6eee9;border-radius:16px;padding:14px;box-shadow:0 4px 15px #00000006;position:relative}
.address-box input{width:100%;padding:12px 14px;border:1px solid #dce5df;border-radius:12px;margin-bottom:10px}
.address-suggestions{position:absolute;left:14px;right:14px;top:60px;background:#fff;border:1px solid #dce5df;border-radius:12px;box-shadow:0 8px 24px #00000018;z-index:1000;max-height:220px;overflow-y:auto}
.address-suggestions.hidden{display:none}
.suggestion-item{padding:11px 14px;font-size:13px;border-bottom:1px solid #f0f3f1;cursor:pointer}
.suggestion-item:last-child{border-bottom:0}
.suggestion-item:hover{background:#f4faf6}
.use-my-location-btn{border:1px solid #0f7a3d;color:#0f7a3d;background:#fff;border-radius:20px;padding:8px 14px;font-weight:700;font-size:12.5px;cursor:pointer;margin-bottom:10px}
.map-box{width:100%;height:240px;border-radius:14px;background:#eef7f1;z-index:1}
.map-fallback{color:#8a988f;font-size:12.5px;text-align:center;padding:0 10px}
.directions-link{display:inline-block;margin-top:6px;font-size:12px;font-weight:700;color:#0f7a3d}
.whatsapp-link{display:inline-block;margin-top:6px;margin-left:10px;font-size:12px;font-weight:700;color:#1fa855}

/* ===== CART / CHECKOUT ===== */
.cart-summary{background:#fff;border:1px solid #e6eee9;border-radius:16px;padding:16px;margin-top:14px;box-shadow:0 4px 15px #00000006}
.cart-summary.hidden{display:none}
.cart-row{display:flex;justify-content:space-between;padding:6px 0;font-size:13.5px;color:#56635b}
.cart-row.total{border-top:1px solid #eef2ef;margin-top:6px;padding-top:12px;font-size:16px;color:#0f7a3d;font-weight:800}
.primary.full{display:block;width:100%;text-align:center;margin-top:12px;padding:13px;border:0;border-radius:14px;cursor:pointer}

/* ===== LIVE CHAT ===== */
.chat-bubble{position:fixed;bottom:78px;right:16px;width:54px;height:54px;border-radius:50%;background:#0f7a3d;color:#fff;border:0;font-size:24px;box-shadow:0 8px 20px #00000030;z-index:900;cursor:pointer}
.chat-bubble.hidden{display:none}
.chat-panel{position:fixed;bottom:78px;right:16px;left:16px;max-width:380px;margin:0 auto;height:60vh;max-height:460px;background:#fff;border-radius:18px;box-shadow:0 12px 40px #00000030;display:flex;flex-direction:column;overflow:hidden;z-index:950}
.chat-panel.hidden{display:none}
.chat-panel-head{background:#0f7a3d;color:#fff;padding:14px 16px;display:flex;justify-content:space-between;align-items:center;font-weight:700}
.chat-panel-head button{background:none;border:0;color:#fff;font-size:16px;cursor:pointer}
.chat-messages{flex:1;overflow-y:auto;padding:12px 14px;display:flex;flex-direction:column;gap:8px;background:#f7faf8}
.chat-bubble-msg{max-width:78%;padding:9px 13px;border-radius:14px;font-size:13px;line-height:1.4}
.chat-bubble-msg.mine{align-self:flex-end;background:#0f7a3d;color:#fff;border-bottom-right-radius:4px}
.chat-bubble-msg.theirs{align-self:flex-start;background:#fff;border:1px solid #e6eee9;border-bottom-left-radius:4px}
.chat-input-row{display:flex;gap:8px;padding:10px;border-top:1px solid #eef2ef;background:#fff}
.chat-input-row input{flex:1;padding:10px 14px;border:1px solid #dce5df;border-radius:20px}
.chat-input-row button{border-radius:50%;width:38px;height:38px;padding:0;display:flex;align-items:center;justify-content:center}
.chat-thread{margin-top:14px;background:#fff;border:1px solid #e6eee9;border-radius:16px;overflow:hidden;display:flex;flex-direction:column;height:420px}
.chat-thread.hidden{display:none}
.chat-thread .back-link{margin:10px 10px 0}
.chat-customer-item{cursor:pointer}

/* ===== NOTIFICATIONS ===== */
.notif-wrap{position:relative}
.notif-bell{border:0;background:none;font-size:20px;cursor:pointer;position:relative;padding:6px}
.notif-bell.hidden{display:none}
.notif-badge{position:absolute;top:0;right:0;background:#d9483a;color:#fff;font-size:10px;font-weight:800;border-radius:10px;padding:1px 5px;min-width:16px}
.notif-badge.hidden{display:none}
.notif-dropdown{position:absolute;top:44px;right:0;width:300px;max-height:380px;overflow-y:auto;background:#fff;border-radius:16px;box-shadow:0 12px 35px #00000020;z-index:1000}
.notif-dropdown.hidden{display:none}
.notif-dropdown-head{padding:12px 16px;font-weight:800;border-bottom:1px solid #eef2ef}
.notif-list{padding:6px}
.notif-item{padding:10px 12px;border-radius:10px}
.notif-item.unread{background:#eef7f1}
.notif-item b{display:block;font-size:13px}
.notif-item small{display:block;color:#758478;font-size:11.5px;margin-top:2px}
.notif-time{color:#a3aea5!important}
@media(max-width:600px){.notif-dropdown{position:fixed;top:70px;left:12px;right:12px;width:auto}}

/* ===== VENDOR / RIDER WALLET ===== */
.wallet-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
.wallet-card{background:#fff;border:1px solid #e6eee9;border-radius:16px;padding:16px;text-align:center;box-shadow:0 4px 15px #00000006}
.wallet-card span{display:block;font-size:20px;font-weight:800;color:#0f7a3d}
.wallet-card b{display:block;font-size:12px;color:#56635b;margin-top:4px;font-weight:600}
.wallet-card.warn{border-color:#f3c58a;background:#fff8ec}
.wallet-card.warn span{color:#e57d18}

/* ===== ADMIN RATE EDIT ===== */
.rate-edit{display:flex;align-items:center;gap:6px;font-size:12px}
.rate-edit input{width:52px;padding:6px 8px;border:1px solid #dce5df;border-radius:8px}

/* ===== PRODUCT IMAGE / STOCK / RATING ===== */
.product-img img{width:100%;height:100%;object-fit:cover;border-radius:14px}
.stock-note{display:block;color:#758478;font-size:11.5px;margin-top:2px}
.rating{font-size:12px;color:#e57d18;font-weight:700;margin-top:4px}
.rating small{color:#8a988f;font-weight:500}
.add[disabled]{background:#c8d0cb;cursor:not-allowed}

/* ===== REVIEW MODAL ===== */
.review-modal{position:fixed;inset:0;background:#00000060;display:flex;align-items:center;justify-content:center;z-index:2000;padding:20px}
.review-modal.hidden{display:none}
.review-modal-box{background:#fff;border-radius:18px;padding:22px;max-width:340px;width:100%;text-align:center}
.review-modal-box h3{margin:0 0 14px}
.star-picker{font-size:32px;margin-bottom:14px}
.star{cursor:pointer;color:#dde5e0}
.star.filled{color:#e57d18}
.review-modal-box textarea{width:100%;padding:10px 12px;border:1px solid #dce5df;border-radius:12px;margin-bottom:12px;font-family:inherit;resize:vertical}

/* ===== SIGNUP FORM: select, terms, checkbox ===== */
.auth-form select{padding:12px 14px;border:1px solid #dce5df;border-radius:12px;width:100%;background:#fff;font-family:inherit}
#vendorFields,#riderFields,#cnicFields,#payoutFields,#termsBox{display:flex;flex-direction:column;gap:10px;padding-top:6px;border-top:1px dashed #e0e8e3;margin-top:6px}
#vendorFields.hidden,#riderFields.hidden,#cnicFields.hidden,#payoutFields.hidden,#termsBox.hidden{display:none}
.link-btn{background:none;border:0;color:#0f7a3d;font-weight:700;font-size:13px;padding:4px 0;text-align:left;cursor:pointer;text-decoration:underline}
.terms-text{background:#f6faf7;border-radius:12px;padding:12px 14px;font-size:12.5px;color:#4b574f;max-height:220px;overflow-y:auto}
.terms-text.hidden{display:none}
.terms-text p{margin:0 0 8px}
.terms-check{display:flex;align-items:flex-start;gap:8px;font-size:12.5px;color:#4b574f;cursor:pointer}
.terms-check input{width:auto;margin-top:2px}
.admin-vendor-list a{color:#0f7a3d;font-weight:600}

/* ===== STATUS TOGGLE (vendor open/closed, rider online/offline) ===== */
.status-toggle{display:flex;align-items:center;gap:10px;background:#f6faf7;border-radius:14px;padding:12px 16px;margin:12px 0;font-weight:700;font-size:13.5px;color:#2c3a30;cursor:pointer}
.status-toggle input{width:20px;height:20px;accent-color:#0f7a3d}

/* ===== COUPON ===== */
.coupon-row{display:flex;gap:8px;margin-bottom:8px}
.coupon-row input{flex:1;padding:10px 12px;border:1px solid #dce5df;border-radius:10px}
.coupon-msg{font-size:12px;color:#0f7a3d;margin:0 0 10px}
.coupon-msg.hidden{display:none}

/* ===== WISHLIST HEART ===== */
.product{position:relative}
.wishlist-heart{position:absolute;top:8px;right:8px;background:#ffffffcc;border:0;border-radius:50%;width:32px;height:32px;font-size:18px;color:#c9463a;cursor:pointer;z-index:2}
.wishlist-heart.active{color:#e0342a}

/* ===== ORDER STATUS STEPPER ===== */
.order-card{flex-direction:column;align-items:stretch}
.order-stepper{display:flex;flex-wrap:wrap;align-items:center;gap:4px;font-size:11px;color:#a3aea5;margin:8px 0}
.order-stepper .step{padding:3px 8px;border-radius:20px;background:#eef2ef;white-space:nowrap}
.order-stepper .step.done{background:#0f7a3d;color:#fff;font-weight:700}
.order-stepper i{color:#c4cdc6;font-style:normal}
.order-stepper.cancelled{color:#c9463a;font-weight:700}

/* ===== ADDRESS BOOK / MINI MAP ===== */
.mini-map{height:220px;border-radius:14px;margin:6px 0;overflow:hidden}
.mini-map.hidden{display:none}

/* ===== REFERRAL ===== */
.referral-code-box{display:flex;align-items:center;justify-content:space-between;background:#f6faf7;border:2px dashed #0f7a3d;border-radius:14px;padding:16px;margin:10px 0}
.referral-code-box span{font-size:20px;font-weight:800;letter-spacing:2px;color:#0f7a3d}

/* ===== VENDOR SALES REPORT ===== */
.sub-head{font-size:14px;font-weight:800;margin:16px 0 8px;color:#2c3a30}
#vendorSalesChart{max-height:220px}

/* ===== TRACK ORDER MODAL ===== */
.track-box{max-width:400px}
.track-map{height:280px;border-radius:14px;overflow:hidden;margin-top:10px}
.eta-text{font-size:13.5px;font-weight:700;color:#0f7a3d;margin:4px 0}

/* ===== ORDER CHAT MODAL ===== */
.chat-box{max-width:380px;display:flex;flex-direction:column}
.chat-messages{height:260px;overflow-y:auto;display:flex;flex-direction:column;gap:8px;padding:8px 2px;text-align:left}
.chat-bubble{background:#eef2ef;border-radius:14px;padding:8px 12px;font-size:13.5px;max-width:80%;align-self:flex-start}
.chat-bubble.mine{background:#0f7a3d;color:#fff;align-self:flex-end}
.chat-input-row{display:flex;gap:8px;margin-top:10px}
.chat-input-row input{flex:1;padding:10px 12px;border:1px solid #dce5df;border-radius:10px}

/* ===== VENDOR OPERATING HOURS ===== */
.hours-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:10px 0;font-size:12.5px}
.hours-row input[type="time"]{padding:8px 10px;border:1px solid #dce5df;border-radius:10px}

/* ===== DISCOUNTS / SALE PRICE ===== */
.sale-price{color:#d9483a;font-weight:800}
.price s{color:#a3aea5;font-weight:500;margin-right:4px}

/* ===== FOLLOW SHOP ===== */
.follow-shop-btn{display:block;width:100%;margin-top:6px;padding:8px;border:1px solid #0f7a3d;border-radius:10px;background:#fff;color:#0f7a3d;font-weight:700;font-size:11.5px;cursor:pointer}
.follow-shop-btn.active{background:#0f7a3d;color:#fff}

/* ===== BULK CSV UPLOAD ===== */
.bulk-upload-box{background:#f6faf7;border-radius:14px;padding:14px;margin-top:12px}
.bulk-upload-box input[type="file"]{margin:8px 0;display:block}

/* ===== SCHEDULED DELIVERY ===== */
.schedule-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px;font-size:12.5px;margin-bottom:10px}
.schedule-row input[type="datetime-local"]{padding:8px 10px;border:1px solid #dce5df;border-radius:10px}

/* ===== ADMIN LIVE FLEET MAP ===== */
.fleet-map{height:320px;border-radius:14px;overflow:hidden;margin-top:8px}

/* ===== LEGAL LINKS ===== */
.legal-links{font-size:11.5px;color:#8a988f;margin-top:16px}
.legal-links a{color:#0f7a3d;text-decoration:underline}

/* ===== MULTIPLE PAYOUT OPTIONS ===== */
.small-label{margin-top:10px;color:#0f7a3d}

/* ===== SECURE DOCUMENT VIEW BUTTON ===== */
.thumb-btn{width:auto;flex-shrink:0;padding:8px 12px;border:1px solid #0f7a3d;border-radius:10px;background:#fff}

/* ===== IN-APP CAMERA CAPTURE ===== */
.camera-field{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:4px}
.camera-status{font-size:11.5px;color:#8a988f}
.camera-status.captured{color:#0f7a3d;font-weight:700}
.camera-box{max-width:400px}
.camera-viewport{position:relative;width:100%;border-radius:14px;overflow:hidden;background:#000;margin:10px 0}
.camera-viewport video{width:100%;display:block;max-height:60vh;object-fit:cover}
.camera-guide{
  position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  width:88%;border:3px solid #fff;border-radius:10px;
  box-shadow:0 0 0 999px rgba(0,0,0,0.45);
  pointer-events:none;
}
.camera-preview-img{width:100%;border-radius:14px;margin:10px 0;display:block}
.camera-preview-controls{display:flex;gap:10px;margin-top:10px}
.camera-preview-controls .pill{flex:1;text-align:center}

/* ===== HERO SLIDER ===== */
.hero-slider-wrap{max-width:1100px;margin:0 auto 25px;padding:0 12px;position:relative}
.hero-slider{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;border-radius:24px;box-shadow:0 10px 30px #00000015}
.hero-slider::-webkit-scrollbar{display:none}
.hero-slide{flex:0 0 100%;scroll-snap-align:start}
.hero-slide svg{width:100%;height:auto;display:block}
.hero-dots{display:flex;justify-content:center;gap:6px;margin-top:10px}
.hero-dots span{width:7px;height:7px;border-radius:50%;background:#c9d6c7;transition:all .2s}
.hero-dots span.active{background:#0f7a3d;width:18px;border-radius:5px}

/* ===== CATEGORY CIRCLE ICONS ===== */
.category{background:transparent;border:0;box-shadow:none;padding:6px}
.cat-circle{
  width:60px;height:60px;border-radius:50%;
  background:linear-gradient(135deg,#eafff0,#fff4e5);
  display:flex;align-items:center;justify-content:center;
  font-size:26px;margin:0 auto 8px;
  box-shadow:0 4px 12px #00000010;
}
.category b{font-size:12px;font-weight:600}

/* ===== DISCOUNT BADGE ===== */
.product-img{position:relative}
.discount-badge{
  position:absolute;top:6px;left:6px;z-index:2;
  background:#d9483a;color:#fff;font-size:11px;font-weight:800;
  padding:3px 7px;border-radius:8px;box-shadow:0 2px 6px #00000020;
}

/* ===== FLOATING WHATSAPP BUTTON ===== */
.whatsapp-float{
  position:fixed;right:16px;bottom:78px;z-index:40;
  width:52px;height:52px;border-radius:50%;
  background:#25D366;display:flex;align-items:center;justify-content:center;
  font-size:26px;box-shadow:0 6px 18px #00000030;
}

/* ===== FLOATING SUPPORT CHAT BUBBLE (stacked above WhatsApp button) ===== */
.chat-bubble{
  position:fixed;right:16px;bottom:140px;z-index:40;
  width:52px;height:52px;border-radius:50%;
  background:#0f7a3d;color:#fff;border:0;
  display:flex;align-items:center;justify-content:center;
  font-size:24px;cursor:pointer;box-shadow:0 6px 18px #00000030;
}
.chat-bubble.hidden{display:none}

/* ===== HAMBURGER MENU + SIDE DRAWER ===== */
.menu-btn{border:0;background:none;font-size:22px;cursor:pointer;padding:4px 8px 4px 0;color:#17251d}
.drawer-overlay{position:fixed;inset:0;background:#00000055;z-index:60}
.drawer-overlay.hidden{display:none}
.side-drawer{
  position:fixed;top:0;left:0;bottom:0;width:78%;max-width:300px;
  background:#fff;z-index:61;box-shadow:6px 0 30px #00000025;
  overflow-y:auto;padding-bottom:30px;
  animation:drawerIn .2s ease-out;
}
.side-drawer.hidden{display:none}
@keyframes drawerIn{from{transform:translateX(-100%)}to{transform:translateX(0)}}
.drawer-profile{background:#0f7a3d;color:#fff;padding:26px 18px;display:flex;align-items:center;gap:12px}
.drawer-avatar{width:44px;height:44px;border-radius:50%;background:#ffffff30;display:flex;align-items:center;justify-content:center;font-size:22px}
.drawer-profile b{display:block;font-size:15px}
.drawer-profile small{display:block;opacity:.85;font-size:12px;margin-top:2px}
.drawer-nav{display:flex;flex-direction:column;padding:10px 0}
.drawer-nav a{padding:13px 20px;font-size:14px;color:#2c3a30;font-weight:600}
.drawer-nav a:active{background:#f3f8f4}
.drawer-nav a.drawer-logout{color:#d9483a;border-top:1px solid #eef2ef;margin-top:8px}

/* ===== ABOUT / FAQ MODALS ===== */
.modal-text{font-size:13.5px;color:#4b574f;line-height:1.6;margin:10px 0}
.faq-box{text-align:left;max-height:70vh;overflow-y:auto}
.faq-item{margin-bottom:14px}
.faq-item b{display:block;font-size:13.5px;margin-bottom:4px}
.faq-item p{font-size:12.5px;color:#5b6a5f;margin:0;line-height:1.5}

/* ===== VENDOR CHAT BUTTON ===== */
.chat-shop-btn{display:block;width:100%;margin-top:6px;padding:8px;border:1px solid #0f7a3d;border-radius:10px;background:#eafff0;color:#0f7a3d;font-weight:700;font-size:11.5px;cursor:pointer}

/* ===== PROFESSIONAL PRODUCT IMAGE LOOK ===== */
.product-img{
  height:150px;border-radius:16px;
  background:#ffffff;border:1px solid #eef2ef;
  display:grid;place-items:center;font-size:48px;
  box-shadow:0 3px 10px #00000008;
  overflow:hidden;
}
.product-img img{width:100%;height:100%;object-fit:cover;border-radius:16px}
@media(max-width:600px){.product-img{height:130px}}

/* ===== BUTTON PRESS FEEDBACK (all primary green actions) ===== */
.primary,.pill.accept,.add,.follow-shop-btn,.chat-shop-btn,.whatsapp-float,.chat-bubble,.cat-circle{transition:filter .15s,transform .1s}
.primary:active,.pill.accept:active,.add:active,.follow-shop-btn:active,.chat-shop-btn:active,.whatsapp-float:active,.chat-bubble:active{
  filter:brightness(0.82);transform:scale(0.97);
}
.pill.reject:active{filter:brightness(0.82);transform:scale(0.97)}
.category:active .cat-circle{filter:brightness(0.9);transform:scale(0.94)}
