/* MJ Marketplace v3.0.4.2.21 Frontend UI Enhancement */
:root{--mj21-blue:#2563eb;--mj21-ink:#0f172a;--mj21-muted:#64748b;--mj21-soft:#f8fafc;--mj21-line:#e2e8f0;--mj21-green:#16a34a;--mj21-amber:#f59e0b}
.mj-v30421-body{background:linear-gradient(180deg,#f8fbff 0,#fff 280px,#fff 100%);color:var(--mj21-ink)}
.mj-v30421-body .container{max-width:1240px}.mj-navbar{backdrop-filter:blur(18px);box-shadow:0 8px 24px rgba(15,23,42,.06)}
.mj-nav-cta{border-radius:999px;font-weight:900;box-shadow:0 10px 24px rgba(37,99,235,.20)}
.mj-explore-dropdown{min-width:320px}.mj-explore-dropdown a{display:flex;gap:12px;align-items:flex-start;padding:12px;border-radius:16px;text-decoration:none;color:var(--mj21-ink)}.mj-explore-dropdown a:hover{background:#eff6ff}.mj-explore-dropdown i{width:38px;height:38px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#eff6ff,#f5f3ff);color:var(--mj21-blue);font-size:1.1rem}.mj-explore-dropdown b{display:block}.mj-explore-dropdown small{display:block;color:var(--mj21-muted)}
.mj-v30421-page-hero,.mj-page-hero{background:linear-gradient(135deg,#eff6ff,#ffffff 46%,#f5f3ff);border-bottom:1px solid #e5edff}.mj-page-hero nav a,.mj-soft-link{color:var(--mj21-blue);font-weight:800;text-decoration:none}.mj-page-hero nav a:hover,.mj-soft-link:hover{text-decoration:underline}
.mj-v30421-filter,.mj-filter-bar{background:#fff;border:1px solid #dbe7ff;border-radius:26px;box-shadow:0 18px 50px rgba(15,23,42,.08)}.mj-v30421-filter .form-control,.mj-v30421-filter .form-select,.mj-filter-bar .form-control,.mj-filter-bar .form-select{border-radius:16px;border-color:#dbe7ff;min-height:48px}.mj-v30421-filter label{font-weight:900;color:#475569}.mj-v30421-filter .btn,.mj-filter-bar .btn{border-radius:999px;font-weight:900;min-height:48px}
.mj-v30421-card,.listing-card,.company-card,.mj-deal-card{border:1px solid #e5edff;border-radius:26px;box-shadow:0 16px 42px rgba(15,23,42,.07);overflow:hidden;transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease}.mj-v30421-card:hover,.listing-card:hover,.company-card:hover,.mj-deal-card:hover{transform:translateY(-4px);box-shadow:0 28px 70px rgba(15,23,42,.13);border-color:#bfdbfe}.mj-card-img{aspect-ratio:4/3;object-fit:cover;background:#eef2ff}.mj-v30421-card h5 a:hover{color:var(--mj21-blue)!important}.mj-listing-price{font-size:1.12rem;font-weight:950;color:var(--mj21-blue)}.mj-listing-stats{display:flex;gap:7px;flex-wrap:wrap}.mj-listing-stats span{background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;padding:5px 8px;font-size:.76rem;color:#475569;font-weight:800}.mj-listing-stats i{margin-right:4px;color:#2563eb}.mj-badge{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:6px 10px;font-weight:900;font-size:.76rem;background:#eff6ff;color:#1d4ed8}.mj-badge.good{background:#dcfce7;color:#166534}.mj-badge.warn{background:#fef3c7;color:#92400e}.mj-badge.dark{background:#111827;color:#fff}
.mj-home-search,.mj-v30421-home-search{box-shadow:0 24px 70px rgba(15,23,42,.16);border:1px solid rgba(255,255,255,.55)}.mj-home-quick a{border-radius:999px;background:#eff6ff;padding:5px 10px;color:#1d4ed8;text-decoration:none;font-weight:800}.mj-home-quick a:hover{background:#dbeafe}.mj-section-title{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:24px}.mj-section-title h2{letter-spacing:-.03em}
.mj-deals-hero,.mj-v30421-deals-hero{background:radial-gradient(circle at 20% 20%,rgba(255,255,255,.24),transparent 28%),linear-gradient(135deg,#1d4ed8,#7c3aed);color:white}.mj-deals-hero .lead{color:rgba(255,255,255,.86)}.mj-deal-card img,.mj-deal-detail-img img{width:100%;object-fit:cover}.mj-deal-card img{height:230px}.mj-deal-detail-img{position:relative;border-radius:28px;overflow:hidden;box-shadow:0 22px 60px rgba(15,23,42,.15)}.mj-deal-detail-img img{max-height:560px}.mj-deal-detail-img span{position:absolute;top:18px;left:18px;background:#ef4444;color:#fff;font-weight:950;border-radius:999px;padding:9px 14px}
.mj-clean-form .form-control,.mj-clean-form .form-select,.mj-clean-form textarea{border-radius:16px;border-color:#dbe7ff}.mj-clean-form .form-control:focus,.mj-clean-form .form-select:focus,.mj-clean-form textarea:focus{box-shadow:0 0 0 .2rem rgba(37,99,235,.12);border-color:#93c5fd}.mj-form-message{border-radius:18px;padding:12px 14px;margin-bottom:12px;font-weight:800}.mj-form-message.success{background:#dcfce7;color:#166534;border:1px solid #86efac}.mj-form-message.error{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}.mj-form-message.info{background:#eff6ff;color:#1e3a8a;border:1px solid #bfdbfe}
.mj-mobile-action-bar{display:none;position:fixed;left:12px;right:12px;bottom:82px;z-index:1020;background:rgba(255,255,255,.96);border:1px solid #dbe7ff;border-radius:22px;padding:10px;box-shadow:0 18px 50px rgba(15,23,42,.18);backdrop-filter:blur(14px);gap:8px}.mj-mobile-action-bar .btn{font-weight:900;flex:1}.mj-debug-panel{background:#111827;color:#e5e7eb;border-radius:22px;padding:18px;box-shadow:0 20px 50px rgba(0,0,0,.18)}.mj-debug-panel h6{color:#fbbf24;font-weight:950}.mj-debug-item{border-top:1px solid rgba(255,255,255,.12);padding-top:10px;margin-top:10px}.mj-debug-item span,.mj-debug-item small{display:block;color:#cbd5e1}.mj-debug-item code{display:block;white-space:pre-wrap;color:#bfdbfe;background:#020617;border-radius:12px;padding:10px;margin:7px 0}
.mj-footer .mj-footer-tags span{background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.14);border-radius:999px;padding:6px 10px;display:inline-flex;margin:4px;color:#e2e8f0}.mj-footer a{display:block;color:#cbd5e1;text-decoration:none;margin:.35rem 0}.mj-footer a:hover{color:#fff;text-decoration:underline}.mj-app-cta{background:linear-gradient(135deg,#0f172a,#2563eb)}
@media(max-width:991px){.mj-section-title{display:block}.mj-explore-dropdown{min-width:auto}.mj-v30421-body .navbar-collapse{padding-top:12px}.mj-mobile-action-bar{display:flex}.mj-main{padding-bottom:74px}.mj-filter-bar .row>[class*=col-],.mj-v30421-filter .row>[class*=col-]{margin-bottom:2px}.sticky-lg-top{position:static!important}.mj-home-hero h1,.display-5{font-size:2.45rem}.mj-card{border-radius:22px}}
@media(max-width:575px){.mj-v30421-body .container{padding-left:16px;padding-right:16px}.mj-card-img{aspect-ratio:16/11}.mj-listing-stats span{font-size:.72rem}.mj-deal-card img{height:190px}.mj-mobile-bottom{box-shadow:0 -12px 30px rgba(15,23,42,.12)}.mj-page-hero{padding:34px 0}.mj-section{padding:34px 0}.btn-lg{font-size:1rem}}


/* MJ Marketplace v3.0.4.2.23 - image not available fallback */
.mj-img-placeholder{width:100%;min-height:180px;aspect-ratio:4/3;border-radius:20px;background:linear-gradient(135deg,#eef2ff,#f8fafc);border:1px solid #dbe7ff;color:#64748b;display:flex;align-items:center;justify-content:center;text-align:center;font-weight:900;letter-spacing:.01em;position:relative;overflow:hidden;}
.mj-img-placeholder:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 25% 20%,rgba(37,99,235,.10),transparent 32%);}
.mj-img-placeholder .mj-img-placeholder-inner{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:8px;padding:18px;}
.mj-img-placeholder i{font-size:2rem;color:#94a3b8;}
.mj-card-img.mj-img-hidden{display:none!important;}
.mj-deal-img .mj-img-placeholder,.mj-deal-detail-img .mj-img-placeholder{border-radius:0;min-height:230px;}
.mj-deal-detail-img .mj-img-placeholder{min-height:420px;}
.mj-company-logo-placeholder{width:190px;max-width:100%;min-height:150px;background:#fff;border-color:rgba(255,255,255,.55);}
.mj-listing-main-placeholder{min-height:380px;}
.mj-thumb.mj-img-hidden{display:none!important;}
@media(max-width:575px){.mj-img-placeholder{min-height:150px}.mj-deal-detail-img .mj-img-placeholder,.mj-listing-main-placeholder{min-height:260px}}

/* MJ Marketplace v3.0.4.2.25 - listing detail image and spacing refinement */
.site-header.sticky-top{z-index:1045;}
.mj-listing-page-hero{padding:26px 0 18px;position:relative;z-index:1;}
.mj-listing-detail-section{padding-top:28px;}
.mj-listing-detail-grid{align-items:flex-start;}
.mj-listing-gallery-card{position:relative;z-index:1;overflow:visible;}
.mj-listing-main-media{width:100%;min-height:360px;border-radius:24px;background:linear-gradient(135deg,#f8fbff,#eef4ff);border:1px solid #dbe7ff;display:flex;align-items:center;justify-content:center;overflow:hidden;}
.mj-listing-main-image{width:100%;height:clamp(320px,42vw,520px);object-fit:contain;background:#f8fbff;display:block;cursor:zoom-in;}
.mj-listing-thumb-strip{display:flex;gap:10px;flex-wrap:wrap;align-items:center;}
.mj-thumb{width:82px;height:66px;object-fit:cover;border-radius:16px;border:2px solid #e0eaff;background:#f8fbff;cursor:pointer;padding:2px;transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease;}
.mj-thumb:hover,.mj-thumb.active{border-color:#2563eb;box-shadow:0 10px 22px rgba(37,99,235,.18);transform:translateY(-1px);}
.mj-thumb.mj-img-hidden{display:none!important;}
.mj-listing-action-card{z-index:2;}
.mj-img-placeholder{background:linear-gradient(135deg,#f8fbff,#eef4ff);border:1px solid #dbe7ff;color:#64748b;}
.mj-img-placeholder .mj-img-placeholder-inner{gap:9px;}
.mj-img-placeholder .mj-img-placeholder-inner span{font-size:.96rem;font-weight:900;color:#64748b;}
.mj-img-placeholder .mj-img-placeholder-inner small{display:block;color:#94a3b8;font-weight:700;max-width:320px;line-height:1.35;}
.mj-listing-main-placeholder{min-height:clamp(280px,42vw,460px);aspect-ratio:16/10;border-radius:24px;}
.mj-listing-main-placeholder .mj-img-placeholder-inner span{font-size:1.12rem;color:#64748b;}
@media(max-width:991px){.mj-listing-page-hero{padding-top:24px}.mj-listing-detail-section{padding-top:22px}.mj-listing-main-media{min-height:280px}.mj-listing-main-image{height:clamp(260px,58vw,420px)}.mj-listing-action-card.sticky-top{position:static!important}}
@media(max-width:575px){.mj-listing-page-hero{padding:22px 0 12px}.mj-listing-detail-section{padding-top:18px}.mj-listing-main-media{min-height:230px;border-radius:20px}.mj-listing-main-image{height:260px}.mj-listing-main-placeholder{min-height:230px;border-radius:20px}.mj-thumb{width:68px;height:56px;border-radius:13px}}


/* MJ Marketplace v3.0.4.2.26 - company logo fallback standardization */
.mj-company-logo-xl{background:#f8fbff;border:1px solid #dbe7ff;box-shadow:0 10px 24px rgba(15,23,42,.04);}
.mj-company-logo-xl img{display:block;width:100%;height:100%;object-fit:contain;background:#fff;padding:7px;}
.mj-company-logo-xl .mj-img-placeholder{width:100%;height:100%;min-height:0;aspect-ratio:auto;border:0;border-radius:inherit;background:linear-gradient(135deg,#f8fbff,#eef4ff);}
.mj-company-logo-xl .mj-img-placeholder .mj-img-placeholder-inner{gap:4px;padding:6px;}
.mj-company-logo-xl .mj-img-placeholder i{font-size:1.35rem;color:#64748b;}
.mj-company-logo-xl .mj-img-placeholder span{font-size:.58rem!important;line-height:1.05;text-align:center;color:#64748b!important;}
.mj-company-logo-inline-placeholder{border-radius:inherit;}
.mj-company-logo-placeholder{width:190px;max-width:100%;min-height:150px;aspect-ratio:1/1;background:#fff;border-color:rgba(255,255,255,.55);}
.mj-company-detail-logo{max-width:190px;width:190px;aspect-ratio:1/1;object-fit:contain;}
.mj-company-card-placeholder{min-height:220px;aspect-ratio:4/3;}
.company-card .mj-card-img.mj-img-hidden{display:none!important;}
.company-card .mj-img-placeholder{border-radius:0;}
@media(max-width:575px){.mj-company-logo-placeholder{width:150px;min-height:130px}.mj-company-detail-logo{max-width:150px;width:150px}.mj-company-logo-xl .mj-img-placeholder span{font-size:.54rem!important}}

/* MJ Marketplace v3.0.4.2.27 - unified search results + refined hero title */
.mj-home-hero .mj-home-hero-title{font-size:clamp(3rem,5.35vw,5.85rem);line-height:.98;letter-spacing:-.06em;max-width:760px;margin-bottom:1.15rem;}
.mj-home-hero .mj-home-lead{max-width:760px;}
.mj-home-hero .mj-home-search{max-width:900px;}
.mj-search-results-hero{padding:44px 0 34px;}
.mj-unified-search-form{position:relative;z-index:20;}
.mj-unified-search-form .mj-home-input{height:48px;background:#fff;border:1px solid #dbe7ff;border-radius:16px;display:flex;align-items:center;gap:10px;padding:0 14px;}
.mj-unified-search-form .mj-home-input i{color:#64748b;}
.mj-unified-search-form .mj-home-input .form-control{border:0!important;box-shadow:none!important;min-height:44px;padding:0;background:transparent;}
.mj-search-tabs a.active{background:#2563eb;color:#fff;border-color:#2563eb;}
.mj-search-summary .mj-badge{font-size:.86rem;padding:8px 12px;}
.mj-search-section-title{padding-top:6px;border-top:1px solid #e5edff;}
.mj-empty-results{border:1px solid #dbe7ff;box-shadow:0 18px 50px rgba(15,23,42,.07);}
.mj-deal-badges{position:absolute;top:12px;left:12px;right:12px;display:flex;gap:8px;flex-wrap:wrap;z-index:2;}
.mj-deal-badges b,.mj-deal-badges em{background:#111827;color:#fff;border-radius:999px;padding:6px 10px;font-size:.78rem;font-weight:950;font-style:normal;box-shadow:0 8px 20px rgba(15,23,42,.18);}
.mj-deal-badges em{background:#ef4444;}
.mj-deal-img{display:block;position:relative;overflow:hidden;text-decoration:none;background:#eef2ff;}
.mj-deal-img img{width:100%;height:230px;object-fit:cover;display:block;transition:transform .2s ease;}
.mj-deal-card:hover .mj-deal-img img{transform:scale(1.03);}
@media(max-width:1199px){.mj-home-hero .mj-home-hero-title{font-size:clamp(2.8rem,6.2vw,4.8rem);max-width:690px;}}
@media(max-width:991px){.mj-home-hero .mj-home-hero-title{font-size:clamp(2.35rem,8vw,3.8rem);line-height:1.04;letter-spacing:-.045em;}.mj-home-hero .mj-home-search{max-width:100%;}.mj-search-results-hero{padding:34px 0 26px;}}
@media(max-width:575px){.mj-home-hero .mj-home-hero-title{font-size:2.35rem;line-height:1.05;}.mj-unified-search-form{border-radius:22px}.mj-search-summary{display:block!important}.mj-search-summary>div{margin-bottom:10px}.mj-deal-img img{height:190px}}

/* MJ Marketplace v3.0.4.2.29 - complete frontend UI, hero sizing and scroll speed refinement */
.mj-home-hero{padding:clamp(46px,5.4vw,78px) 0 52px!important;overflow:hidden;}
.mj-home-hero .mj-home-hero-title{font-size:clamp(2.75rem,4.25vw,4.45rem)!important;line-height:1.04!important;letter-spacing:-.045em!important;max-width:690px!important;margin-bottom:1rem!important;text-wrap:balance;}
.mj-home-hero .mj-home-lead{font-size:clamp(1rem,1.15vw,1.12rem)!important;line-height:1.55!important;max-width:690px!important;margin-bottom:1.6rem!important;color:rgba(255,255,255,.9);}
.mj-home-hero .mj-home-search{max-width:900px!important;margin-top:0!important;position:relative;z-index:55;}
.mj-home-hero .mj-home-stats{margin-top:1.45rem!important;}
.mj-home-hero-board{will-change:auto!important;transform:none!important;}
.mj-home-floating-card{will-change:auto!important;}
.mj-v30421-body [data-aos]{opacity:1!important;transform:none!important;transition:none!important;}
.mj-v30421-card,.listing-card,.company-card,.mj-deal-card{transition:box-shadow .12s ease,border-color .12s ease!important;will-change:auto!important;}
.mj-v30421-card:hover,.listing-card:hover,.company-card:hover,.mj-deal-card:hover{transform:none!important;box-shadow:0 18px 46px rgba(15,23,42,.10)!important;}
.mj-card-img,.mj-deal-img img,.mj-listing-main-image,.mj-company-detail-logo{backface-visibility:hidden;}
.mj-section{content-visibility:visible!important;contain-intrinsic-size:auto!important;}
.mj-section-title{scroll-margin-top:90px;}
.mj-home-category-section,.mj-home-company-section,.mj-home-listing-section{min-height:0!important;}
.mj-match-reason{margin-top:.15rem;}
@media(max-width:1199px){.mj-home-hero .mj-home-hero-title{font-size:clamp(2.55rem,4.9vw,3.85rem)!important;max-width:620px!important}.mj-home-hero{padding-top:48px!important}}
@media(max-width:991px){.mj-home-hero{padding:38px 0 40px!important}.mj-home-hero .mj-home-hero-title{font-size:clamp(2.25rem,7vw,3.25rem)!important;line-height:1.08!important;max-width:100%!important}.mj-home-hero .mj-home-lead{max-width:100%!important}.mj-home-hero-board{margin-top:12px}.mj-home-search .row>[class*=col-]{margin-bottom:0}}
@media(max-width:575px){.mj-home-hero{padding:30px 0 34px!important}.mj-home-hero .mj-home-hero-title{font-size:2.1rem!important;line-height:1.08!important;letter-spacing:-.035em!important}.mj-home-hero .mj-home-lead{font-size:.96rem!important}.mj-home-quick{gap:6px}.mj-home-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
