/* Match the approved brand on native marketplace archives only.
   The native templates retain all typography, spacing, icons and behavior. */
:is(body,#pdv-site-typography):is(body,#pdv-site-typography).pdvr-active.post-type-archive-listing [class*="pw-wrapper-"]{--pd-af-primary:#4d148c!important;--pd-af-accent:#4d148c!important;--pd-app-purple:#4d148c!important}
:is(body,#pdv-site-typography):is(body,#pdv-site-typography).pdvr-active.post-type-archive-listing .pd-af-seo-content{--pd-blue:#4d148c!important}
:is(body,#pdv-site-typography):is(body,#pdv-site-typography).pdvr-active.post-type-archive-listing :is(.pw-mobile-search-wrapper,.pw-mobile-modal-header){background-color:#4d148c!important}

:is(body,#pdv-site-typography):is(body,#pdv-site-typography).pdvr-active.post-type-archive-listing :is(.pw-card-price,.pw-clear-all-text-btn,.pw-reset-bottom-btn,.pw-more-choices,.pw-filters-icon-btn,.pw-mobile-modal-clear,.pw-mobile-save-search,.pw-mobile-save-search>i,.pw-card-title a:hover,.pw-results-count b,.pw-device-spec-toggle,.pw-filters-header-block h3,.pw-desktop-filter-counter,.pw-mobile-header-search-icon,.pw-mobile-sort-filter-active-chips .pw-filter-text,.pw-mobile-sort-filter-active-chips .pw-remove-filter){color:#4d148c!important}
:is(body,#pdv-site-typography):is(body,#pdv-site-typography).pdvr-active.post-type-archive-listing :is(.pw-view-btn.active,.pw-page-btn:not(:disabled),.pw-chip,.pw-sort-options label>i,.pw-mobile-toolbar-7d3f32f1>.pw-mobile-sort-btn,.pw-mobile-toolbar-7d3f32f1>.pw-mobile-filter-btn,.pw-mobile-toolbar-7d3f32f1>.pd-af-price-button,.pw-mobile-toolbar-7d3f32f1>.pd-af-toolbar-location,.pw-mobile-toolbar-7d3f32f1>.pw-mobile-device-btn){color:#4d148c!important}
:is(body,#pdv-site-typography):is(body,#pdv-site-typography).pdvr-active.post-type-archive-listing :is(.pw-btn-search,.pw-btn-phone,.pw-page-btn.active,.pw-chip.active,.pw-mobile-apply-btn,.pw-sort-apply,.pd-af-price-submit){background-color:#4d148c!important;border-color:#4d148c!important}
:is(body,#pdv-site-typography):is(body,#pdv-site-typography).pdvr-active.post-type-archive-listing :is(.pw-page-btn.active,.pw-chip.active){color:#fff!important}
:is(body,#pdv-site-typography):is(body,#pdv-site-typography).pdvr-active.post-type-archive-listing :is(.pw-mobile-reset-btn,.pw-chip){border-color:#4d148c!important;color:#4d148c!important}
:is(body,#pdv-site-typography):is(body,#pdv-site-typography).pdvr-active.post-type-archive-listing .pw-chip.active{color:#fff!important}
:is(body,#pdv-site-typography):is(body,#pdv-site-typography).pdvr-active.post-type-archive-listing :is(.pw-checkbox-label input[type=checkbox]:checked,.pw-sort-options input:checked+b){border-color:#4d148c!important}
:is(body,#pdv-site-typography):is(body,#pdv-site-typography).pdvr-active.post-type-archive-listing .pw-checkbox-label input[type=checkbox]:checked{background-color:#4d148c!important}
:is(body,#pdv-site-typography):is(body,#pdv-site-typography).pdvr-active.post-type-archive-listing .pw-sort-options input{accent-color:#4d148c!important}
:is(body,#pdv-site-typography):is(body,#pdv-site-typography).pdvr-active.post-type-archive-listing .pw-mobile-sort-sheet h3{border-left-color:#4d148c!important}
:is(body,#pdv-site-typography):is(body,#pdv-site-typography).pdvr-active.post-type-archive-listing .pw-mobile-header-search>.pw-toolbar-btn-location>.pd-af-location-icon{stroke:#4d148c!important}

/* Existing archive SEO resource/device links use native inline SVGs and currentColor. */
:is(body,#pdv-site-typography):is(body,#pdv-site-typography).pdvr-active.post-type-archive-listing :is(.pd-buy-type-card .pd-buy-icon,.pd-buy-type-card em,.pd-buy-type-card>svg,.pd-af-category-links a,.pd-af-resource-icon,.pd-af-resource-copy b,.pd-af-faq-icon){color:#4d148c!important}

/* Native portals can live outside the Elementor widget. */
:is(body,#pdv-site-typography):is(body,#pdv-site-typography).pdvr-active.post-type-archive-listing :is(.pdlm-save-search,.pdlm-save-search .pdlm-search-icon,.pdlm-save-search span){color:#4d148c!important}
:is(body,#pdv-site-typography):is(body,#pdv-site-typography).pdvr-active.post-type-archive-listing #save-search-dialog button.save-search-submit{background-color:#4d148c!important;border-color:#4d148c!important}
:is(body,#pdv-site-typography):is(body,#pdv-site-typography).pdvr-active.post-type-archive-listing .pdv-floating-sell{background-image:linear-gradient(135deg,#4d148c,#4d148c)!important}

/* Retain existing focus geometry; replace its brand color only. */
:is(body,#pdv-site-typography):is(body,#pdv-site-typography).pdvr-active.post-type-archive-listing :is(.pw-keyword-input,.pw-filter-search input,.pw-sort-select,.pw-btn-search,.pw-checkbox-label input,.pw-mobile-device-btn,.pdlm-save-control,.pdv-floating-sell,#save-search-name):focus-visible,
:is(body,#pdv-site-typography):is(body,#pdv-site-typography).pdvr-active.post-type-archive-listing :is(.pw-checkbox-label,.pw-keyword-input-wrapper):focus-within{outline-color:#4d148c!important}
:is(body,#pdv-site-typography):is(body,#pdv-site-typography).pdvr-active.post-type-archive-listing .pw-filter-search input[type=text]:focus,
:is(body,#pdv-site-typography):is(body,#pdv-site-typography).pdvr-active.post-type-archive-listing .pw-keyword-input-wrapper:focus-within{border-color:#4d148c!important}
@media(hover:hover) and (pointer:fine){
 :is(body,#pdv-site-typography):is(body,#pdv-site-typography).pdvr-active.post-type-archive-listing :is(.pw-btn-search,.pw-btn-phone,.pw-mobile-apply-btn,.pw-sort-apply,.pd-af-price-submit):hover{background-color:#371063!important;border-color:#371063!important}
 :is(body,#pdv-site-typography):is(body,#pdv-site-typography).pdvr-active.post-type-archive-listing :is(.pw-clear-all-text-btn,.pw-reset-bottom-btn,.pw-more-choices,.pdlm-save-search):hover{color:#371063!important}
 :is(body,#pdv-site-typography):is(body,#pdv-site-typography).pdvr-active.post-type-archive-listing .pdv-floating-sell:hover{background-image:linear-gradient(135deg,#371063,#371063)!important}
}

:is(body,#pdv-site-typography):is(body,#pdv-site-typography).pdvr-active.post-type-archive-listing .pw-sort-options input:checked+b::after{background-color:#4d148c!important}
:is(body,#pdv-site-typography):is(body,#pdv-site-typography).pdvr-active.post-type-archive-listing .pw-mobile-sort-filter-active-chips .pw-remove-filter::before{color:#4d148c!important}

:is(body,#pdv-site-typography):is(body,#pdv-site-typography).pdvr-active.post-type-archive-listing .pd-af-price-dialog header button{color:#4d148c!important}
:is(body,#pdv-site-typography):is(body,#pdv-site-typography).pdvr-active.post-type-archive-listing .pw-mobile-modal-header button.pw-mobile-modal-clear{color:#fff!important}
