/* JS Marketplace 1.1.0 — Marketplace Home Platform Hub */
body.jsm-marketplace-home-page{background:#f4f1e8!important;color:#10213f}
body.jsm-marketplace-home-page .jsf-context-shell.jsf-context-marketplace{display:block!important;max-width:none!important;margin:0!important;padding:0!important;width:100%!important}
body.jsm-marketplace-home-page .jsf-context-shell.jsf-context-marketplace>.jsf-context-tools,
body.jsm-marketplace-home-page .jsf-context-shell.jsf-context-marketplace>.jsf-context-right{display:none!important}
body.jsm-marketplace-home-page .jsf-context-shell.jsf-context-marketplace>.jsf-context-main{width:100%!important;max-width:none!important;min-width:0!important}
.jsm-marketplace-hub{--navy:#0c2747;--navy2:#10213f;--cream:#fffdf7;--gold:#e1bc38;--blue:#1478dd;--ink:#0b2342;--muted:#56697f;display:grid;grid-template-columns:220px minmax(0,1fr) 280px;gap:16px;width:min(1680px,calc(100% - 28px));margin:14px auto 34px;align-items:start;box-sizing:border-box;font-family:inherit}
.jsm-marketplace-hub *{box-sizing:border-box}.jsm-marketplace-hub a{text-decoration:none}.jsm-mp-rail{background:linear-gradient(180deg,#082744,#061d35);border-radius:18px;overflow:hidden;color:#fff;position:sticky;top:76px;min-height:760px;box-shadow:0 12px 28px rgba(7,27,48,.18)}
.jsm-mp-rail-head{display:flex;gap:12px;align-items:center;padding:22px 18px 18px;border-bottom:1px solid rgba(255,255,255,.14)}.jsm-mp-rail-icon{font-size:30px}.jsm-mp-rail-head b{display:block;color:#fff!important;font-size:20px}.jsm-mp-rail-head small{display:block;color:#d9e6f3!important;margin-top:2px}.jsm-mp-rail nav{padding:10px}.jsm-mp-rail nav a{display:flex;align-items:center;gap:11px;padding:11px 12px;border-radius:10px;color:#fff!important;font-weight:800;font-size:13px;position:relative}.jsm-mp-rail nav a i{font-style:normal;color:#fff!important;width:22px;text-align:center}.jsm-mp-rail nav a:hover{background:rgba(255,255,255,.11)}.jsm-mp-rail nav a.active{background:linear-gradient(90deg,#d8b334,#edce5b);color:#10213f!important;box-shadow:inset 3px 0 #fff}.jsm-mp-rail nav a.active i{color:#10213f!important}.jsm-mp-rail nav a em{margin-left:auto;background:#f2cb3b;color:#10213f;border-radius:999px;min-width:23px;text-align:center;font-style:normal;padding:2px 7px}.jsm-mp-rail hr{border:0;border-top:1px solid rgba(255,255,255,.15);margin:8px 6px}.jsm-mp-rail-story{height:235px;background-size:cover;background-position:center;margin:12px;border-radius:14px;padding:18px;display:flex;flex-direction:column;justify-content:flex-end;gap:6px}.jsm-mp-rail-story strong{font-family:Georgia,serif;font-size:20px;color:#fff!important}.jsm-mp-rail-story span{color:#f3d257!important;font-weight:850}
.jsm-mp-main{display:grid;gap:14px;min-width:0}.jsm-mp-right{display:grid;gap:14px;position:sticky;top:76px}.jsm-mp-hero{min-height:300px;border-radius:18px;background-size:cover;background-position:center;position:relative;overflow:hidden;padding:34px 32px;color:#fff;display:flex;align-items:center;box-shadow:0 12px 30px rgba(7,27,48,.18)}.jsm-mp-hero>div:first-child{position:relative;z-index:2;max-width:680px}.jsm-mp-hero small{color:#f3ce59!important;font-weight:950;letter-spacing:.14em}.jsm-mp-hero h1{font-family:Georgia,serif;font-size:clamp(42px,5vw,66px);line-height:.95;margin:9px 0 13px;color:#fff!important;text-shadow:0 3px 16px rgba(0,0,0,.35)}.jsm-mp-hero p{font-size:18px;line-height:1.45;color:#fff!important;margin:0 0 18px}.jsm-mp-hero-actions{display:flex;gap:10px;flex-wrap:wrap}.jsm-mp-hero-chips{position:absolute;right:18px;bottom:16px;display:flex;gap:8px;flex-wrap:wrap;z-index:2}.jsm-mp-hero-chips span{background:rgba(5,26,47,.82);border:1px solid rgba(255,255,255,.22);border-radius:999px;padding:8px 12px;color:#fff!important;font-weight:800;font-size:12px;backdrop-filter:blur(4px)}
.jsm-mp-btn{min-height:42px;padding:0 16px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;font-weight:900;border:1px solid transparent;cursor:pointer;font:inherit;font-size:13px}.jsm-mp-btn-primary{background:#1378df;color:#fff!important;border-color:#1378df}.jsm-mp-btn-gold{background:#e4bd32;color:#10213f!important;border-color:#e4bd32}.jsm-mp-btn:hover{transform:translateY(-1px);filter:brightness(.98)}
.jsm-mp-section{background:#fffdf7;border:1px solid #ddd5c4;border-radius:16px;padding:16px;box-shadow:0 6px 18px rgba(7,27,48,.055);min-width:0}.jsm-mp-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:12px}.jsm-mp-section-head h2{font-family:Georgia,serif;color:#10213f!important;margin:0;font-size:24px}.jsm-mp-section-head p{margin:3px 0 0;color:#5b6d7f!important}.jsm-mp-section-head>a{color:#1371c5!important;font-weight:850;font-size:12px;white-space:nowrap}
.jsm-mp-feature-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.jsm-mp-feature-grid>a{border:1px solid #dbe3eb;border-radius:12px;padding:13px;display:grid;grid-template-columns:44px 1fr;grid-template-rows:auto auto;gap:3px 9px;color:#10213f;background:#f8fbff}.jsm-mp-feature-grid>a:nth-child(2){background:#fff9e8}.jsm-mp-feature-grid>a:nth-child(3){background:#eefaf1}.jsm-mp-feature-grid>a:nth-child(4){background:#fff3ec}.jsm-mp-feature-grid>a span{grid-row:1/3;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#e7f1ff;font-size:23px}.jsm-mp-feature-grid>a b{color:#10213f!important;font-size:14px}.jsm-mp-feature-grid>a small{color:#51677d!important;line-height:1.35}
.jsm-mp-category-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px}.jsm-mp-category-grid>a{border:1px solid #dce2e8;border-radius:11px;overflow:hidden;background:#fff;color:#10213f}.jsm-mp-category-grid img{width:100%;height:78px;object-fit:cover;background:#eef3f7}.jsm-mp-category-grid div{padding:8px 9px}.jsm-mp-category-grid b{display:block;color:#10213f!important;font-size:12px}.jsm-mp-category-grid small{color:#66809b!important}
.jsm-mp-split{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.9fr);gap:14px;min-width:0}.jsm-mp-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.jsm-mp-product-card{border:1px solid #d8dee6;border-radius:12px;overflow:hidden;background:#fff;min-width:0;box-shadow:0 4px 12px rgba(7,27,48,.04)}.jsm-mp-product-media{height:128px;background-size:cover;background-position:center;position:relative;background-color:#edf1f4}.jsm-mp-deal-badge{position:absolute;left:8px;top:8px;background:#e7c039;color:#10213f!important;font-weight:900;border-radius:6px;padding:5px 7px;font-size:10px}.jsm-mp-save-form{position:absolute;right:7px;top:7px}.jsm-mp-save-form button{width:32px;height:32px;border-radius:50%;border:1px solid #d6dbe1;background:#fff;color:#c82847;font-size:19px;cursor:pointer}.jsm-mp-product-body{padding:10px}.jsm-mp-product-body h3{margin:0 0 4px;font-size:14px;line-height:1.2}.jsm-mp-product-body h3 a{color:#10213f!important}.jsm-mp-store-name{margin:0 0 8px;color:#58718a!important;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.jsm-mp-product-meta{display:flex;justify-content:space-between;align-items:end;gap:8px;margin-bottom:9px}.jsm-mp-product-meta strong{color:#0e3157!important;font-size:18px}.jsm-mp-product-meta span{font-size:10px;color:#64788d!important}.jsm-mp-product-actions form{margin:0}.jsm-mp-product-actions .jsm-mp-btn{width:100%;min-height:34px;font-size:11px}
.jsm-mp-map-card{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(180px,.8fr);gap:12px;align-items:stretch}.jsm-mp-map-card>img{width:100%;height:255px;object-fit:cover;border-radius:11px}.jsm-mp-map-card>div{padding:4px}.jsm-mp-map-card h3{color:#10213f!important;margin:0 0 9px;font-size:15px}.jsm-mp-map-card ul{list-style:none;padding:0;margin:0 0 12px;display:grid;gap:7px}.jsm-mp-map-card li{color:#405a74!important;font-size:12px}.jsm-mp-map-card .jsm-mp-btn{font-size:11px;padding:0 10px;width:100%}
.jsm-mp-store-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.jsm-mp-store-strip>a{border:1px solid #dce2e8;border-radius:11px;padding:10px;display:flex;gap:9px;align-items:center;background:#fff}.jsm-mp-store-strip>a>span{width:43px;height:43px;border-radius:50%;display:grid;place-items:center;background:#eaf1f7;color:#123354!important;font-weight:950;font-size:20px}.jsm-mp-store-strip b{display:block;color:#10213f!important}.jsm-mp-store-strip small{color:#64788d!important}
.jsm-mp-side-card{background:#fffdf7;border:1px solid #ddd5c4;border-radius:15px;padding:14px;box-shadow:0 5px 16px rgba(7,27,48,.055)}.jsm-mp-side-card h3{margin:0 0 9px;color:#10213f!important;font-size:17px}.jsm-mp-side-card>a:not(.jsm-mp-mini-product){display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 10px;border:1px solid #d8e0e8;border-radius:8px;margin-top:6px;color:#173d62!important;font-weight:800;font-size:12px}.jsm-mp-side-card>a b{background:#e7c13f;color:#10213f;border-radius:999px;padding:2px 7px}.jsm-mp-side-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.jsm-mp-side-title>a{color:#1371c5!important;font-size:11px;font-weight:800}.jsm-mp-mini-product{display:flex!important;justify-content:flex-start!important;border:0!important;border-top:1px solid #eee6d5!important;border-radius:0!important;padding:9px 0!important;margin:0!important;gap:8px!important}.jsm-mp-mini-product img{width:52px;height:42px;border-radius:7px;object-fit:cover;background:#eef2f5}.jsm-mp-mini-product span{min-width:0}.jsm-mp-mini-product b{display:block;background:none!important;padding:0!important;color:#173d62!important;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.jsm-mp-mini-product strong{display:block;color:#14802f!important;margin-top:2px}.jsm-mp-tip-list{list-style:none;padding:0;margin:0;display:grid;gap:8px}.jsm-mp-tip-list li{color:#34516d!important;font-size:12px}.jsm-mp-tip-list li:before{content:'✓';display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#187bdd;color:#fff;margin-right:7px;font-weight:900}.jsm-mp-activity-line{display:flex;gap:8px;border-top:1px solid #eee6d5;padding:8px 0}.jsm-mp-activity-line>span{color:#1d75bd}.jsm-mp-activity-line p{margin:0}.jsm-mp-activity-line b{display:block;color:#173d62!important;font-size:11px}.jsm-mp-activity-line small{color:#718399!important}
.jsm-mp-catalog-head{background:linear-gradient(135deg,#10213f,#173b63);border-radius:16px;padding:24px 26px;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:18px}.jsm-mp-catalog-head small{color:#efc94d!important;font-weight:900;letter-spacing:.12em}.jsm-mp-catalog-head h1{margin:5px 0 4px;color:#fff!important;font-size:36px}.jsm-mp-catalog-head p{margin:0;color:#e4edf6!important}.jsm-mp-catalog-filter{display:grid;grid-template-columns:minmax(0,1fr) 230px auto;gap:8px;background:#fffdf7;border:1px solid #ddd5c4;border-radius:14px;padding:11px}.jsm-mp-catalog-filter input,.jsm-mp-catalog-filter select{width:100%;min-height:42px;border:1px solid #cad5df;border-radius:8px;background:#fff;color:#10213f;padding:0 11px}.jsm-mp-product-grid-catalog{grid-template-columns:repeat(4,minmax(0,1fr));background:#fffdf7;border:1px solid #ddd5c4;border-radius:15px;padding:14px}.jsm-mp-empty{grid-column:1/-1;padding:32px;text-align:center;border:1px dashed #cfd8e1;border-radius:12px;background:#fff}.jsm-mp-empty h2,.jsm-mp-empty h3{color:#10213f!important}.jsm-mp-empty p{color:#5d7186!important}
@media(max-width:1380px){.jsm-marketplace-hub{grid-template-columns:200px minmax(0,1fr) 250px}.jsm-mp-feature-grid{grid-template-columns:repeat(3,1fr)}.jsm-mp-category-grid{grid-template-columns:repeat(4,1fr)}.jsm-mp-product-grid{grid-template-columns:repeat(2,1fr)}.jsm-mp-store-strip{grid-template-columns:repeat(2,1fr)}}
@media(max-width:1080px){.jsm-marketplace-hub{grid-template-columns:190px minmax(0,1fr)}.jsm-mp-right{grid-column:2;position:static;grid-template-columns:repeat(2,minmax(0,1fr))}.jsm-mp-split{grid-template-columns:1fr}.jsm-mp-map-card{grid-template-columns:1.3fr 1fr}}
@media(max-width:780px){.jsm-marketplace-hub{display:block;width:100%;margin:0;padding:8px 8px 86px}.jsm-mp-rail{position:static;min-height:0;margin-bottom:10px}.jsm-mp-rail-head,.jsm-mp-rail-story{display:none}.jsm-mp-rail nav{display:flex;overflow-x:auto;gap:4px;padding:7px}.jsm-mp-rail nav a{flex:0 0 auto;padding:9px 10px}.jsm-mp-rail nav hr{display:none}.jsm-mp-hero{min-height:360px;padding:24px 20px;align-items:flex-end;background-position:center}.jsm-mp-hero h1{font-size:42px}.jsm-mp-hero p{font-size:15px}.jsm-mp-hero-chips{display:none}.jsm-mp-feature-grid{grid-template-columns:1fr}.jsm-mp-category-grid{grid-template-columns:repeat(2,1fr)}.jsm-mp-split{display:block}.jsm-mp-split>.jsm-mp-section+section{margin-top:12px}.jsm-mp-product-grid,.jsm-mp-product-grid-catalog{grid-template-columns:repeat(2,minmax(0,1fr))}.jsm-mp-map-card{grid-template-columns:1fr}.jsm-mp-map-card>img{height:230px}.jsm-mp-store-strip{grid-template-columns:1fr}.jsm-mp-right{display:grid;grid-template-columns:1fr;margin-top:12px}.jsm-mp-catalog-head{display:block}.jsm-mp-catalog-head .jsm-mp-btn{margin-top:14px}.jsm-mp-catalog-filter{grid-template-columns:1fr}.jsm-mp-section-head{align-items:center}.jsm-mp-section-head h2{font-size:20px}}
@media(max-width:480px){.jsm-mp-product-grid,.jsm-mp-product-grid-catalog{grid-template-columns:1fr}.jsm-mp-category-grid{grid-template-columns:1fr 1fr}.jsm-mp-product-media{height:170px}}

/* JS Marketplace 1.2.0 — one Marketplace rail across all connected commerce pages */
body.jsm-marketplace-family-page{background:#f4f1e8!important;color:#10213f!important}
.jsm-marketplace-workspace{--navy:#0c2747;--navy2:#10213f;--cream:#fffdf7;--gold:#e1bc38;--blue:#1478dd;display:grid;grid-template-columns:220px minmax(0,1fr);gap:16px;width:min(1640px,calc(100% - 28px));margin:14px auto 34px;align-items:start;box-sizing:border-box}
.jsm-marketplace-workspace *{box-sizing:border-box}.jsm-marketplace-workspace a{text-decoration:none}
.jsm-marketplace-workspace>.jsm-mp-rail{grid-column:1;grid-row:1;min-width:0}
.jsm-mp-workspace-main{grid-column:2;min-width:0;display:grid;gap:14px}
.jsm-mp-workspace-hero{min-height:190px;border-radius:18px;background-size:cover;background-position:center;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 30px;box-shadow:0 12px 30px rgba(7,27,48,.16);overflow:hidden}
.jsm-mp-workspace-hero>div:first-child{max-width:760px}.jsm-mp-workspace-hero small{color:#f3ce59!important;font-weight:950;letter-spacing:.14em}.jsm-mp-workspace-hero h1{margin:7px 0 7px;color:#fff!important;font-size:clamp(34px,4vw,52px);line-height:1.02;text-shadow:0 3px 14px rgba(0,0,0,.3)}.jsm-mp-workspace-hero p{margin:0;color:#f3f7fb!important;font-size:15px;line-height:1.55}.jsm-mp-workspace-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}
.jsm-mp-workspace-content{display:grid;gap:14px;min-width:0}.jsm-mp-workspace-content>.card,.jsm-mp-workspace-content>form.card{background:#fffdf7!important;border:1px solid #ddd5c4!important;border-radius:16px!important;box-shadow:0 6px 18px rgba(7,27,48,.055)!important;color:#10213f!important}.jsm-mp-workspace-content .card h1,.jsm-mp-workspace-content .card h2,.jsm-mp-workspace-content .card h3,.jsm-mp-workspace-content .card b,.jsm-mp-workspace-content .card strong{color:#10213f!important}.jsm-mp-workspace-content .card p,.jsm-mp-workspace-content .card small,.jsm-mp-workspace-content .card label{color:#4f6479!important}
.jsm-mp-workspace-content .field input,.jsm-mp-workspace-content .field select,.jsm-mp-workspace-content .field textarea{background:#fff!important;color:#10213f!important;border:1px solid #c9d5df!important;border-radius:9px!important}.jsm-mp-workspace-content .field input:focus,.jsm-mp-workspace-content .field select:focus,.jsm-mp-workspace-content .field textarea:focus{outline:3px solid rgba(20,120,221,.18)!important;border-color:#1478dd!important}
.jsm-mp-workspace-content .btn{background:#82a9d8!important;color:#fff!important;border-color:#82a9d8!important;border-radius:9px!important;font-weight:900!important}.jsm-mp-workspace-content .btn.gold{background:#e1bc38!important;color:#10213f!important;border-color:#e1bc38!important}.jsm-mp-workspace-content .btn.ghost{background:#fff!important;color:#143a61!important;border:1px solid #cbd7e1!important}
.jsm-mp-workspace-content .listrow{background:#fff!important;border-bottom:1px solid #e9e1d1!important;color:#10213f!important}.jsm-mp-workspace-content .notice{background:#fff7d8!important;border:1px solid #e3c457!important;color:#10213f!important}
/* Remove the obsolete live horizontal Marketplace tab bar when older markup is reached. */
.jsm-marketplace-workspace .jsf-market-live-nav{display:none!important}.jsm-marketplace-workspace .jsf-market-live-shell{margin:0!important;padding:0!important;width:100%!important;max-width:none!important}.jsm-marketplace-workspace .jsf-market-live-stage{width:100%!important;max-width:none!important;margin:0!important}.jsm-marketplace-workspace .jsf-market-live-hero{display:none!important}
/* Seller/store pages now inherit the Marketplace workspace width rather than the member-rail offsets. */
.jsm-marketplace-workspace .jsf-market-create-grid{grid-template-columns:minmax(0,1fr) 300px!important}.jsm-marketplace-workspace .jsf-market-create-side{top:82px!important}.jsm-marketplace-workspace .jsf-storefront-head,.jsm-marketplace-workspace .jsf-seller-store-strip,.jsm-marketplace-workspace .jsf-seller-metrics,.jsm-marketplace-workspace .jsf-seller-dashboard-grid,.jsm-marketplace-workspace .jsf-my-listings-live,.jsm-marketplace-workspace .jsf-live-store-grid,.jsm-marketplace-workspace .jsf-store-product-grid{max-width:none!important;width:100%!important}
/* Marketplace Guide */
.jsm-guide-intro,.jsm-guide-flow,.jsm-guide-policy{background:#fffdf7;border:1px solid #ddd5c4;border-radius:16px;padding:20px;box-shadow:0 6px 18px rgba(7,27,48,.05)}.jsm-guide-intro{display:flex;align-items:center;justify-content:space-between;gap:20px}.jsm-guide-intro small{color:#9a7318!important;font-weight:900;letter-spacing:.1em}.jsm-guide-intro h2,.jsm-guide-flow h2,.jsm-guide-policy h3{color:#10213f!important;margin:4px 0 7px}.jsm-guide-intro p,.jsm-guide-flow p,.jsm-guide-policy p{color:#50677e!important;margin:0;line-height:1.55}.jsm-guide-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.jsm-guide-grid>a{background:#fffdf7;border:1px solid #ddd5c4;border-radius:14px;padding:16px;color:#10213f!important;box-shadow:0 4px 12px rgba(7,27,48,.04)}.jsm-guide-grid>a span{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#edf4fb;font-size:20px}.jsm-guide-grid h3{color:#10213f!important;margin:10px 0 5px}.jsm-guide-grid p{color:#566c82!important;margin:0;font-size:13px;line-height:1.45}.jsm-guide-flow-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.jsm-guide-flow-grid article{border:1px solid #dce3e9;border-radius:12px;padding:14px;background:#fff}.jsm-guide-flow-grid article>b{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#e1bc38;color:#10213f!important}.jsm-guide-flow-grid h3{color:#10213f!important;margin:8px 0 4px}.jsm-guide-policy{display:flex;align-items:center;justify-content:space-between;gap:18px}.jsm-guide-policy-links{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.jsm-guide-policy-links a{padding:8px 11px;border:1px solid #cad6e0;border-radius:8px;background:#fff;color:#17466f!important;font-weight:800;font-size:12px}
@media(max-width:1120px){.jsm-marketplace-workspace{grid-template-columns:195px minmax(0,1fr)}.jsm-guide-grid,.jsm-guide-flow-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.jsm-mp-workspace-hero{display:block}.jsm-mp-workspace-actions{justify-content:flex-start;margin-top:16px}}
@media(max-width:780px){.jsm-marketplace-workspace{display:block;width:100%;margin:0;padding:8px 8px 86px}.jsm-marketplace-workspace>.jsm-mp-rail{margin-bottom:10px}.jsm-mp-workspace-hero{min-height:190px;padding:23px 19px}.jsm-mp-workspace-hero h1{font-size:36px}.jsm-marketplace-workspace .jsf-market-create-grid{grid-template-columns:1fr!important}.jsm-marketplace-workspace .jsf-market-create-side{position:static!important}.jsm-guide-intro,.jsm-guide-policy{display:block}.jsm-guide-intro .jsm-mp-btn{margin-top:14px}.jsm-guide-policy-links{justify-content:flex-start;margin-top:12px}}
@media(max-width:520px){.jsm-guide-grid,.jsm-guide-flow-grid{grid-template-columns:1fr}.jsm-mp-workspace-actions>.jsm-mp-btn{width:100%}}


/* JS Marketplace 1.2.1 — Rewards is part of the Marketplace workspace. */
body.jsm-marketplace-family-page.jsf-rewards-live-page{background:#f4f1e8!important;color:#10213f!important}
.jsm-marketplace-rewards-workspace{grid-template-columns:220px minmax(0,1fr)!important}
.jsm-marketplace-rewards-workspace>.jsm-mp-rail{grid-column:1!important;grid-row:1!important}
.jsm-marketplace-rewards-workspace>.jsm-mp-rewards-main{grid-column:2!important;min-width:0!important;width:100%!important;max-width:none!important}
.jsm-marketplace-rewards-workspace .jsf-rewards-layout,
.jsm-marketplace-rewards-workspace #jsf-rewards-page{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
.jsm-marketplace-rewards-workspace #jsf-rewards-page>.jsf-rewards-main{width:100%!important;max-width:none!important;margin:0!important}
.jsm-marketplace-rewards-workspace .jsf-rewards-hero{margin-top:0!important}
@media(max-width:1120px){.jsm-marketplace-rewards-workspace{grid-template-columns:195px minmax(0,1fr)!important}}
@media(max-width:780px){.jsm-marketplace-rewards-workspace{display:block!important;width:100%!important;margin:0!important;padding:8px 8px 86px!important}.jsm-marketplace-rewards-workspace>.jsm-mp-rewards-main{width:100%!important}}


/* JS Marketplace 1.2.3 — structured listing selectors + sell/dashboard contrast hardening */
.jsm-marketplace-workspace .jsf-market-create-form>.section-title,
.jsm-marketplace-workspace .jsf-seller-dashboard-card>.section-title{
  background:linear-gradient(135deg,#21385f 0%,#2b4168 100%)!important;
  border:1px solid #2f4a75!important;border-radius:15px!important;padding:22px 24px!important;
  margin:0 0 20px!important;box-shadow:0 10px 24px rgba(10,31,57,.14)!important;color:#fff!important
}
.jsm-marketplace-workspace .jsf-market-create-form>.section-title h1,
.jsm-marketplace-workspace .jsf-market-create-form>.section-title h2,
.jsm-marketplace-workspace .jsf-market-create-form>.section-title h3,
.jsm-marketplace-workspace .jsf-seller-dashboard-card>.section-title h1,
.jsm-marketplace-workspace .jsf-seller-dashboard-card>.section-title h2,
.jsm-marketplace-workspace .jsf-seller-dashboard-card>.section-title h3{color:#fff!important;text-shadow:none!important}
.jsm-marketplace-workspace .jsf-market-create-form>.section-title p,
.jsm-marketplace-workspace .jsf-seller-dashboard-card>.section-title p{color:#e7eef8!important;opacity:1!important}
.jsm-marketplace-workspace .jsf-market-create-form>.section-title .eyebrow,
.jsm-marketplace-workspace .jsf-seller-dashboard-card>.section-title .eyebrow{color:#f3cf55!important;opacity:1!important;font-weight:950!important;letter-spacing:.12em!important}
.jsm-marketplace-workspace .jsf-seller-dashboard-card>.section-title>a:not(.btn){color:#dcebff!important;font-weight:900!important;border:1px solid rgba(255,255,255,.24)!important;background:rgba(255,255,255,.08)!important;border-radius:9px!important;padding:9px 12px!important}
.jsm-marketplace-workspace .jsf-market-create-form .field{color:#10213f!important;font-weight:850!important}
.jsm-marketplace-workspace .jsf-market-create-form .field>input,
.jsm-marketplace-workspace .jsf-market-create-form .field>select,
.jsm-marketplace-workspace .jsf-market-create-form .field>textarea{margin-top:7px!important;min-height:46px!important;color:#10213f!important;background:#fff!important;border:1px solid #bdcad7!important;box-shadow:none!important}
.jsm-marketplace-workspace .jsf-market-create-form .field>select{cursor:pointer!important;padding-right:38px!important}
.jsm-marketplace-workspace .jsf-market-create-form .field>textarea{min-height:150px!important}
.jsm-marketplace-workspace .jsf-market-create-form .field input::placeholder,
.jsm-marketplace-workspace .jsf-market-create-form .field textarea::placeholder{color:#78899a!important;opacity:1!important}
.jsm-marketplace-workspace .jsm-field-help{display:block!important;margin-top:6px!important;color:#60758a!important;font-size:11px!important;font-weight:650!important;line-height:1.35!important}
.jsm-marketplace-workspace .jsf-market-create-side .card h3,
.jsm-marketplace-workspace .jsf-seller-dashboard-side .card h3,
.jsm-marketplace-workspace .jsf-seller-dashboard-main .jsf-market-empty h3{color:#10213f!important}
.jsm-marketplace-workspace .jsf-market-create-side .card p,
.jsm-marketplace-workspace .jsf-seller-dashboard-side .card p,
.jsm-marketplace-workspace .jsf-seller-dashboard-main .jsf-market-empty p,
.jsm-marketplace-workspace .jsf-seller-empty-copy{color:#4b6177!important}
.jsm-marketplace-workspace .jsf-seller-metrics article{background:#fffdf7!important;border:1px solid #ddd5c4!important;border-top:3px solid #d2ae2f!important;color:#10213f!important;box-shadow:0 5px 16px rgba(7,27,48,.05)!important}
.jsm-marketplace-workspace .jsf-seller-metrics article small{color:#6c5b3c!important;font-weight:900!important}
.jsm-marketplace-workspace .jsf-seller-metrics article strong{color:#17355d!important}
.jsm-marketplace-workspace .jsf-seller-metrics article span{color:#566c82!important}
.jsm-marketplace-workspace .jsf-seller-listing-table>a,
.jsm-marketplace-workspace .jsf-seller-order-list>a{background:#fff!important;color:#10213f!important;border-color:#e4dccd!important}
.jsm-marketplace-workspace .jsf-seller-listing-table>a b,
.jsm-marketplace-workspace .jsf-seller-order-list>a b,
.jsm-marketplace-workspace .jsf-seller-order-list>a strong{color:#10213f!important}
.jsm-marketplace-workspace .jsf-seller-listing-table>a small,
.jsm-marketplace-workspace .jsf-seller-order-list>a small{color:#5e7286!important}
.jsm-marketplace-workspace .jsf-seller-tools-card>a{color:#10213f!important}
.jsm-marketplace-workspace .jsf-seller-tools-card>a b{color:#10213f!important}
.jsm-marketplace-workspace .jsf-seller-tools-card>a small{color:#61758a!important}
@media(max-width:780px){
 .jsm-marketplace-workspace .jsf-market-create-form>.section-title,
 .jsm-marketplace-workspace .jsf-seller-dashboard-card>.section-title{padding:18px!important}
}

/* ==========================================================================
   JS Marketplace 1.9.1 — local-rail takeover + responsive app workspace
   The JSV theme owns the global shell. Marketplace owns this local rail and
   uses the width that the theme makes available beside the sponsor rail.
   ========================================================================== */
body.jsm-marketplace-family-page{--jsm-local-rail:224px;--jsm-local-gap:14px}
@media (min-width:901px){
  body.jsm-marketplace-family-page .jsm-marketplace-hub,
  body.jsm-marketplace-family-page .jsm-marketplace-workspace{
    width:var(--jsm-marketplace-available-width,100%)!important;
    max-width:none!important;
    margin:0!important;
    padding:14px 14px 34px 0!important;
    box-sizing:border-box!important;
    align-items:start!important;
  }
  body.jsm-marketplace-family-page .jsm-marketplace-hub{
    grid-template-columns:var(--jsm-local-rail) minmax(0,1fr)!important;
    gap:var(--jsm-local-gap)!important;
  }
  body.jsm-marketplace-family-page .jsm-marketplace-workspace,
  body.jsm-marketplace-family-page .jsm-marketplace-rewards-workspace{
    grid-template-columns:var(--jsm-local-rail) minmax(0,1fr)!important;
    gap:var(--jsm-local-gap)!important;
  }
  body.jsm-marketplace-family-page .jsm-mp-rail{
    width:var(--jsm-local-rail)!important;
    max-width:var(--jsm-local-rail)!important;
    min-width:0!important;
    min-height:calc(100dvh - var(--jsv-live-header-bottom,72px) - 18px)!important;
    top:calc(var(--jsv-live-header-bottom,72px) + 8px)!important;
    border-radius:0 18px 18px 0!important;
    margin:0!important;
  }
  body.admin-bar.jsm-marketplace-family-page .jsm-mp-rail,
  body.admin-bar.jsm-marketplace-family-page .jsm-mp-right{
    top:calc(var(--jsv-live-header-bottom,104px) + 8px)!important;
  }
  body.jsm-marketplace-family-page .jsm-marketplace-hub>.jsm-mp-right{
    grid-column:2!important;
    position:static!important;
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:12px!important;
    min-width:0!important;
    margin-top:0!important;
  }
  body.jsm-marketplace-family-page .jsm-mp-main,
  body.jsm-marketplace-family-page .jsm-mp-workspace-main,
  body.jsm-marketplace-family-page .jsm-mp-workspace-content{
    min-width:0!important;
    width:100%!important;
    max-width:none!important;
  }
  body.jsm-marketplace-family-page .jsm-mp-hero{
    width:100%!important;
    min-height:310px!important;
  }
  body.jsm-marketplace-family-page .jsm-mp-workspace-hero{
    width:100%!important;
    max-width:none!important;
  }
}

/* The approved Sponsor rail is the only desktop right rail. Marketplace Quick
   Actions, offers and tips remain available below the main canvas so the hero,
   catalog and store content keep the reclaimed width. */
@media (min-width:1280px) and (max-width:1499px){
  body.jsm-marketplace-family-page{--jsm-local-rail:210px}
  body.jsm-marketplace-family-page .jsm-marketplace-hub>.jsm-mp-right{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media (min-width:901px) and (max-width:1279px){
  body.jsm-marketplace-family-page{--jsm-local-rail:205px}
  body.jsm-marketplace-family-page .jsm-marketplace-hub>.jsm-mp-right{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media (min-width:901px) and (max-width:1080px){
  body.jsm-marketplace-family-page{--jsm-local-rail:190px}
}

/* Phone/tablet: Marketplace becomes one app canvas. The same local rail becomes
   a sticky, swipeable destination bar rather than consuming a second column. */
@media (max-width:900px){
  body.jsm-marketplace-family-page{--jsm-app-edge:10px;background:#f4f1e8!important;overflow-x:hidden!important}
  body.jsm-marketplace-family-page .jsm-marketplace-hub,
  body.jsm-marketplace-family-page .jsm-marketplace-workspace,
  body.jsm-marketplace-family-page .jsm-marketplace-rewards-workspace{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0 0 calc(92px + env(safe-area-inset-bottom))!important;
  }
  body.jsm-marketplace-family-page .jsm-mp-rail,
  body.jsm-marketplace-family-page .jsm-marketplace-workspace>.jsm-mp-rail,
  body.jsm-marketplace-family-page .jsm-marketplace-rewards-workspace>.jsm-mp-rail{
    position:sticky!important;
    z-index:95!important;
    top:var(--jsv-live-header-bottom,56px)!important;
    width:100%!important;
    max-width:none!important;
    min-height:0!important;
    height:auto!important;
    margin:0 0 8px!important;
    border-radius:0 0 14px 14px!important;
    box-shadow:0 7px 18px rgba(7,27,48,.18)!important;
    overflow:hidden!important;
  }
  body.admin-bar.jsm-marketplace-family-page .jsm-mp-rail{top:var(--jsv-live-header-bottom,88px)!important}
  body.jsm-marketplace-family-page .jsm-mp-rail-head,
  body.jsm-marketplace-family-page .jsm-mp-rail-story{display:none!important}
  body.jsm-marketplace-family-page .jsm-mp-rail nav{
    display:flex!important;
    align-items:center!important;
    gap:6px!important;
    width:100%!important;
    padding:7px max(var(--jsm-app-edge),env(safe-area-inset-left))!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scroll-snap-type:x proximity!important;
    scrollbar-width:none!important;
    -webkit-overflow-scrolling:touch!important;
  }
  body.jsm-marketplace-family-page .jsm-mp-rail nav::-webkit-scrollbar{display:none!important}
  body.jsm-marketplace-family-page .jsm-mp-rail nav hr{display:none!important}
  body.jsm-marketplace-family-page .jsm-mp-rail nav a{
    flex:0 0 auto!important;
    min-height:44px!important;
    padding:8px 11px!important;
    border-radius:11px!important;
    gap:7px!important;
    scroll-snap-align:start!important;
    font-size:12px!important;
    white-space:nowrap!important;
  }
  body.jsm-marketplace-family-page .jsm-mp-rail nav a i{width:auto!important;font-size:16px!important}
  body.jsm-marketplace-family-page .jsm-mp-main,
  body.jsm-marketplace-family-page .jsm-mp-workspace-main,
  body.jsm-marketplace-family-page .jsm-mp-rewards-main{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0 var(--jsm-app-edge)!important;
  }
  body.jsm-marketplace-family-page .jsm-mp-right{
    position:static!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    width:auto!important;
    margin:10px var(--jsm-app-edge) 0!important;
  }
  body.jsm-marketplace-family-page .jsm-mp-hero{
    min-height:285px!important;
    padding:24px 20px!important;
    border-radius:16px!important;
    align-items:flex-end!important;
  }
  body.jsm-marketplace-family-page .jsm-mp-hero h1{font-size:clamp(34px,10vw,48px)!important;line-height:1!important}
  body.jsm-marketplace-family-page .jsm-mp-hero p{font-size:15px!important}
  body.jsm-marketplace-family-page .jsm-mp-hero-actions{display:grid!important;grid-template-columns:1fr 1fr!important;width:100%!important}
  body.jsm-marketplace-family-page .jsm-mp-hero-actions .jsm-mp-btn{min-width:0!important;min-height:46px!important;padding-inline:10px!important}
  body.jsm-marketplace-family-page .jsm-mp-section,
  body.jsm-marketplace-family-page .jsm-mp-workspace-content>.card,
  body.jsm-marketplace-family-page .jsm-mp-workspace-content>section{border-radius:15px!important}
  body.jsm-marketplace-family-page .jsm-mp-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.jsm-marketplace-family-page .jsm-mp-feature-grid>a{grid-template-columns:40px minmax(0,1fr)!important;padding:12px!important}
  body.jsm-marketplace-family-page .jsm-mp-feature-grid>a span{width:40px!important;height:40px!important}
  body.jsm-marketplace-family-page :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]),select,textarea,button,.jsm-mp-btn){min-height:44px}
  body.jsm-marketplace-family-page img{max-width:100%;height:auto}
}
@media (max-width:560px){
  body.jsm-marketplace-family-page{--jsm-app-edge:8px}
  body.jsm-marketplace-family-page .jsm-mp-feature-grid{grid-template-columns:1fr!important}
  body.jsm-marketplace-family-page .jsm-mp-hero-actions{grid-template-columns:1fr!important}
  body.jsm-marketplace-family-page .jsm-mp-product-grid,
  body.jsm-marketplace-family-page .jsm-mp-product-grid-catalog{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.jsm-marketplace-family-page .jsm-mp-workspace-hero{padding:20px 16px!important;border-radius:14px!important}
  body.jsm-marketplace-family-page .jsm-mp-workspace-hero h1{font-size:clamp(30px,10vw,40px)!important}
}
@media (max-width:390px){
  body.jsm-marketplace-family-page .jsm-mp-product-grid,
  body.jsm-marketplace-family-page .jsm-mp-product-grid-catalog{grid-template-columns:1fr!important}
  body.jsm-marketplace-family-page .jsm-mp-rail nav a{padding-inline:9px!important;font-size:11px!important}
}


/* ==========================================================================
   JS Marketplace 1.9.2 — branded-page flow and dead-space repair
   Keeps the approved single Marketplace rail + Sponsor rail shell from 1.9.1,
   but makes the branded collection own one continuous centre canvas.
   ========================================================================== */
body.jsm-marketplace-family-page .jsm-marketplace-brand-hub>.jsm-mp-brand-main{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
}
body.jsm-marketplace-family-page .jsm-marketplace-brand-hub .jsm-bc-page{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
}
/* There is no longer an outer utility rail on branded pages. This guard also
   prevents stale cached markup from recreating the old below-page layout. */
body.jsm-marketplace-family-page .jsm-marketplace-brand-hub>.jsm-mp-right{
  display:none!important;
}
/* On Marketplace Home, utilities sit inside the branded page immediately after
   categories. A six-track grid keeps the first row balanced and makes Saved /
   Recent Activity useful without producing a tall empty sidebar. */
body.jsm-marketplace-family-page .jsm-bc-page>.jsm-mp-right{
  position:static!important;
  inset:auto!important;
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:12px!important;
  width:100%!important;
  max-width:none!important;
  margin:0 0 24px!important;
  align-items:stretch!important;
}
body.jsm-marketplace-family-page .jsm-bc-page>.jsm-mp-right>.jsm-mp-side-card:nth-child(-n+3){grid-column:span 2!important}
body.jsm-marketplace-family-page .jsm-bc-page>.jsm-mp-right>.jsm-mp-side-card:nth-child(n+4){grid-column:span 3!important}
body.jsm-marketplace-family-page .jsm-bc-page>.jsm-mp-right>.jsm-mp-side-card{
  min-height:0!important;
  height:auto!important;
  align-self:stretch!important;
  padding:14px!important;
}
/* Quick Actions no longer has to be a six-row tall card. */
body.jsm-marketplace-family-page .jsm-bc-page>.jsm-mp-right>.jsm-mp-side-card:first-child{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:7px!important;
  align-content:start!important;
}
body.jsm-marketplace-family-page .jsm-bc-page>.jsm-mp-right>.jsm-mp-side-card:first-child>h3{
  grid-column:1/-1!important;
  margin-bottom:2px!important;
}
body.jsm-marketplace-family-page .jsm-bc-page>.jsm-mp-right>.jsm-mp-side-card:first-child>a{
  margin-top:0!important;
  min-height:42px!important;
}
/* The branded helper is a compact service footer, not a second site footer.
   This also wins over generic theme footer background/height rules. */
html body.jsm-marketplace-family-page .jsm-bc-page>.jsm-bc-help{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:18px!important;
  width:100%!important;
  min-height:54px!important;
  height:auto!important;
  margin:4px 0 0!important;
  padding:13px 18px!important;
  border:1px solid #dce3ec!important;
  border-top:3px solid #e1bc38!important;
  border-radius:12px!important;
  background:#fffdf7!important;
  box-shadow:none!important;
  color:#536078!important;
}
html body.jsm-marketplace-family-page .jsm-bc-page>.jsm-bc-help>a{
  display:inline-flex!important;
  align-items:center!important;
  min-height:32px!important;
  padding:4px 6px!important;
  color:#344a66!important;
  font-size:12px!important;
  font-weight:700!important;
}
body.jsm-marketplace-family-page .jsm-bc-empty{
  min-height:108px!important;
  padding:22px 26px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
}
@media (min-width:901px) and (max-width:1280px){
  body.jsm-marketplace-family-page .jsm-bc-page>.jsm-mp-right{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.jsm-marketplace-family-page .jsm-bc-page>.jsm-mp-right>.jsm-mp-side-card{grid-column:auto!important}
  body.jsm-marketplace-family-page .jsm-bc-page>.jsm-mp-right>.jsm-mp-side-card:last-child{grid-column:1/-1!important}
}
@media (max-width:900px){
  body.jsm-marketplace-family-page .jsm-marketplace-brand-hub>.jsm-mp-brand-main{padding:0 10px!important}
  body.jsm-marketplace-family-page .jsm-bc-page>.jsm-mp-right{
    grid-template-columns:1fr!important;
    gap:10px!important;
    margin:0 0 18px!important;
  }
  body.jsm-marketplace-family-page .jsm-bc-page>.jsm-mp-right>.jsm-mp-side-card{grid-column:auto!important}
  body.jsm-marketplace-family-page .jsm-bc-page>.jsm-mp-right>.jsm-mp-side-card:first-child{grid-template-columns:1fr 1fr!important}
  html body.jsm-marketplace-family-page .jsm-bc-page>.jsm-bc-help{
    justify-content:flex-start!important;
    overflow-x:auto!important;
    flex-wrap:nowrap!important;
    gap:8px!important;
    padding:10px 12px!important;
    scrollbar-width:none!important;
  }
  html body.jsm-marketplace-family-page .jsm-bc-page>.jsm-bc-help::-webkit-scrollbar{display:none!important}
  html body.jsm-marketplace-family-page .jsm-bc-page>.jsm-bc-help>a{white-space:nowrap!important;min-height:40px!important}
}
@media (max-width:520px){
  body.jsm-marketplace-family-page .jsm-marketplace-brand-hub>.jsm-mp-brand-main{padding:0 8px!important}
  body.jsm-marketplace-family-page .jsm-bc-page>.jsm-mp-right>.jsm-mp-side-card:first-child{grid-template-columns:1fr!important}
  html body.jsm-marketplace-family-page .jsm-bc-page>.jsm-bc-help{border-radius:10px!important}
}
