/* Phase 4 components extend the existing warm marketplace and company workspace. */
.market-filters{padding:24px;background:white;border:1px solid var(--line);border-radius:12px;margin:25px 0}.market-filter-main{display:grid;grid-template-columns:1.5fr 1.2fr 1fr 1fr auto;gap:15px;align-items:end}.market-filters label,.market-search label{font-size:12px;font-weight:600}.market-filters input,.market-filters select,.market-search input{font-size:13px;min-height:46px}.location-filters{border-top:1px solid var(--line);padding-top:18px;margin-top:22px}.location-filters summary{font-size:12px;cursor:pointer;min-height:44px;display:flex;align-items:center;gap:10px}.location-filters summary .icon{color:#ab8e4d;width:18px}.location-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:15px 0}.location-filters .fine-print{margin:17px 0 0}.catalogue-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.catalogue-card{overflow:hidden;display:flex;flex-direction:column}.catalogue-card>div:last-child{padding:23px;flex:1;display:flex;flex-direction:column;align-items:flex-start}.catalogue-card .eyebrow{font-size:9px!important;margin-bottom:10px}.catalogue-card h3{font-size:20px;overflow-wrap:anywhere}.catalogue-card p.muted{font-size:12px}.catalogue-card .fine-print{margin-bottom:12px}.catalogue-card .text-link{margin-top:auto}.catalogue-card .btn{margin-top:12px;width:100%}.product-image-link{display:block}.product-picture{position:relative;min-height:190px;background:#eeeee5;display:grid;place-items:center;overflow:hidden}.product-picture>img{width:100%;height:230px;object-fit:contain;padding:20px;background:white}.product-picture>img+.image-fallback{display:none}.image-fallback{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;min-height:190px;color:#9b9f85}.image-fallback>.icon{width:55px;height:55px;stroke-width:1}.image-fallback small{font-size:10px}.marketplace-empty{padding:45px 25px;text-align:center;margin:25px 0}.marketplace-empty .round-icon{margin-bottom:20px}.marketplace-empty h2{font-size:25px}.marketplace-empty p{max-width:650px;margin:0 auto;font-size:13px}.market-pagination{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:26px 0;font-size:12px;color:var(--muted)}.market-pagination>div{display:flex;gap:10px}.energy-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.energy-category{display:grid;grid-template-columns:48px 1fr 18px;gap:4px 17px;align-items:center;padding:23px;min-height:120px;transition:border-color .2s}.energy-category:hover{border-color:var(--gold)}.energy-category>.round-icon{grid-row:1/3}.energy-category h3{margin:0;font-size:16px}.energy-category>small{grid-column:2;color:var(--muted);font-size:10px}.energy-category>.icon:last-child{grid-column:3;grid-row:1/3;width:17px;color:#9c8758}.market-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px}.market-detail-grid .product-picture{min-height:360px;border-radius:12px}.market-detail-grid .product-picture img{height:360px}.market-detail-grid .image-fallback{min-height:360px}.market-details{padding:30px;min-width:0}.market-details h2{font-size:23px}.market-details>.muted{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.market-details p{font-size:13px}.specifications{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:22px 0;border-block:1px solid var(--line);margin-block:25px}.specifications dt,.specifications dd{padding:0;margin:0;font-size:12px;overflow-wrap:anywhere}.product-gallery{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:15px}.product-gallery .product-picture{min-height:150px}.product-gallery .product-picture img{height:150px}.product-gallery .image-fallback{min-height:150px}.offers-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.offer-card{padding:27px;overflow-wrap:anywhere;min-width:0;display:flex;flex-direction:column;align-items:flex-start}.offer-card h3{font-size:22px}.offer-card .eyebrow{font-size:9px!important}.offer-price{font-size:25px;line-height:1.4;font-weight:600;color:var(--brand);letter-spacing:-.6px;margin:8px 0}.offer-price small{font-size:11px;letter-spacing:0;font-weight:400;color:var(--muted)}.offer-card .muted{font-size:12px;margin-bottom:10px}.offer-card .fine-print{margin:0 0 12px}.offer-card dl{display:grid;grid-template-columns:1fr 1.3fr;gap:13px;border-top:1px solid var(--line);padding-top:18px}.offer-card dt,.offer-card dd{margin:0;padding:0;font-size:11px}.offer-card>.btn{width:100%;margin-top:auto;white-space:normal}.live-vendor-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.live-vendor{display:flex;align-items:flex-start;gap:20px;padding:27px;min-width:0}.live-vendor>.org-logo{background:#f5f0e1;width:60px;height:60px}.live-vendor .org-logo .icon{width:35px;height:35px}.live-vendor h3{font-size:23px;overflow-wrap:anywhere}.live-vendor p{font-size:12px;overflow-wrap:anywhere}.live-vendor .eyebrow{font-size:8px!important}.live-vendor .vendor-tags{margin:15px 0 4px}.company-storefront{--store-primary:#601c2b;--store-secondary:#292b29;--store-accent:#d8ab55;padding:45px 30px;text-align:center;background:#f6f1e4;border-radius:16px;border-top:5px solid var(--store-accent);overflow-wrap:anywhere}.company-storefront.clean{background:white}.company-storefront>.org-logo{margin:0 auto 25px;color:var(--store-primary)}.company-storefront>.eyebrow{color:var(--store-secondary)}.company-storefront h2{font-family:Georgia,serif;font-size:40px;font-weight:400;color:var(--store-primary)}.company-storefront>p{color:var(--store-secondary);max-width:700px;margin-inline:auto;white-space:pre-wrap}.store-contact{display:flex;justify-content:center;gap:20px;flex-wrap:wrap;margin-top:25px;font-size:13px;color:var(--store-secondary)}.area-list{list-style:none;padding:0;margin:0}.area-list li{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap;padding:15px 0;border-top:1px solid var(--line)}.area-list strong,.area-list span{font-size:12px;overflow-wrap:anywhere}.area-list li>span:last-child{color:var(--muted)}.market-search{display:flex;align-items:end;gap:15px;margin:25px 0}.market-search label{max-width:500px;flex:1}.market-editor-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:25px;align-items:start}.market-editor-grid .settings-panel{max-width:none}.market-editor-grid .offer-card{margin-bottom:20px}.market-editor-grid>aside{position:sticky;top:24px}.market-form>label,.market-form>details{display:block;margin-top:20px}.market-form label{font-size:12px;font-weight:600}.market-form .checkbox-label{font-weight:400;line-height:1.7;margin-block:22px}.market-form>.btn{margin-top:24px}.market-form input,.market-form select,.market-form button{min-height:46px}.market-form input[type=hidden]{display:none}.market-form textarea{font-size:13px}.market-form .service-options{margin-top:25px}.market-form .service-options>.checkbox-label{margin:0}.market-form .fine-print{font-weight:400}.market-form details>summary{font-size:12px;cursor:pointer;padding:14px 0}.market-editor-grid fieldset,.area-editor>fieldset,.definition-editor>fieldset{border:0;padding:0;margin:0}.market-editor-grid fieldset.service-options{border:1px solid var(--line);padding:18px}.coverage-row{border:1px solid var(--line)!important;border-radius:9px;padding:22px!important;margin-bottom:20px!important;display:grid;grid-template-columns:1fr 1fr;gap:18px}.coverage-row legend{font-size:12px;padding:0 7px}.coverage-row label{font-size:11px}.coverage-row>.btn{grid-column:1/-1;justify-self:start}.area-editor{max-width:950px;margin:auto}.offer-actions{display:flex;flex-direction:column;gap:12px}.definition-editor{max-width:850px;margin:auto}.table-sub{display:block;font-size:9px;color:var(--muted);margin-top:6px}.market-feedback:empty{display:none}.market-form>fieldset legend{font-size:12px}.market-form input[name=schema],.market-form textarea[name=schema]{font-family:Consolas,monospace}.catalogue-grid+.marketplace-empty,.live-vendor-grid+.marketplace-empty{margin-top:0}
@media(max-width:1150px){.market-filter-main{grid-template-columns:1fr 1fr}.market-filter-main>.btn{justify-self:start}.catalogue-grid{grid-template-columns:1fr 1fr}.energy-category-grid{grid-template-columns:1fr 1fr}.live-vendor-grid{grid-template-columns:1fr}.market-editor-grid{grid-template-columns:1fr 1fr}.energy-category{padding:20px;gap:4px 12px}}
@media(max-width:760px){.market-filters{padding:20px;margin-top:20px}.market-filter-main,.location-fields{grid-template-columns:1fr;gap:17px}.market-filter-main>.btn{width:100%}.market-filters label{font-size:13px}.location-filters summary{font-size:12px;line-height:1.7}.catalogue-grid,.energy-category-grid,.market-detail-grid,.offers-grid,.market-editor-grid{grid-template-columns:1fr}.catalogue-card{display:grid;grid-template-columns:125px 1fr}.catalogue-card>div:last-child{padding:20px 16px}.catalogue-card h3{font-size:18px}.catalogue-card .product-picture{height:100%;min-height:220px}.catalogue-card .product-picture img{height:220px;padding:10px}.catalogue-card .image-fallback>.icon{width:35px;height:35px}.catalogue-card .image-fallback>small{font-size:8px}.catalogue-card .eyebrow{font-size:8px!important}.catalogue-card .btn{font-size:10px;padding:10px}.market-pagination{font-size:10px;gap:10px}.market-pagination .btn{font-size:11px;padding:10px 14px}.energy-category-grid{gap:13px}.energy-category{grid-template-columns:48px 1fr 18px;min-height:100px}.energy-category h3{font-size:16px}.marketplace-empty{padding:35px 20px}.marketplace-empty h2{font-size:23px}.marketplace-empty p{font-size:12px}.market-details{padding:25px}.market-detail-grid .product-picture,.market-detail-grid .image-fallback{min-height:280px}.market-detail-grid .product-picture img{height:280px}.product-gallery .product-picture,.product-gallery .image-fallback{min-height:130px}.product-gallery .product-picture img{height:130px}.offer-card{padding:25px}.offer-card h3{font-size:21px}.offer-price{font-size:24px}.live-vendor{padding:24px;gap:15px}.live-vendor h3{font-size:21px}.live-vendor>.org-logo{width:47px;height:47px;border-radius:10px}.live-vendor .org-logo .icon{width:30px;height:30px}.live-vendor p{font-size:11px}.company-storefront{padding:35px 22px}.company-storefront h2{font-size:34px}.store-contact{flex-direction:column;gap:8px}.market-editor-grid>aside{position:static;order:-1}.market-editor-grid .settings-panel{padding:25px}.market-search{align-items:stretch;flex-direction:column;gap:12px}.market-search label{max-width:none}.coverage-row{grid-template-columns:1fr;padding:20px!important;gap:15px}.coverage-row legend{font-size:11px}.coverage-row label{font-size:12px}.market-form>.btn{width:100%}.area-list li{font-size:12px}.market-form .service-options>.checkbox-label{min-height:44px;padding:8px 0}.product-gallery{gap:12px}.platform-entry{display:none}}
/* Keep PIN discovery visible before the optional location details. */
@media(min-width:1151px){.market-filter-main{grid-template-columns:minmax(110px,.8fr) minmax(150px,1.5fr) repeat(3,minmax(100px,1fr)) auto}}
.market-filter-main>label{min-width:0}.market-filter-main input,.market-filter-main select{max-width:100%}
/* Visual product discovery uses the shared customer shell and stored catalogue. */
.solar-marketplace{color:#18202a;max-width:1700px;margin:auto;font-family:Arial,"Noto Sans Malayalam","Nirmala UI",sans-serif;padding:8px 10px 24px}.sm-breadcrumb{display:flex;gap:12px;align-items:center;color:#69666a;font-size:13px;margin:5px 0 16px}.sm-breadcrumb .icon{display:none}.sm-intro h1{font-size:34px;letter-spacing:-.7px;color:#681c2c;margin:0 0 7px}.sm-intro p{margin:0;color:#5d6067;font-size:16px;line-height:1.6}.sm-search{display:flex;gap:12px;align-items:center;margin:18px 0 26px;position:relative}.sm-search>.icon{position:absolute;inset-inline-start:17px;color:#681c2c;width:22px;pointer-events:none}.sm-search input{flex:1;min-width:0;width:100%;min-height:50px;border:1px solid #e0dcd8;border-radius:10px;background:#fff;padding:13px 15px 13px 49px;font:inherit;font-size:15px;box-shadow:0 3px 10px #30201706}.sm-search>.btn{min-width:130px;min-height:50px}.sm-section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:20px 0 14px}.sm-section-title h2,.sm-guide h2{font-size:21px;letter-spacing:-.4px;margin:0}.sm-section-title>a{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:600;color:#681c2c}.sm-section-title>span{font-size:12px;color:#6f6664}.sm-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.sm-category{display:block;background:#fff;border:1px solid #e9e4de;border-radius:11px;overflow:hidden;box-shadow:0 3px 10px #30201705;transition:border-color .16s,box-shadow .16s}.sm-category:hover,.sm-category.is-selected{border-color:#8c4355;box-shadow:0 4px 15px #681c2c10}.sm-category-art{height:140px;overflow:hidden;background:linear-gradient(140deg,#f4f1e8,#eef3f1)}.sm-category-art svg{height:100%;width:100%;object-fit:contain}.sm-category-symbol{display:grid;place-items:center;background:linear-gradient(130deg,#f9edd0,#f0f4e9)}.sm-category-symbol>.icon{width:74px;height:74px;color:#9b7431;stroke-width:1.1}.sm-category>div:last-child{position:relative;padding:14px 43px 15px 14px;min-height:106px}.sm-category h3{font-size:15px;margin:0 0 7px;line-height:1.35;color:#18202a}.sm-category p{font-size:12px;line-height:1.5;color:#68666a;margin:0}.sm-round-arrow{position:absolute;inset-inline-end:12px;bottom:18px;width:29px;height:29px;display:grid;place-items:center;border-radius:50%;background:#fbeef0;color:#681c2c}.sm-round-arrow .icon{width:19px;height:19px}.sm-content{display:grid;grid-template-columns:minmax(0,1fr) 275px;align-items:start;gap:18px;margin-top:18px}.sm-location{border:1px solid #e9e4de;border-radius:10px;background:#fff;padding:14px 16px;display:grid;gap:13px}.sm-location>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.sm-location>div>.icon{color:#681c2c;width:24px;height:24px}.sm-location>div>div{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:13px}.sm-location>div>div>span{color:#605a5d}.sm-location form{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.sm-location input{min-width:0;width:140px;border:1px solid #d8cfc5;border-radius:7px;padding:10px;font:inherit;letter-spacing:.06em;min-height:44px}.sm-location .btn{min-height:44px;padding:10px 14px;font-size:12px}.sm-location small,.sm-product>small{font-size:11px;line-height:1.6;color:#756e68}.sm-filters{margin:13px 0;border:1px solid #e9e4de;border-radius:10px;background:#fff;padding:10px 14px}.sm-filters summary{display:flex;align-items:center;gap:8px;cursor:pointer;min-height:30px;color:#681c2c;font-size:13px;font-weight:600}.sm-filters form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;padding:15px 0 4px}.sm-filters label{font-size:12px;display:grid;gap:7px;min-width:0}.sm-filters :is(input:not([type=checkbox]),select){min-width:0;width:100%;min-height:44px;border:1px solid #ddd5cd;border-radius:7px;background:#fff;padding:9px;font:inherit}.sm-filters .checkbox-label{display:flex}.sm-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.sm-product{border:1px solid #e9e4de;border-radius:12px;padding:15px;background:#fff;min-width:0;display:flex;flex-direction:column;gap:12px}.sm-product-top{display:flex;gap:14px;align-items:start}.sm-product-image{flex:0 0 96px;min-width:0;height:110px;border-radius:8px;background:#f8f6f0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;overflow:hidden;color:#a8823d}.sm-product-image img{width:100%;height:100%;object-fit:contain}.sm-product-image small{font-size:10px;color:#71685d;text-align:center}.sm-product-image>.icon{width:36px;height:36px}.sm-product h3{font-size:16px;margin:0 0 7px;line-height:1.4;overflow-wrap:anywhere}.sm-product-top>div:last-child{min-width:0}.sm-product p{font-size:12px;color:#63616a;line-height:1.55;margin:0;overflow-wrap:anywhere}.sm-specs{padding-inline-start:15px;margin:8px 0 0;font-size:11px;line-height:1.6;overflow-wrap:anywhere}.sm-offer-count{padding:8px 10px;border-radius:6px;background:#fceff1;color:#681c2c!important}.sm-offer-previews{padding:0;margin:0;list-style:none}.sm-offer-previews li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 10px;font-size:12px;padding:9px 0;border-bottom:1px solid #eee8e2}.sm-offer-previews small{width:100%;color:#77716f;font-size:10px;line-height:1.6}.sm-product-actions{display:flex;gap:9px;margin-top:auto;padding-top:3px;flex-wrap:wrap}.sm-product-actions .btn{flex:1;min-height:44px;padding:10px;font-size:12px;gap:6px}.sm-product-actions .icon{width:16px}.sm-help{background:#fffaf0;border:1px solid #eadcc2;border-radius:12px;overflow:hidden;position:sticky;top:90px}.sm-help>div{padding:20px}.sm-help>div:first-child>.icon{width:38px;height:38px;color:#c19842;margin-bottom:12px}.sm-help h2{font-size:18px;margin:0 0 10px;line-height:1.3}.sm-help p{font-size:13px;line-height:1.6;color:#656166}.sm-help .btn{width:100%;min-height:46px;font-size:13px}.sm-help>div+div{border-top:1px solid #eaddc5;background:#fffdfa;min-height:160px}.sm-help img{float:inline-start;margin-inline-end:12px;object-fit:cover;object-position:top;border-radius:20px}.sm-help h3{font-size:15px;margin:4px 0 8px}.sm-help>div+div .btn{width:auto}.sm-help>div+div:after{content:'';display:block;clear:both}.sm-guide{background:#fff;border:1px solid #e9e4de;border-radius:12px;padding:18px;margin-top:20px}.sm-guide ol{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0;margin:18px 0 0;list-style:none;gap:20px}.sm-guide li{display:flex;gap:12px;align-items:start}.sm-guide li>.icon{width:39px;height:39px;padding:8px;box-sizing:content-box;border-radius:50%;color:#8e2038;background:#fceef0;flex-shrink:0}.sm-guide strong{font-size:13px;line-height:1.5}.sm-guide p{font-size:12px;color:#767077;margin:7px 0 0;line-height:1.6}.sm-empty{text-align:center;border:1px solid #e9e4de;background:#fff;border-radius:12px;padding:35px 20px}.sm-empty>span{color:#9d6975}.sm-empty h3{font-size:19px;margin:12px 0}.sm-empty p{font-size:13px;line-height:1.7;color:#726d6d}.sm-empty>div{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.sm-notice{font-size:12px;line-height:1.6;color:#79706b}.sm-pagination{display:flex;justify-content:space-between;gap:16px;margin-top:16px}.solar-marketplace :is(a,button,input,select,summary):focus-visible{outline:3px solid #b89140;outline-offset:3px}.solar-marketplace .btn{white-space:normal;text-align:center}.solar-marketplace button{cursor:pointer}.solar-marketplace [dir=rtl] .sm-search input{padding-inline:49px 15px}
@media(min-width:1600px){.sm-products{grid-template-columns:repeat(3,minmax(0,1fr))}.sm-category-art{height:155px}}
@media(max-width:1200px){.sm-content{grid-template-columns:minmax(0,1fr) 240px}.sm-products{grid-template-columns:1fr}.sm-guide ol{grid-template-columns:repeat(2,minmax(0,1fr))}.sm-category-art{height:115px}.sm-category h3{font-size:14px}}
@media(max-width:900px){.sm-content{grid-template-columns:1fr}.sm-help{position:static;display:grid;grid-template-columns:1fr 1fr}.sm-help>div+div{border-top:0;border-inline-start:1px solid #eaddc5}.sm-categories{grid-template-columns:repeat(2,minmax(0,1fr))}.sm-products{grid-template-columns:repeat(2,minmax(0,1fr))}.sm-category-art{height:140px}.sm-intro h1{font-size:29px}}
@media(max-width:600px){.solar-marketplace{padding:6px 0 20px}.sm-intro h1{font-size:27px}.sm-intro p{font-size:14px}.sm-search{flex-wrap:wrap;gap:9px}.sm-search input{flex-basis:100%;font-size:16px}.sm-search>.icon{top:15px}.sm-search>.btn{flex:1}.sm-search>.text-link{min-height:44px;display:flex;align-items:center}.sm-section-title h2{font-size:18px}.sm-section-title>a{font-size:11px;gap:4px}.sm-section-title>a .icon{width:16px}.sm-category-art{height:105px}.sm-category>div:last-child{padding:12px 34px 12px 11px;min-height:125px}.sm-category h3{font-size:13px}.sm-category p{font-size:11px}.sm-round-arrow{inset-inline-end:8px;width:24px;height:24px}.sm-products,.sm-filters form,.sm-help{grid-template-columns:1fr}.sm-help>div+div{border-inline-start:0;border-top:1px solid #eaddc5}.sm-location form input{width:100%;font-size:16px}.sm-location form .btn{width:100%}.sm-guide ol{grid-template-columns:1fr;gap:17px}.sm-guide li>.icon{width:25px;height:25px}.sm-categories{gap:10px}.sm-product-image{flex-basis:90px}}
@media(prefers-reduced-motion:reduce){.sm-category{transition:none}}
.sm-category-art>img{width:100%;height:100%;object-fit:cover}.sm-product-image{position:relative}.sm-product-image img{position:absolute;inset:0;background:#f8f6f0}
.solar-marketplace .sm-search input{padding-inline:49px 15px}
.solar-marketplace .sm-category>div:last-child{padding-inline:14px 43px}.sm-category-art>img[src$=".svg"]{object-fit:contain}
@media(max-width:600px){.solar-marketplace .sm-category>div:last-child{padding-inline:11px 34px}}
