:root{--bpwmm:#0f766e;--dark:#0f172a;--muted:#64748b;--bg:#f8fafc;--line:#e2e8f0}.bpwmm-wrap{font-family:Inter,Arial,sans-serif;max-width:1180px;margin:28px auto;padding:0 16px;color:#0f172a}.bpwmm-hero{background:linear-gradient(135deg,var(--dark),var(--bpwmm));color:#fff;border-radius:24px;padding:42px;margin-bottom:22px;box-shadow:0 20px 40px #0f172a2b}.bpwmm-hero h1{font-size:38px;margin:0 0 10px}.bpwmm-hero p{font-size:16px;opacity:.9}.bpwmm-search,.bpwmm-form,.bpwmm-inline{display:flex;gap:10px;flex-wrap:wrap}.bpwmm-search input,.bpwmm-search select,.bpwmm-form input,.bpwmm-form textarea,.bpwmm-form select,.bpwmm-inline input,.bpwmm-inline select{border:1px solid var(--line);border-radius:12px;padding:12px;min-height:44px;background:#fff;flex:1}.bpwmm-form textarea{width:100%;min-height:110px}.bpwmm-btn,.bpwmm-form button,.bpwmm-upload{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:12px;background:var(--bpwmm);color:#fff!important;padding:11px 16px;text-decoration:none;cursor:pointer;font-weight:700;box-shadow:0 8px 20px #0f766e33}.bpwmm-btn.light{background:#f1f5f9;color:#0f172a!important;box-shadow:none}.bpwmm-btn.danger{background:#dc2626}.bpwmm-alert{background:#ecfdf5;border:1px solid #bbf7d0;color:#166534;padding:12px 16px;border-radius:12px;margin-bottom:14px}.bpwmm-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:16px 0}.bpwmm-grid>div,.bpwmm-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px;box-shadow:0 10px 30px #0f172a0f}.bpwmm-grid b{display:block;color:var(--muted);font-size:13px}.bpwmm-grid strong{font-size:30px;display:block;margin-top:8px}.bpwmm-products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.bpwmm-product img{width:100%;height:190px;object-fit:cover;border-radius:14px;background:#f1f5f9}.bpwmm-product h3{font-size:18px;margin:12px 0 8px}.bpwmm-price{font-size:22px;font-weight:800;color:var(--bpwmm);margin:10px 0}.bpwmm-cats{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 20px}.bpwmm-cat{border:1px solid var(--line);background:#fff;border-radius:999px;padding:10px 14px;cursor:pointer}.bpwmm-dash{display:grid;grid-template-columns:250px 1fr;gap:20px}.bpwmm-side{background:#0f172a;border-radius:24px;padding:18px;position:sticky;top:20px;align-self:start}.bpwmm-side h3{color:#fff;margin:0 0 14px}.bpwmm-side a{display:block;color:#dbeafe;text-decoration:none;padding:12px 14px;border-radius:12px;margin-bottom:6px}.bpwmm-side a:hover{background:#1e293b;color:#fff}.bpwmm-table{width:100%;border-collapse:collapse;background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 10px 30px #0f172a0f}.bpwmm-table th,.bpwmm-table td{padding:13px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}.bpwmm-table th{background:#f8fafc}.bpwmm-badge{background:#e0f2fe;color:#0369a1;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:700}.bpwmm-auth{max-width:560px;background:#fff;border:1px solid var(--line);border-radius:24px;padding:28px;box-shadow:0 20px 45px #0f172a14}.bpwmm-auth .login-username label,.bpwmm-auth .login-password label{display:block;font-weight:700;margin-bottom:6px}.bpwmm-auth input.input{width:100%;border:1px solid var(--line);border-radius:12px;padding:12px}.bpwmm-noimg{height:190px;background:#f1f5f9;border-radius:14px;display:flex;align-items:center;justify-content:center;color:#94a3b8}.bpwmm-review{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px;margin:10px 0}.bpwmm-single{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px;margin-bottom:20px}.bpwmm-wish.on{background:#fde68a!important;color:#92400e!important}@media(max-width:900px){.bpwmm-products,.bpwmm-grid{grid-template-columns:repeat(2,1fr)}.bpwmm-dash{grid-template-columns:1fr}.bpwmm-side{position:relative;top:auto}.bpwmm-hero h1{font-size:28px}}@media(max-width:560px){.bpwmm-products,.bpwmm-grid{grid-template-columns:1fr}.bpwmm-hero{padding:26px}.bpwmm-table{display:block;overflow-x:auto}}

/* v4.2 marketplace page upgrade */
.bpwmm-market-page{max-width:1180px!important;margin:0 auto;padding:18px 14px}.bpwmm-market-hero{display:grid;grid-template-columns:1.5fr .7fr;gap:24px;align-items:center;padding:38px 42px;border-radius:24px;background:linear-gradient(135deg,#102033,#0f766e);color:#fff;box-shadow:0 18px 45px rgba(15,35,55,.18);margin:20px 0}.bpwmm-market-hero h1{font-size:38px;line-height:1.12;margin:8px 0 12px;color:#fff}.bpwmm-market-hero p{font-size:16px;color:rgba(255,255,255,.92);max-width:720px}.bpwmm-kicker{display:inline-block;background:rgba(255,255,255,.14);padding:8px 13px;border-radius:999px;font-weight:800;letter-spacing:.4px}.bpwmm-hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.bpwmm-btn.solid,.bpwmm-product .bpwmm-btn,.bpwmm-form .bpwmm-btn{background:#0f766e!important;color:#fff!important;border:0!important;border-radius:10px!important;font-weight:800;text-decoration:none;box-shadow:none}.bpwmm-btn.solid:hover,.bpwmm-product .bpwmm-btn:hover{filter:brightness(.94)}.bpwmm-btn.solid.alt{background:#2563eb!important}.bpwmm-btn.solid.dark{background:#111827!important}.bpwmm-btn.solid.amber{background:#f59e0b!important;color:#111827!important}.bpwmm-market-info{display:grid;grid-template-columns:1fr;gap:12px}.bpwmm-market-info div{background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.16);border-radius:18px;padding:18px}.bpwmm-market-info b{display:block;color:rgba(255,255,255,.85)}.bpwmm-market-info strong{display:block;font-size:32px;color:#fff}.bpwmm-info-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:18px 0}.bpwmm-info-strip>div,.bpwmm-filter-box,.bpwmm-store-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:20px;box-shadow:0 10px 28px rgba(15,35,55,.06)}.bpwmm-info-strip h3{margin:0 0 6px;color:#0f172a}.bpwmm-info-strip p{margin:0;color:#475569}.bpwmm-search-pro{display:grid;grid-template-columns:1.3fr .8fr auto auto;gap:12px}.bpwmm-search-pro input,.bpwmm-search-pro select{height:48px;border:1px solid #d1d5db;border-radius:10px;padding:0 14px;background:#fff}.solid-cats{gap:10px;margin:18px 0}.solid-cats .solid-cat{background:#111827!important;color:#fff!important;border:0!important;border-radius:9px!important;padding:12px 16px!important;font-weight:800}.solid-cats .solid-cat:nth-child(3n+1){background:#0f766e!important}.solid-cats .solid-cat:nth-child(3n+2){background:#2563eb!important}.bpwmm-section-title,.bpwmm-seller-directory h2{font-size:26px;margin:26px 0 14px;color:#0f172a}.bpwmm-store-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.bpwmm-store-card h3{margin:0 0 8px}.bpwmm-store-card p{min-height:42px;color:#64748b}.bpwmm-store-card b{display:block;margin:10px 0;color:#0f766e}.bpwmm-noimg{height:160px;background:linear-gradient(135deg,#e0f2fe,#ccfbf1);display:flex;align-items:center;justify-content:center;border-radius:14px;color:#0f172a;font-weight:900}.bpwmm-product{border-radius:18px!important;box-shadow:0 10px 30px rgba(15,35,55,.08)!important}.bpwmm-product h3{font-size:17px;min-height:44px}.bpwmm-price{color:#0f766e;font-size:20px;font-weight:900;margin:10px 0}@media(max-width:900px){.bpwmm-market-hero,.bpwmm-info-strip,.bpwmm-search-pro,.bpwmm-store-grid{grid-template-columns:1fr}.bpwmm-market-hero{padding:26px 18px}.bpwmm-market-hero h1{font-size:28px}.bpwmm-hero-actions .bpwmm-btn{width:100%;text-align:center}.bpwmm-search-pro .bpwmm-btn{width:100%}}

/* v4.3 responsive product detail + UPI checkout */
.bpwmm-single-page{max-width:1180px!important;margin:22px auto!important;padding:0 14px!important}.bpwmm-single-grid{display:grid;grid-template-columns:minmax(280px,.9fr) minmax(320px,1.1fr);gap:24px;align-items:start;background:#fff;border:1px solid #e5e7eb;border-radius:24px;padding:22px;box-shadow:0 18px 45px rgba(15,35,55,.08)}.bpwmm-single-image img{width:100%;height:auto;max-height:520px;object-fit:contain;border-radius:18px;background:#f8fafc;border:1px solid #eef2f7}.bpwmm-single-noimg{height:420px;border-radius:18px;background:linear-gradient(135deg,#e0f2fe,#ccfbf1);display:flex;align-items:center;justify-content:center;font-weight:900;color:#0f172a}.bpwmm-single-info h1{font-size:32px;line-height:1.15;margin:0 0 12px;color:#0f172a}.bpwmm-seller-line{margin:8px 0 16px;color:#475569}.bpwmm-meta-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0;margin:0 0 18px;list-style:none}.bpwmm-meta-list li{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:11px;color:#334155}.bpwmm-action-row{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}.bpwmm-upi-box{background:#ecfdf5;border:1px solid #bbf7d0;border-radius:16px;padding:16px;margin:14px 0;color:#064e3b}.bpwmm-upi-box h3{margin:0 0 6px;color:#064e3b}.bpwmm-upi-box small{display:block;margin-top:10px;color:#166534}.bpwmm-buy-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:16px;margin-top:14px}.bpwmm-buy-form label{display:block;font-weight:800;font-size:13px;color:#334155}.bpwmm-buy-form input,.bpwmm-buy-form select{width:100%;margin-top:6px;min-height:46px;border:1px solid #cbd5e1;border-radius:12px;padding:10px;background:#fff}.bpwmm-buy-form button{grid-column:1/-1;min-height:48px}.bpwmm-login-box{background:#fff7ed;border:1px solid #fed7aa;border-radius:16px;padding:16px;margin-top:14px}.bpwmm-description,.bpwmm-reviews{background:#fff;border:1px solid #e5e7eb;border-radius:20px;padding:22px;margin-top:18px;box-shadow:0 10px 28px rgba(15,35,55,.05)}.bpwmm-review-form{margin-top:14px}.bpwmm-product .bpwmm-btn{margin-top:6px}.bpwmm-product h3 a{color:#0f172a;text-decoration:none}.bpwmm-product h3 a:hover{color:#0f766e}@media(max-width:900px){.bpwmm-single-grid{grid-template-columns:1fr;padding:16px}.bpwmm-single-info h1{font-size:26px}.bpwmm-meta-list,.bpwmm-buy-form{grid-template-columns:1fr}.bpwmm-action-row .bpwmm-btn{width:100%}.bpwmm-single-noimg{height:280px}.bpwmm-search-pro{display:grid!important;grid-template-columns:1fr!important}.bpwmm-products{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:560px){.bpwmm-single-page{margin:12px auto!important}.bpwmm-single-grid,.bpwmm-description,.bpwmm-reviews{border-radius:16px;padding:14px}.bpwmm-single-info h1{font-size:22px}.bpwmm-products{grid-template-columns:1fr!important}.solid-cats .solid-cat{width:100%;text-align:center}.bpwmm-btn{width:auto;min-height:44px}.bpwmm-market-page{padding:10px!important}}


/* v4.5 unified login/register + improved dashboards */
.bpwmm-unified-auth{max-width:1180px!important}.bpwmm-auth-hero{background:linear-gradient(135deg,#0f172a,#0f766e);color:#fff;border-radius:24px;padding:34px;margin-bottom:18px;box-shadow:0 18px 45px rgba(15,35,55,.16)}.bpwmm-auth-hero h1{margin:0 0 8px;color:#fff;font-size:34px}.bpwmm-auth-hero p{margin:0;color:rgba(255,255,255,.9)}.bpwmm-auth-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.bpwmm-auth-card{background:#fff;border:1px solid #e5e7eb;border-radius:22px;padding:24px;box-shadow:0 16px 40px rgba(15,35,55,.08)}.bpwmm-auth-card h2{margin-top:0}.bpwmm-auth-card .bpwmm-form{display:grid;gap:12px}.bpwmm-auth-card .bpwmm-form input,.bpwmm-auth-card .bpwmm-form select,.bpwmm-auth-card .bpwmm-form textarea{width:100%;box-sizing:border-box}.bpwmm-help{color:#64748b;font-size:14px;margin-bottom:0}.bpwmm-auth-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.bpwmm-dashboard-actions{display:flex;gap:10px;flex-wrap:wrap;background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:16px;margin:16px 0;box-shadow:0 10px 28px rgba(15,35,55,.06)}.bpwmm-side a{font-weight:700}.bpwmm-form input[name="new_cat"]{border-color:#0f766e;background:#f0fdfa}.bpwmm-dash main{min-width:0}.bpwmm-table{font-size:14px}@media(max-width:900px){.bpwmm-auth-grid{grid-template-columns:1fr}.bpwmm-auth-hero{padding:24px}.bpwmm-auth-hero h1{font-size:26px}.bpwmm-dashboard-actions .bpwmm-btn,.bpwmm-auth-actions .bpwmm-btn{width:100%}.bpwmm-dash{display:block}.bpwmm-side{margin-bottom:16px}.bpwmm-side a{display:inline-block;margin:4px}.bpwmm-side{border-radius:16px}}

/* v4.7 clean marketplace/products layout */
.bpwmm-market-page{max-width:1160px!important;margin:0 auto!important;padding:12px 14px 32px!important}
.bpwmm-market-hero{display:block!important;background:#ffffff!important;color:#0f172a!important;border:1px solid #e5e7eb!important;border-radius:18px!important;padding:24px!important;margin:16px 0!important;box-shadow:0 10px 28px rgba(15,35,55,.06)!important}
.bpwmm-market-hero h1{color:#0f172a!important;font-size:30px!important;line-height:1.2!important;margin:8px 0!important}
.bpwmm-market-hero p{color:#475569!important;font-size:15px!important;margin:0!important;max-width:780px!important}
.bpwmm-kicker{background:#ecfdf5!important;color:#0f766e!important;border:1px solid #bbf7d0!important;border-radius:999px!important;padding:6px 11px!important;font-size:12px!important;font-weight:800!important}
.bpwmm-market-info{display:none!important}
.bpwmm-hero-actions{margin-top:16px!important;display:flex!important;gap:10px!important;flex-wrap:wrap!important}
.bpwmm-info-strip{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;margin:14px 0!important}
.bpwmm-info-strip>div{border-radius:14px!important;padding:16px!important;box-shadow:none!important}
.bpwmm-info-strip h3{font-size:17px!important;margin:0 0 6px!important}
.bpwmm-info-strip p{font-size:14px!important;line-height:1.45!important}
.bpwmm-filter-box{border-radius:14px!important;padding:14px!important;margin:14px 0 10px!important;box-shadow:none!important}
.bpwmm-search-pro{display:grid!important;grid-template-columns:minmax(240px,1fr) 240px 110px 90px!important;gap:10px!important;align-items:center!important}
.bpwmm-search-pro input,.bpwmm-search-pro select{height:44px!important;border-radius:8px!important;font-size:14px!important;padding:0 12px!important}
.bpwmm-search-pro .bpwmm-btn{height:44px!important;min-height:44px!important;border-radius:8px!important;padding:0 14px!important;font-size:13px!important;width:auto!important}
.bpwmm-cats.solid-cats{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;margin:12px 0 20px!important;padding:0!important}
.solid-cats .solid-cat{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-height:36px!important;background:#f8fafc!important;color:#0f172a!important;border:1px solid #e2e8f0!important;border-radius:8px!important;padding:8px 11px!important;font-size:12px!important;line-height:1!important;font-weight:800!important;box-shadow:none!important;text-align:center!important;text-transform:uppercase!important;letter-spacing:.1px!important}
.solid-cats .solid-cat:nth-child(n){background:#f8fafc!important;color:#0f172a!important}
.solid-cats .solid-cat:hover{background:#0f766e!important;color:#fff!important;border-color:#0f766e!important}
.bpwmm-section-title,.bpwmm-seller-directory h2{font-size:22px!important;margin:20px 0 12px!important;color:#0f172a!important}
.bpwmm-products{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}
.bpwmm-product{border-radius:14px!important;padding:14px!important;box-shadow:none!important;border:1px solid #e5e7eb!important}
.bpwmm-product img,.bpwmm-product .bpwmm-noimg{height:155px!important;border-radius:10px!important}
.bpwmm-product h3{font-size:15px!important;line-height:1.35!important;min-height:auto!important;margin:10px 0 6px!important}
.bpwmm-product p{font-size:13px!important;margin:6px 0!important;color:#64748b!important}
.bpwmm-price{font-size:18px!important;margin:8px 0!important}
.bpwmm-product .bpwmm-btn{min-height:36px!important;border-radius:8px!important;padding:8px 11px!important;font-size:12px!important;margin:4px 4px 0 0!important;width:auto!important}
.bpwmm-store-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
.bpwmm-store-card{border-radius:14px!important;padding:16px!important;box-shadow:none!important}
@media(max-width:980px){.bpwmm-search-pro{grid-template-columns:1fr 1fr!important}.bpwmm-products,.bpwmm-store-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.bpwmm-info-strip{grid-template-columns:1fr!important}}
@media(max-width:720px){.bpwmm-market-hero{padding:18px!important}.bpwmm-market-hero h1{font-size:24px!important}.bpwmm-search-pro{grid-template-columns:1fr!important}.bpwmm-search-pro .bpwmm-btn{width:100%!important}.bpwmm-products,.bpwmm-store-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.solid-cats .solid-cat{font-size:11px!important;min-height:34px!important;padding:7px 9px!important}.bpwmm-info-strip{display:none!important}}
@media(max-width:460px){.bpwmm-products,.bpwmm-store-grid{grid-template-columns:1fr!important}.bpwmm-hero-actions .bpwmm-btn{width:100%!important}.bpwmm-cats.solid-cats{gap:6px!important}.solid-cats .solid-cat{flex:0 0 auto!important;width:auto!important}}

/* v4.8 extra clean marketplace + compact categories */
.bpwmm-market-page{max-width:1120px!important;background:#fff!important}
.bpwmm-market-hero{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;padding:20px!important;border-radius:16px!important}
.bpwmm-market-hero h1{font-size:26px!important;margin:6px 0!important}.bpwmm-market-hero p{font-size:14px!important;line-height:1.5!important}.bpwmm-info-strip{display:none!important}
.bpwmm-filter-box{background:#f8fafc!important;border:1px solid #e2e8f0!important;padding:12px!important}.bpwmm-search-pro{grid-template-columns:1fr 220px 92px 82px!important}.bpwmm-cats.solid-cats{background:#fff!important;border:1px solid #e5e7eb!important;border-radius:14px!important;padding:10px!important;gap:7px!important}.solid-cats .solid-cat{font-size:11px!important;min-height:32px!important;padding:7px 9px!important;border-radius:7px!important;text-transform:none!important;letter-spacing:0!important}.bpwmm-products{grid-template-columns:repeat(4,minmax(0,1fr))!important}.bpwmm-product{transition:.2s ease}.bpwmm-product:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(15,35,55,.08)!important}.bpwmm-seller-directory{margin-top:24px!important}.bpwmm-store-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}@media(max-width:800px){.bpwmm-market-hero{display:block!important}.bpwmm-search-pro{grid-template-columns:1fr!important}.bpwmm-products{grid-template-columns:repeat(2,minmax(0,1fr))!important}.bpwmm-store-grid{grid-template-columns:1fr!important}}@media(max-width:480px){.bpwmm-products{grid-template-columns:1fr!important}.bpwmm-cats.solid-cats{max-height:190px!important;overflow:auto!important}.solid-cats .solid-cat{font-size:11px!important}}

/* v4.8 WooCommerce-like seller product editor */
.bpwmm-seller-product-editor{max-width:1150px}.bpwmm-editor-head{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:18px;margin-bottom:14px}.bpwmm-editor-head h2{margin:0 0 6px!important}.bpwmm-editor-head p{margin:0;color:#64748b}.bpwmm-product-editor-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px}.bpwmm-editor-box{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:16px;margin-bottom:14px;box-shadow:0 8px 22px rgba(15,35,55,.04)}.bpwmm-editor-box h3,.bpwmm-editor-box h2{margin:0 0 12px!important;font-size:18px!important}.bpwmm-editor-box label{display:block;margin-bottom:12px}.bpwmm-editor-box label span{display:block;font-weight:800;font-size:13px;color:#334155;margin-bottom:6px}.bpwmm-editor-box input,.bpwmm-editor-box select,.bpwmm-editor-box textarea{width:100%!important;border:1px solid #cbd5e1!important;border-radius:9px!important;min-height:42px!important;padding:9px 11px!important;box-sizing:border-box}.bpwmm-editor-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.bpwmm-editor-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:12px;border-bottom:1px solid #e5e7eb;padding-bottom:10px}.bpwmm-editor-tabs b{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:999px;padding:7px 11px;font-size:12px}.bpwmm-editor-side .bpwmm-btn{width:100%;margin-top:8px;text-align:center}.bpwmm-editor-side small{display:block;color:#64748b;margin-top:8px}.bpwmm-product-editor-form{background:transparent!important;border:0!important;padding:0!important}@media(max-width:900px){.bpwmm-product-editor-grid{grid-template-columns:1fr}.bpwmm-editor-fields{grid-template-columns:1fr}}

/* v4.9 Clean marketplace + product detail theme-matched UI */
.bpwmm-clean-market{max-width:1180px!important;margin:18px auto!important;padding:0 14px!important}
.bpwmm-clean-top{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;align-items:center;background:#fff;border:1px solid #e6edf4;border-radius:18px;padding:24px;box-shadow:0 10px 28px rgba(15,35,55,.06);margin:16px 0 16px;position:relative;overflow:hidden}
.bpwmm-clean-top:before{content:"";position:absolute;left:0;top:0;width:6px;height:100%;background:var(--bpwmm)}
.bpwmm-clean-top .bpwmm-kicker{background:#ecfeff;color:#0f766e;border:1px solid #99f6e4;border-radius:999px;padding:6px 11px;font-size:12px;font-weight:900;letter-spacing:.05em;text-transform:uppercase}
.bpwmm-clean-top h1{font-size:30px;line-height:1.15;margin:12px 0 8px;color:#0f172a!important}
.bpwmm-clean-top p{color:#475569;margin:0;line-height:1.55}.bpwmm-clean-top .bpwmm-hero-actions{margin-top:18px}
.bpwmm-clean-stats{display:grid;grid-template-columns:1fr;gap:10px}.bpwmm-clean-stats>div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:14px}.bpwmm-clean-stats b{display:block;color:#64748b;font-size:12px;text-transform:uppercase}.bpwmm-clean-stats strong{font-size:24px;color:#0f172a;display:block;margin-top:3px}
.bpwmm-info-strip{grid-template-columns:repeat(3,1fr);gap:12px}.bpwmm-info-strip>div{border-radius:14px;padding:16px;box-shadow:none}.bpwmm-filter-box{padding:14px;border-radius:15px;box-shadow:0 8px 20px rgba(15,35,55,.04)}.bpwmm-search-pro{display:grid;grid-template-columns:1.5fr .85fr 110px 95px;gap:10px}.bpwmm-search-pro input,.bpwmm-search-pro select{height:44px;border-radius:9px}
.solid-cats{display:flex!important;align-items:center;gap:7px!important;flex-wrap:wrap;margin:14px 0 18px!important}.solid-cats .solid-cat{font-size:12px!important;line-height:1!important;padding:9px 11px!important;border-radius:8px!important;min-height:32px!important;box-shadow:none!important;text-transform:uppercase;letter-spacing:.01em}.solid-cats .solid-cat:nth-child(n){background:#f1f5f9!important;color:#0f172a!important;border:1px solid #e2e8f0!important}.solid-cats .solid-cat:hover{background:var(--bpwmm)!important;color:#fff!important;border-color:var(--bpwmm)!important}.bpwmm-section-title{font-size:24px;margin:18px 0 14px}
.bpwmm-products{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.bpwmm-product-pro{padding:0!important;border-radius:16px!important;overflow:hidden;border:1px solid #e6edf4!important;background:#fff!important;box-shadow:0 12px 28px rgba(15,35,55,.07)!important;transition:.2s ease}.bpwmm-product-pro:hover{transform:translateY(-3px);box-shadow:0 18px 38px rgba(15,35,55,.12)!important}.bpwmm-product-img{display:block;background:#f8fafc;border-bottom:1px solid #edf2f7}.bpwmm-product-img img,.bpwmm-product-pro .bpwmm-noimg{width:100%!important;height:175px!important;object-fit:contain!important;border-radius:0!important;background:#f8fafc!important;padding:8px;box-sizing:border-box}.bpwmm-product-body{padding:14px}.bpwmm-product-pro h3{font-size:16px!important;line-height:1.32!important;margin:0 0 8px!important;min-height:42px}.bpwmm-product-pro h3 a{color:#0f172a!important;text-decoration:none}.bpwmm-card-seller{font-size:13px;color:#64748b;margin:0 0 8px}.bpwmm-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.bpwmm-card-meta span{background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;padding:4px 8px;font-size:11px;color:#475569}.bpwmm-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px}.bpwmm-card-bottom .bpwmm-price{font-size:18px;margin:0}.bpwmm-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.bpwmm-card-actions .bpwmm-btn,.bpwmm-card-bottom .bpwmm-btn{min-height:38px;padding:8px 10px!important;font-size:12px!important;border-radius:9px!important;box-shadow:none!important}
.bpwmm-store-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.bpwmm-store-card{border-radius:14px;padding:16px;box-shadow:none}.bpwmm-seller-directory h2{font-size:24px}
body.single-bpw_product .bpwmm-single-page{max-width:1160px!important;margin:24px auto!important;padding:0 14px!important}.bpwmm-single-grid{grid-template-columns:minmax(280px,.85fr) minmax(320px,1.15fr)!important;border-radius:18px!important;padding:18px!important;box-shadow:0 12px 32px rgba(15,35,55,.08)!important}.bpwmm-single-image{background:#f8fafc;border:1px solid #e6edf4;border-radius:16px;padding:12px}.bpwmm-single-image img{height:auto!important;max-height:460px!important;object-fit:contain!important;border:0!important;background:#fff!important;border-radius:12px!important}.bpwmm-single-info h1{font-size:30px!important;margin:0 0 10px!important}.bpwmm-meta-list li{border-radius:10px;padding:10px}.bpwmm-description,.bpwmm-reviews{border-radius:16px!important;padding:18px!important;box-shadow:0 8px 22px rgba(15,35,55,.05)!important}.bpwmm-upi-box{border-radius:14px}.bpwmm-buy-form{border-radius:14px;grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:1024px){.bpwmm-products{grid-template-columns:repeat(3,1fr)}.bpwmm-clean-top{grid-template-columns:1fr}.bpwmm-clean-stats{grid-template-columns:repeat(3,1fr)}.bpwmm-search-pro{grid-template-columns:1fr 1fr}.bpwmm-store-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.bpwmm-products,.bpwmm-info-strip,.bpwmm-store-grid{grid-template-columns:1fr}.bpwmm-search-pro{grid-template-columns:1fr}.bpwmm-clean-top{padding:18px}.bpwmm-clean-top h1{font-size:24px}.bpwmm-clean-stats{grid-template-columns:1fr}.bpwmm-card-bottom{display:block}.bpwmm-card-bottom .bpwmm-btn{margin-top:10px;width:100%}.bpwmm-single-grid,.bpwmm-buy-form{grid-template-columns:1fr!important}.solid-cats .solid-cat{font-size:11px!important;padding:8px 9px!important}.bpwmm-hero-actions .bpwmm-btn{width:auto!important}}

/* v4.9.1 single product hard fix: plugin template renders only one main product image */
body.single-bpw_product .wd-single-post-header,
body.single-bpw_product .single-post-title,
body.single-bpw_product .entry-thumbnail,
body.single-bpw_product .post-image,
body.single-bpw_product .post-img-wrapp,
body.single-bpw_product .article-inner > img,
body.single-bpw_product article > .wp-post-image,
body.single-bpw_product .article-body-container > .wp-post-image,
body.single-bpw_product .wd-post-img,
body.single-bpw_product .wd-post-header,
body.single-bpw_product .wd-entry-content > .wp-post-image{display:none!important}
body.single-bpw_product .bpwmm-single-shell{background:#fff;padding:26px 0 40px}
body.single-bpw_product .bpwmm-single-page{margin-top:0!important}
body.single-bpw_product .bpwmm-single-grid{background:linear-gradient(180deg,#fff,#fbfdff)!important;border:1px solid #e7edf5!important;border-radius:22px!important;box-shadow:0 18px 50px rgba(15,35,55,.10)!important}
body.single-bpw_product .bpwmm-single-image{display:flex;align-items:center;justify-content:center;min-height:360px;background:#f8fafc!important;border-radius:18px!important;overflow:hidden}
body.single-bpw_product .bpwmm-single-image img{display:block!important;width:100%!important;max-width:100%!important;max-height:470px!important;object-fit:contain!important;margin:0!important}
body.single-bpw_product .bpwmm-single-info{padding:6px 4px}
body.single-bpw_product .bpwmm-single-info h1{font-weight:900!important;letter-spacing:-.03em!important;color:#0b1220!important}
body.single-bpw_product .bpwmm-action-row .bpwmm-btn, body.single-bpw_product .bpwmm-buy-form button{background:#ef1d00!important;border-radius:10px!important;box-shadow:0 10px 24px rgba(239,29,0,.18)!important}
body.single-bpw_product .bpwmm-action-row .bpwmm-btn.alt{background:#0f172a!important}
@media(max-width:768px){body.single-bpw_product .bpwmm-single-shell{padding:14px 0 25px}body.single-bpw_product .bpwmm-single-image{min-height:240px}.bpwmm-meta-list{grid-template-columns:1fr!important}}

/* v4.9.4 RFQ form alignment fix */
.bpwmm-rfq-page{max-width:760px!important;margin:28px auto!important;padding:0 16px!important}
.bpwmm-rfq-hero{background:linear-gradient(135deg,#0f172a,#0f766e);color:#fff;border-radius:22px;padding:28px 34px;margin:0 0 18px;box-shadow:0 18px 45px rgba(15,23,42,.16)}
.bpwmm-rfq-hero span{display:inline-flex;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.18);padding:6px 10px;border-radius:999px;font-weight:800;font-size:12px;letter-spacing:.04em;text-transform:uppercase;margin-bottom:10px}
.bpwmm-rfq-hero h1{margin:0 0 8px!important;color:#fff!important;font-size:32px!important;line-height:1.15!important}
.bpwmm-rfq-hero p{margin:0!important;color:rgba(255,255,255,.92)!important;font-size:15px!important;line-height:1.6!important}
.bpwmm-rfq-form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;background:#fff;border:1px solid #e2e8f0;border-radius:22px;padding:22px;box-shadow:0 16px 40px rgba(15,23,42,.08);box-sizing:border-box}
.bpwmm-rfq-field{display:block;min-width:0}
.bpwmm-rfq-field.full{grid-column:1/-1}
.bpwmm-rfq-field label{display:block;margin:0 0 7px;color:#334155;font-size:13px;font-weight:800}
.bpwmm-rfq-form input,.bpwmm-rfq-form textarea{width:100%!important;box-sizing:border-box!important;border:1px solid #cbd5e1!important;border-radius:12px!important;background:#fff!important;color:#0f172a!important;padding:12px 14px!important;min-height:48px!important;font-size:15px!important;box-shadow:none!important;outline:none!important}
.bpwmm-rfq-form input:focus,.bpwmm-rfq-form textarea:focus{border-color:#0f766e!important;box-shadow:0 0 0 3px rgba(15,118,110,.12)!important}
.bpwmm-rfq-form input[readonly]{background:#f8fafc!important;color:#475569!important}
.bpwmm-rfq-form textarea{min-height:118px!important;resize:vertical!important;line-height:1.5!important}
.bpwmm-rfq-actions{grid-column:1/-1;display:flex;justify-content:flex-end;align-items:center;gap:10px;flex-wrap:wrap;margin-top:2px}
.bpwmm-rfq-actions .bpwmm-btn{min-height:46px!important;padding:11px 18px!important;border-radius:11px!important;box-shadow:none!important;width:auto!important;min-width:150px!important;font-size:14px!important}
.bpwmm-rfq-actions .bpwmm-rfq-submit{min-width:160px!important;max-width:200px!important}
@media(max-width:700px){.bpwmm-rfq-page{margin:18px auto!important}.bpwmm-rfq-hero{padding:22px 18px;border-radius:18px}.bpwmm-rfq-hero h1{font-size:26px!important}.bpwmm-rfq-form{grid-template-columns:1fr!important;padding:16px;border-radius:18px}.bpwmm-rfq-actions{justify-content:stretch}.bpwmm-rfq-actions .bpwmm-btn{width:100%!important;max-width:none!important}}

/* v4.9.5 marketplace attractive responsive UI + no wishlist buttons */
.bpwmm-market-modern{max-width:1180px!important;margin:34px auto!important;padding:0 16px!important}
.bpwmm-market-hero-v5{position:relative;overflow:hidden;display:grid!important;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr)!important;gap:26px!important;align-items:center!important;background:linear-gradient(135deg,#ffffff 0%,#f8fbff 48%,#e9fff8 100%)!important;color:#0f172a!important;border:1px solid #e5eef6!important;border-radius:26px!important;padding:34px!important;box-shadow:0 22px 55px rgba(15,35,55,.10)!important;margin:18px 0!important}
.bpwmm-market-hero-v5:before{content:"";position:absolute;right:-90px;top:-120px;width:320px;height:320px;background:radial-gradient(circle,rgba(15,118,110,.22),transparent 62%);pointer-events:none}.bpwmm-market-hero-v5:after{content:"";position:absolute;left:-120px;bottom:-150px;width:300px;height:300px;background:radial-gradient(circle,rgba(239,29,0,.10),transparent 62%);pointer-events:none}
.bpwmm-market-hero-v5>*{position:relative;z-index:1}.bpwmm-market-hero-v5 .bpwmm-kicker{background:#ecfdf5!important;color:#047857!important;border:1px solid #a7f3d0!important;font-size:12px!important;letter-spacing:.03em!important;text-transform:uppercase!important}.bpwmm-market-hero-v5 h1{font-size:40px!important;line-height:1.08!important;letter-spacing:-.04em!important;color:#07111f!important;margin:14px 0 12px!important;max-width:760px!important}.bpwmm-market-hero-v5 p{color:#475569!important;font-size:16px!important;line-height:1.65!important;max-width:720px!important}.bpwmm-market-hero-v5 .bpwmm-hero-actions{gap:12px!important;margin-top:24px!important}.bpwmm-market-hero-v5 .bpwmm-btn{min-height:48px!important;padding:12px 18px!important;border-radius:12px!important;font-size:14px!important}.bpwmm-buy-products{background:#ef1d00!important;box-shadow:0 14px 28px rgba(239,29,0,.18)!important}.bpwmm-market-hero-v5 .bpwmm-btn.solid.alt{background:#0f766e!important}.bpwmm-market-hero-v5 .bpwmm-btn.light{background:#fff!important;color:#0f172a!important;border:1px solid #e2e8f0!important}.bpwmm-hero-stats{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}.bpwmm-hero-stats div{background:#fff!important;border:1px solid #e7edf5!important;border-radius:18px!important;padding:18px!important;box-shadow:0 12px 28px rgba(15,35,55,.07)!important}.bpwmm-hero-stats b{color:#64748b!important;font-size:12px!important;text-transform:uppercase!important;letter-spacing:.06em!important}.bpwmm-hero-stats strong{color:#0f766e!important;font-size:34px!important;line-height:1.1!important}.bpwmm-hero-stats small{display:block;color:#64748b!important;margin-top:4px!important}.bpwmm-info-strip-clean{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;margin:18px 0!important}.bpwmm-info-strip-clean>div{background:#fff!important;border:1px solid #e6edf4!important;border-radius:18px!important;padding:18px!important;box-shadow:0 12px 28px rgba(15,35,55,.05)!important}.bpwmm-filter-box{background:#fff!important;border:1px solid #e6edf4!important;border-radius:18px!important;padding:14px!important;box-shadow:0 12px 28px rgba(15,35,55,.05)!important}.bpwmm-search-pro{grid-template-columns:minmax(220px,1.5fr) minmax(180px,.65fr) 110px 92px!important;align-items:center!important}.bpwmm-search-pro input,.bpwmm-search-pro select{height:46px!important;border-radius:12px!important;border:1px solid #dbe4ee!important;background:#fbfdff!important}.bpwmm-cats.solid-cats{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;background:#fff!important;border:1px solid #e6edf4!important;border-radius:18px!important;padding:13px!important;box-shadow:0 10px 24px rgba(15,35,55,.04)!important}.solid-cats .solid-cat{background:#f5f8fc!important;color:#0f172a!important;border:1px solid #dbe4ee!important;border-radius:999px!important;padding:7px 11px!important;min-height:32px!important;font-size:12px!important;line-height:1!important;font-weight:800!important;box-shadow:none!important}.solid-cats .solid-cat:hover{background:#0f766e!important;color:#fff!important;border-color:#0f766e!important}.solid-cats .solid-cat:nth-child(n){background:#f5f8fc!important;color:#0f172a!important}.bpwmm-section-title{font-size:28px!important;letter-spacing:-.03em!important;margin:28px 0 16px!important;color:#07111f!important}.bpwmm-products{gap:18px!important}.bpwmm-product-pro{border-radius:20px!important;border:1px solid #e6edf4!important;box-shadow:0 14px 34px rgba(15,35,55,.08)!important}.bpwmm-product-img img,.bpwmm-product-pro .bpwmm-noimg{height:190px!important;background:#f8fafc!important}.bpwmm-product-body{padding:15px!important}.bpwmm-card-actions-two{display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px!important;margin-top:12px!important}.bpwmm-card-actions-two .bpwmm-btn{width:100%!important;min-height:40px!important;padding:9px 10px!important;font-size:12px!important;border-radius:10px!important;text-align:center!important}.bpwmm-product .bpwmm-wish,.bpwmm-wish{display:none!important}.bpwmm-card-bottom{margin-top:10px!important}.bpwmm-card-bottom .bpwmm-price{font-size:19px!important;color:#0f766e!important}.bpwmm-store-card{border-radius:18px!important}.bpwmm-seller-directory{margin-top:30px!important}
@media(max-width:1024px){.bpwmm-market-hero-v5{grid-template-columns:1fr!important}.bpwmm-hero-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}.bpwmm-search-pro{grid-template-columns:1fr 1fr!important}.bpwmm-search-pro .bpwmm-btn{width:100%!important}.bpwmm-products{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:760px){.bpwmm-market-modern{margin:20px auto!important;padding:0 12px!important}.bpwmm-market-hero-v5{padding:22px!important;border-radius:20px!important}.bpwmm-market-hero-v5 h1{font-size:29px!important}.bpwmm-hero-stats,.bpwmm-info-strip-clean,.bpwmm-search-pro{grid-template-columns:1fr!important}.bpwmm-market-hero-v5 .bpwmm-hero-actions .bpwmm-btn{width:100%!important}.bpwmm-products{grid-template-columns:repeat(2,minmax(0,1fr))!important}.bpwmm-card-actions-two{grid-template-columns:1fr!important}.bpwmm-cats.solid-cats{max-height:180px!important;overflow:auto!important}.solid-cats .solid-cat{font-size:11px!important;padding:7px 9px!important}.bpwmm-section-title{font-size:23px!important}}
@media(max-width:480px){.bpwmm-products{grid-template-columns:1fr!important}.bpwmm-product-img img,.bpwmm-product-pro .bpwmm-noimg{height:210px!important}}

/* v4.9.8 fixes: device gallery upload, seller payment, RFQ reply button */
.bpwmm-file-fallback{display:block!important;margin-top:12px!important;background:#f8fafc!important;border:1px dashed #cbd5e1!important;border-radius:12px!important;padding:12px!important}
.bpwmm-file-fallback span{display:block!important;font-weight:800!important;color:#334155!important;margin-bottom:8px!important}
.bpwmm-file-fallback input[type=file],.bpwmm-editor-box input[type=file]{width:100%!important;border:1px solid #dbe4ee!important;border-radius:10px!important;padding:9px!important;background:#fff!important;min-height:auto!important}
.bpwmm-small-btn{min-height:36px!important;padding:8px 14px!important;border-radius:9px!important;font-size:12px!important;width:auto!important;max-width:140px!important;box-shadow:none!important}
.bpwmm-table form textarea[name=reply]{width:100%!important;min-width:220px!important;min-height:74px!important;border:1px solid #dbe4ee!important;border-radius:10px!important;padding:10px!important;margin-bottom:8px!important;display:block!important}
.bpwmm-upi-box{background:#ecfdf5!important;border-color:#86efac!important}.bpwmm-buy-form select option[value=cod]{font-weight:700}.bpwmm-order-note{font-size:12px;color:#64748b;display:block;margin-top:4px}
@media(max-width:760px){.bpwmm-table form textarea[name=reply]{min-width:160px}.bpwmm-small-btn{width:100%!important;max-width:none!important}}

/* v5.0.1 Dashboard QR auto-login card */
.bpwmm-qr-card{display:grid!important;grid-template-columns:minmax(0,1fr) 260px!important;gap:20px!important;align-items:center!important;margin:22px 0!important;padding:24px!important;border-radius:22px!important;background:linear-gradient(135deg,#ffffff 0%,#f8fbff 55%,#ecfdf5 100%)!important;border:1px solid #e2e8f0!important;box-shadow:0 18px 45px rgba(15,35,55,.08)!important;overflow:hidden!important}
.bpwmm-qr-text span{display:inline-flex!important;background:#ffedd5!important;color:#ea580c!important;border-radius:999px!important;padding:7px 12px!important;font-size:12px!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.04em!important;margin-bottom:10px!important}
.bpwmm-qr-text h3{margin:0 0 8px!important;color:#0f172a!important;font-size:24px!important;letter-spacing:-.03em!important}.bpwmm-qr-text p{margin:0 0 14px!important;color:#475569!important;line-height:1.65!important}.bpwmm-qr-text small{display:block!important;color:#64748b!important;margin-top:10px!important}.bpwmm-qr-box{background:#fff!important;border:1px solid #e5eef6!important;border-radius:18px!important;padding:16px!important;text-align:center!important;box-shadow:0 12px 28px rgba(15,35,55,.06)!important}.bpwmm-qr-box img{width:220px!important;height:220px!important;max-width:100%!important;display:block!important;margin:0 auto 12px!important;border-radius:12px!important}.bpwmm-qr-box .bpwmm-btn{width:100%!important;justify-content:center!important}
@media(max-width:760px){.bpwmm-qr-card{grid-template-columns:1fr!important;padding:18px!important}.bpwmm-qr-text h3{font-size:21px!important}.bpwmm-qr-box img{width:190px!important;height:190px!important}}
