/* LEMURIAN BAZAAR M3.4 COMMON CATEGORIES + TOP CHANNEL TOGGLE v1.0.0
 * Uses the approved mockup hero artwork and the official Lemurian Bazaar logo.
 * Live products, prices, ATS, carts and checkout remain rendered by app.js.
 */
:root{--lb-blue:#078ed1;--lb-blue2:#005fa7;--lb-green:#69b927;--lb-green2:#3f8b18;--lb-navy:#0b2f58;--lb-border:#dfe8f0}
.lb-theme-preview-badge{position:fixed;right:18px;bottom:18px;z-index:9999;display:grid;gap:2px;max-width:330px;padding:12px 16px;border-radius:16px;background:rgba(13,36,65,.96);color:#fff;box-shadow:0 18px 50px rgba(0,0,0,.24);font:13px/1.35 system-ui,sans-serif}.lb-theme-preview-badge b{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#8fdcff}.lb-theme-preview-badge span{font-size:17px;font-weight:900}.lb-theme-preview-badge small{opacity:.82}
html[data-marketplace-theme="current"] #lbMockHeader,html[data-marketplace-theme="current"] #lbThemeExperience,html[data-marketplace-theme="current"] #lbThemeFooter{display:none!important}
html[data-marketplace-theme]:not([data-marketplace-theme="current"]) body{margin:0;background:#f5f8fb;color:#10233f}
html[data-marketplace-theme]:not([data-marketplace-theme="current"]) body>.topbar{display:none!important}
html[data-marketplace-theme]:not([data-marketplace-theme="current"]) main{max-width:1536px;margin:0 auto;padding:0 8px 30px}
html[data-marketplace-theme]:not([data-marketplace-theme="current"]) main>.hero{display:none!important}
html[data-marketplace-theme]:not([data-marketplace-theme="current"]) body>footer{display:none!important}
html[data-marketplace-theme]:not([data-marketplace-theme="current"]) .primary,html[data-marketplace-theme]:not([data-marketplace-theme="current"]) .add-btn,html[data-marketplace-theme]:not([data-marketplace-theme="current"]) #checkoutButton,html[data-marketplace-theme]:not([data-marketplace-theme="current"]) #placeOrderButton{background:linear-gradient(180deg,#23b5ee,#078ed1 52%,#0064aa)!important;color:#fff!important;border:1px solid #0067aa!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 6px 14px rgba(0,111,181,.22)!important;border-radius:10px!important}
.lb-mock-header{position:sticky;top:0;z-index:900;background:#fff;border-bottom:1px solid #dce6ee;box-shadow:0 3px 13px rgba(18,49,80,.06);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.lb-mock-head-main{max-width:1536px;margin:auto;min-height:78px;display:grid;grid-template-columns:220px minmax(300px,1fr) 220px auto;align-items:center;gap:24px;padding:8px 26px}.lb-brand-button{border:0;background:transparent;padding:0;cursor:pointer;text-align:left}.lb-brand-button img{display:block;width:205px;height:62px;object-fit:contain;object-position:left center}.lb-mock-search{height:42px;display:grid;grid-template-columns:32px 1fr 92px;align-items:center;border:1px solid #d9e5ee;border-radius:999px;background:#fff;overflow:hidden;box-shadow:0 2px 8px rgba(20,58,90,.05)}.lb-mock-search>span{display:grid;place-items:center;font-size:21px;color:#153654}.lb-mock-search input{border:0;outline:0;height:100%;min-width:0;font-size:13px;color:#253b52}.lb-mock-search button,.lb-mock-nav .all-categories,.lb-featured-card button,.lb-audience-grid button,.lb-channel-pills button{border:0;color:#fff;font-weight:850;cursor:pointer;background:linear-gradient(180deg,#23b5ee,#078ed1 52%,#0064aa);box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 5px 11px rgba(0,103,170,.2)}.lb-mock-search button{height:100%;border-radius:999px;font-size:13px}.lb-mock-head-links{display:flex;align-items:center;gap:20px;white-space:nowrap}.lb-mock-head-links button{border:0;background:transparent;color:#132e4d;font-size:12px;font-weight:800;cursor:pointer}.lb-deliver{display:grid;grid-template-columns:auto auto;column-gap:5px;align-items:center;font-size:12px;color:#122d4c}.lb-deliver:first-letter{font-size:18px}.lb-deliver small{grid-column:2;font-size:10px;color:#64798e}.lb-mock-cart{position:relative}.lb-mock-cart em{position:absolute;right:-12px;top:-12px;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#078ed1;color:#fff;font-style:normal;font-size:11px}.lb-mock-nav{max-width:1536px;margin:auto;display:flex;align-items:center;gap:3px;padding:0 20px 7px;overflow:auto}.lb-mock-nav button{border:0;background:transparent;padding:10px 13px;color:#102e4e;font-size:12px;font-weight:800;white-space:nowrap;border-radius:8px;cursor:pointer}.lb-mock-nav button:hover{background:#eef6fb;color:#006aaa}.lb-mock-nav .all-categories{padding:10px 17px;border-radius:8px}
.lb-theme-experience{display:grid;gap:14px;margin-top:8px}.lb-exact-hero{position:relative;border-radius:11px;overflow:hidden;background:#fff;box-shadow:0 6px 18px rgba(23,52,80,.08)}.lb-exact-hero img{display:block;width:100%;height:auto}.lb-hero-hotspot{position:absolute;left:3.2%;top:58%;width:18%;height:22%;border:0;background:transparent;cursor:pointer;border-radius:999px}.lb-fidelity-farmer-first .lb-hero-hotspot{left:3.7%;top:67%;width:23%;height:19%}.lb-fidelity-food-business .lb-hero-hotspot{left:3.2%;top:61%;width:20%;height:20%}.lb-fidelity-community-story .lb-hero-hotspot{left:3.5%;top:69%;width:20%;height:21%}.lb-hero-hotspot:focus-visible{outline:3px solid #29b6ef;outline-offset:-4px}
.lb-mock-primary{background:#fff;border:1px solid var(--lb-border);border-radius:11px;padding:16px 18px;box-shadow:0 4px 14px rgba(24,53,80,.04)}.lb-section-bar{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:12px}.lb-section-bar h2{margin:0;color:#0c2f55;font-size:23px}.lb-section-bar p{margin:4px 0 0;color:#62778c;font-size:12px}.lb-section-bar>button{border:0;background:transparent;color:#0671b5;font-weight:850;cursor:pointer}.lb-mock-category-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px}.lb-mock-category{border:1px solid #e0e9ef;background:#fff;border-radius:9px;overflow:hidden;padding:0 0 8px;display:grid;gap:4px;text-align:center;cursor:pointer;color:#16314e;box-shadow:0 3px 9px rgba(25,54,80,.04)}.lb-cat-media{height:82px;display:grid;place-items:center;background:#f5f9fb;font-size:33px;overflow:hidden}.lb-cat-media img{width:100%;height:100%;object-fit:cover}.lb-mock-category b{font-size:12px;padding:0 4px}.lb-mock-category small{font-size:9px;color:#708397}.lb-mock-category:hover{transform:translateY(-1px);border-color:#6dbd2e}
.lb-audience-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:14px}.lb-audience-grid article{background:linear-gradient(160deg,#f2fbec,#eef7ff);border:1px solid #dfe9ef;border-radius:10px;padding:14px;text-align:center;min-height:140px;display:grid;place-items:center;align-content:center;gap:4px}.lb-audience-grid article>span{font-size:31px}.lb-audience-grid b{font-size:16px;color:#0d5e38}.lb-audience-grid p{font-size:11px;color:#576d80;margin:2px 0 7px}.lb-audience-grid button{border-radius:999px;padding:8px 14px}
.lb-business-primary{display:grid;grid-template-columns:1fr 1.45fr;gap:14px}.lb-business-primary .lb-audience-grid{margin:0}.lb-featured-wrap{min-width:0}.lb-featured-products{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.lb-featured-card{min-width:0;border:1px solid #dfe8ef;background:#fff;border-radius:9px;padding:7px;display:grid;grid-template-rows:92px auto auto auto 32px;gap:4px;box-shadow:0 3px 8px rgba(22,50,76,.05)}.lb-featured-image{display:grid;place-items:center;overflow:hidden;border-radius:7px;background:#f5f8fa;font-size:28px}.lb-featured-image img{width:100%;height:100%;object-fit:cover}.lb-featured-card b{font-size:11px;line-height:1.15;color:#122f50;min-height:26px;overflow:hidden}.lb-featured-card>span{font-size:13px;font-weight:900;color:#0c3155}.lb-featured-card small{font-size:8.5px;color:#587087;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lb-featured-card button{border-radius:7px;font-size:10px}.lb-featured-empty{grid-column:1/-1;padding:30px;text-align:center;color:#6b7e91;background:#f8fbfd;border-radius:10px}
.lb-corporate-primary{display:grid;grid-template-columns:1fr 210px;gap:12px}.lb-corporate-promo{border-radius:10px;overflow:hidden;background:#eef8ec}.lb-corporate-promo img{width:100%;height:100%;object-fit:cover;display:block}.lb-live-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 18px;background:#eef7fb;border:1px solid #dce8f0;border-radius:11px}.lb-live-heading span{font-size:9px;letter-spacing:.13em;font-weight:950;color:#0877b8}.lb-live-heading h2{margin:2px 0;color:#113455;font-size:20px}.lb-live-heading p{margin:0;font-size:11px;color:#647a8f}.lb-channel-pills{display:flex;gap:8px}.lb-channel-pills button{padding:8px 14px;border-radius:999px}.lb-channel-pills button:last-child{background:linear-gradient(180deg,#92db52,#66b52a 52%,#438d19)}
html[data-marketplace-theme]:not([data-marketplace-theme="current"]) .content-grid{margin-top:14px;grid-template-columns:245px 1fr;gap:14px}.lb-fidelity-food-business~.hero+.location-panel+.content-grid{}html[data-marketplace-theme]:not([data-marketplace-theme="current"]) .vendors-panel,html[data-marketplace-theme]:not([data-marketplace-theme="current"]) .catalog-panel{border-radius:11px!important;box-shadow:0 4px 14px rgba(25,55,82,.05)!important}.lb-mock-footer{max-width:1536px;margin:0 auto 16px;padding:18px 24px;background:#073a68;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:20px;border-radius:10px}.lb-mock-footer>div{display:flex;align-items:center;gap:18px}.lb-mock-footer img{width:165px;background:#fff;border-radius:6px;padding:3px}.lb-mock-footer span{font-size:12px;opacity:.88}.lb-mock-footer nav{display:flex;gap:8px}.lb-mock-footer button{border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.08);color:#fff;border-radius:999px;padding:8px 12px;font-weight:800;cursor:pointer}
/* Theme-specific framing matching the approved mockups */
html[data-marketplace-theme="farmer-first"] body{background:#f7fafc}.lb-fidelity-farmer-first .lb-mock-primary{background:#fff}.lb-fidelity-farmer-first .lb-section-bar h2{color:#0e3157}
html[data-marketplace-theme="food-business"] body{background:#f2f6f9}.lb-fidelity-food-business .lb-mock-primary{background:#f9fcff}.lb-fidelity-food-business .lb-section-bar h2{color:#0c3357}
html[data-marketplace-theme="community-story"] body{background:#fffdf8}.lb-fidelity-community-story .lb-mock-primary{background:#fff}.lb-fidelity-community-story .lb-section-bar h2{font-family:Georgia,serif;color:#1e4f31}
html[data-marketplace-theme="corporate-clean"] body{background:#f7f9fb}.lb-fidelity-corporate-clean .lb-mock-primary{background:#fff}.lb-fidelity-corporate-clean .lb-section-bar h2{color:#0a2e53}
@media(max-width:1200px){.lb-mock-head-main{grid-template-columns:200px 1fr auto;gap:14px}.lb-brand-button img{width:180px}.lb-mock-head-links{gap:10px}.lb-mock-category-grid{grid-template-columns:repeat(4,1fr)}.lb-featured-products{grid-template-columns:repeat(3,1fr)}.lb-business-primary{grid-template-columns:1fr}.lb-corporate-primary{grid-template-columns:1fr 190px}}
@media(max-width:850px){.lb-mock-header{position:relative}.lb-mock-head-main{grid-template-columns:1fr auto;grid-template-areas:"brand links" "search search";padding:7px 12px;gap:8px}.lb-brand-button{grid-area:brand}.lb-mock-search{grid-area:search}.lb-mock-head-links{grid-area:links}.lb-deliver,.lb-mock-head-links>button:not(.lb-mock-cart){display:none}.lb-mock-nav{padding-left:10px;padding-right:10px}.lb-exact-hero{overflow:auto}.lb-exact-hero img{width:1050px;max-width:none}.lb-mock-category-grid{grid-template-columns:repeat(2,1fr)}.lb-audience-grid{grid-template-columns:1fr}.lb-featured-products{grid-template-columns:repeat(2,1fr)}.lb-corporate-primary{grid-template-columns:1fr}.lb-corporate-promo{display:none}html[data-marketplace-theme]:not([data-marketplace-theme="current"]) .content-grid{grid-template-columns:1fr}.lb-mock-footer{margin-left:8px;margin-right:8px;flex-direction:column;align-items:flex-start}.lb-theme-preview-badge{left:12px;right:12px;max-width:none}}
@media(max-width:520px){.lb-brand-button img{width:150px;height:50px}.lb-mock-head-links{gap:4px}.lb-mock-category-grid,.lb-featured-products{grid-template-columns:repeat(2,1fr)}.lb-section-bar,.lb-live-heading{align-items:flex-start;flex-direction:column}.lb-channel-pills{width:100%}.lb-channel-pills button{flex:1}.lb-mock-footer>div{flex-direction:column;align-items:flex-start}.lb-mock-footer img{width:140px}}


/* M3.4 — common marketplace navigation + top Shop Online / Nearby Stores toggle */
.lb-channel-toggle{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:4px;background:#eef3f7;border:1px solid #dce6ee;border-radius:999px;min-width:214px}
.lb-channel-toggle button{border:0;border-radius:999px;padding:9px 12px;background:transparent;color:#173652;font-weight:900;font-size:11px;cursor:pointer;white-space:nowrap;transition:.15s ease}
.lb-channel-toggle button.is-active[data-channel-switch="ecommerce"]{color:#fff;background:linear-gradient(180deg,#24b8ef,#078ed1 52%,#0063aa);box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 4px 10px rgba(0,105,172,.2)}
.lb-channel-toggle button.is-active[data-channel-switch="quick_commerce"]{color:#fff;background:linear-gradient(180deg,#94dd54,#67b629 52%,#428c18);box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 4px 10px rgba(71,139,25,.22)}
.lb-common-categories{background:#fff;border:1px solid var(--lb-border);border-radius:11px;padding:14px 16px;box-shadow:0 4px 14px rgba(24,53,80,.04)}
.lb-common-category-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:10px}
.lb-common-category-head span{font-size:9px;letter-spacing:.14em;font-weight:950;color:#0878b9}
.lb-common-category-head h2{margin:2px 0 0;color:#0d3155;font-size:20px}
.lb-common-category-head>button{border:0;background:transparent;color:#0671b5;font-weight:900;cursor:pointer}
.lb-common-category-scroll{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}
.lb-common-category-scroll>button{min-width:0;border:1px solid #dfe8ef;background:linear-gradient(180deg,#fff,#f8fbfd);border-radius:10px;padding:10px 7px;display:grid;place-items:center;gap:4px;color:#153451;cursor:pointer;box-shadow:0 2px 7px rgba(24,53,80,.04)}
.lb-common-category-scroll>button:hover{border-color:#72bd34;transform:translateY(-1px)}
.lb-common-category-scroll>button span{font-size:26px}
.lb-common-category-scroll>button b{font-size:10px;line-height:1.15;text-align:center}
@media(max-width:1280px){
  .lb-mock-head-main{grid-template-columns:190px minmax(260px,1fr) 200px auto;gap:10px}
  .lb-channel-toggle{min-width:196px}.lb-channel-toggle button{padding:8px 9px;font-size:10px}
  .lb-common-category-scroll{grid-template-columns:repeat(5,minmax(0,1fr))}
}
@media(max-width:900px){
  .lb-mock-head-main{grid-template-columns:1fr auto;grid-template-areas:"brand links" "search search" "toggle toggle";padding:7px 12px;gap:8px}
  .lb-brand-button{grid-area:brand}.lb-mock-search{grid-area:search}.lb-channel-toggle{grid-area:toggle;min-width:0}.lb-mock-head-links{grid-area:links}
  .lb-common-category-scroll{display:flex;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:3px}
  .lb-common-category-scroll>button{min-width:118px;scroll-snap-align:start}
}
@media(max-width:520px){
  .lb-common-category-head{align-items:flex-start;flex-direction:column}
  .lb-channel-toggle button{font-size:11px}
}
