
:root{--pd-brand-primary:#6c5ce7;--pd-brand-hover:#5948c8;--pd-brand-soft:#f5f3ff;--pd-brand-line:#ddd6fe}
:is(body,#pdv-site-typography).pakdevices-native-theme .pdv-site-header{--pdv-header-blue:var(--pd-brand-primary)!important}
:is(body,#pdv-site-typography).pakdevices-native-theme .pd-native-shell{--pd-shell-blue:var(--pd-brand-primary)}
:is(body,#pdv-site-typography) :is(.pdvh-offering-featured,.pdvh-offering-service,.pdv-offering-featured,.pdv-offering-service)[style*="#2563eb"],
:is(body,#pdv-site-typography) :is(.pdvh-offering-featured,.pdvh-offering-service,.pdv-offering-featured,.pdv-offering-service)[style*="#2458df"],
:is(body,#pdv-site-typography) :is(.pdvh-offering-featured,.pdvh-offering-service,.pdv-offering-featured,.pdv-offering-service)[style*="#4f46e5"]{--pdvh-offering-accent:var(--pd-brand-primary)!important;--pdv-offering-accent:var(--pd-brand-primary)!important}

/* Shared site canvas belongs to the theme; component cards and banners keep their own fills. */
:is(body,#pdv-site-typography).pakdevices-native-theme.pakdevices-native-theme{
 --pd-site-canvas:#fff!important;--pd-form-canvas:var(--pd-site-canvas)!important;--pdv-db-bg:var(--pd-site-canvas)!important;
 background:var(--pd-site-canvas)!important;background-image:none!important;
}
:is(body,#pdv-site-typography).pakdevices-native-theme.pakdevices-native-theme :is(#wrapper,#pd-native-content){
 background:var(--pd-site-canvas,#fff)!important;background-image:none!important;
}
/* Page shells only: never target every section, card, button or selected state. */
:is(body,#pdv-site-typography).pakdevices-native-theme.pakdevices-native-theme #pd-native-content :is(
 .pd-native-shell,.pd-native-builder,.pd-native-marketplace,
 .pdvh-home,.pdvh-categories,.pdvh-services,.pdvh-listings,.pdvh-steps,
 .pw-wrapper-7d3f32f1,.pdv-detail-page,.pdv-detail-wrap,.pdv-sell-page,
 .pdv-seo-page,.pdv-seo-shell,.pdv-seo-workspace,.pdv-service-form,.pdv-calculator,
 .pdv-more-page,.pdv-app-page,.pdlm-directory-surface,.pdlm-public-shop-surface
){
 background:var(--pd-site-canvas,#fff)!important;background-image:none!important;
}
/* Include Sell Your Device as well as the subsequent submit-ad screens. */
:is(body,#pdv-site-typography).pakdevices-native-theme.pakdevices-native-theme #dashboard.pdv-dashboard{
 --pdv-db-bg:var(--pd-site-canvas,#fff)!important;
 background:var(--pd-site-canvas,#fff)!important;background-image:none!important;
}
:is(body,#pdv-site-typography).pakdevices-native-theme.pakdevices-native-theme #dashboard.pdv-dashboard :is(
 .pdv-dashboard-main,.pdv-dashboard-content,.pdv-submit-sidebar-slot,
 .pdv-sell-type-picker,.pdv-sell-type-groups,.pdv-sell-type-group
),
:is(body,#pdv-site-typography).pakdevices-native-theme.pakdevices-native-theme #dashboard.pdv-dashboard .pdv-db-panel:has([data-pdv-listing-form],.pdv-laptop-blue-form,[data-pdv-listing-type-picker]),
:is(body,#pdv-site-typography).pakdevices-native-theme.pakdevices-native-theme #dashboard.pdv-dashboard form:is([data-pdv-listing-form],.pdv-laptop-blue-form){
 background:var(--pd-site-canvas,#fff)!important;background-image:none!important;
}

/* Softer homepage hero tones; retain the mobile hero's white-text contrast. */
@media(min-width:768px){
 :is(body,#pdv-site-typography).pakdevices-native-theme #pd-native-content .pdvh-home .pdvh-hero{
  background:#faf9fe!important;background-image:none!important;
 }
}
@media(max-width:767px){
 :is(body,#pdv-site-typography).pakdevices-native-theme #pd-native-content .pdvh-home .pdvh-hero{
  background:#7768be!important;background-image:none!important;
 }
}
/* Photo mats are neutral grey, never brand-purple. Actual image pixels are untouched. */
:is(body,#pdv-site-typography).pakdevices-native-theme #pd-native-content :is(
 .pdvh-card-media,.pdvh-card-placeholder,.pw-card-image,
 .pdv-related-image,.pdv-detail-stage,.pdv-detail-no-image
),
:is(body,#pdv-site-typography).pakdevices-native-theme #pd-native-content .pdv-detail-thumbs button,
:is(body,#pdv-site-typography).pakdevices-native-theme #pd-native-content .pdv-related-image>span{
 background:#f2f4f7!important;background-image:none!important;
}

/* Unframed sections: one page canvas instead of tinted boxes around groups of cards. */
:is(body,#pdv-site-typography).pakdevices-native-theme.pakdevices-native-theme #pd-native-content :is(
 .pdvh-section,.pdvh-detail-offerings,.pdvh-steps-card,
 .pdv-detail-offerings,.pdv-detail-related,
 .pdv-seo-page,.pdv-seo-shell,.pdv-seo-workspace,.pdv-service-shell,
 .pdv-service-form,.pdv-service-main,.pdv-new-form-surface,
 .pdv-service-context,.pdv-service-support,.pdv-calculator-context,
 .pdlm-directory-surface,.pdlm-public-shop-surface
),
:is(body,#pdv-site-typography).pakdevices-native-theme.pakdevices-native-theme #pd-native-content #dashboard.pdv-dashboard :is(.pdv-db-panel,.pdv-db-panel-body){
 background:transparent!important;background-image:none!important;
 border:0!important;border-radius:0!important;box-shadow:none!important;
}
/* Form panels are outer layout shells; grouped fields and individual cards stay intact. */
:is(body,#pdv-site-typography).pakdevices-native-theme.pakdevices-native-theme #pd-native-content :is(.pdv-service-form,.pdv-calculator) .pdv-panel--form{
 background:transparent!important;background-image:none!important;
 border:0!important;border-radius:0!important;box-shadow:none!important;
}
:is(body,#pdv-site-typography).pakdevices-native-theme.pakdevices-native-theme #pd-native-content #dashboard.pdv-dashboard .pdv-db-panel>header{
 background:transparent!important;background-image:none!important;box-shadow:none!important;
}
/* Offerings glow belongs to the retired outer frame, not the service cards. */
:is(body,#pdv-site-typography).pakdevices-native-theme.pakdevices-native-theme #pd-native-content :is(.pdvh-detail-offerings,.pdv-detail-offerings)::before,
:is(body,#pdv-site-typography).pakdevices-native-theme.pakdevices-native-theme #pd-native-content :is(.pdvh-detail-offerings,.pdv-detail-offerings)::after{
 content:none!important;display:none!important;
}
:is(body,#pdv-site-typography).pakdevices-native-theme.pakdevices-native-theme #pd-native-content :is(.pdvh-detail-offerings,.pdv-detail-offerings,.pdvh-steps-card){
 padding-inline:0!important;
}

/* Specification summaries are neutral text, not brand-purple accents. */
:is(body,#pdv-site-typography).pakdevices-native-theme.pakdevices-native-theme{--pd-card-spec-color:#6b7280}
:is(body,#pdv-site-typography).pakdevices-native-theme.pakdevices-native-theme #pd-native-content :is(.pdvh-card-specs,.pw-card-specs,.pw-card-specs-mobile,.pdv-related-specs){
 color:var(--pd-card-spec-color,#6b7280)!important;
}
:is(body,#pdv-site-typography).pakdevices-native-theme.pakdevices-native-theme #pd-native-content :is(.pdvh-card-specs,.pw-card-specs,.pw-card-specs-mobile,.pdv-related-specs) :is(span,b,strong,small){
 color:inherit!important;
}
:is(body,#pdv-site-typography).pakdevices-native-theme.pakdevices-native-theme #pd-native-content :is(.pdvh-card-specs,.pdv-related-specs) span+span::before{
 color:inherit!important;
}
:is(body,#pdv-site-typography).pakdevices-native-theme.pakdevices-native-theme #pd-native-content :is(.pw-card-specs,.pw-card-specs-mobile) .pw-spec-sep{
 color:#9ca3af!important;
}

/* Quiet homepage section bands, without enclosing panels or changes to cards. */
:is(body,#pdv-site-typography).pakdevices-native-theme.pakdevices-native-theme #pd-native-content .pdvh-home[data-pdvh-home]:not(.pdvh-offerings-embed){
 --pd-home-services-bg:#fffcf6;--pd-home-browse-bg:#f7fbf8;
 --pd-home-listings-bg:#fffdf8;--pd-home-listings-alt-bg:#f7fbf8;
 --pd-home-steps-bg:#faf9fc;--pd-home-faq-bg:#f8f9fb;
}
:is(body,#pdv-site-typography).pakdevices-native-theme.pakdevices-native-theme #pd-native-content .pdvh-home[data-pdvh-home]:not(.pdvh-offerings-embed)>.pdvh-services{
 background-color:var(--pd-home-services-bg)!important;background-image:none!important;
}
:is(body,#pdv-site-typography).pakdevices-native-theme.pakdevices-native-theme #pd-native-content .pdvh-home[data-pdvh-home]:not(.pdvh-offerings-embed)>.pdvh-categories{
 background-color:var(--pd-home-browse-bg)!important;background-image:none!important;
}
:is(body,#pdv-site-typography).pakdevices-native-theme.pakdevices-native-theme #pd-native-content .pdvh-home[data-pdvh-home]:not(.pdvh-offerings-embed)>.pdvh-listings{
 background-color:var(--pd-home-listings-bg)!important;background-image:none!important;
}
:is(body,#pdv-site-typography).pakdevices-native-theme.pakdevices-native-theme #pd-native-content .pdvh-home[data-pdvh-home]:not(.pdvh-offerings-embed)>.pdvh-listings.is-tinted{
 background-color:var(--pd-home-listings-alt-bg)!important;background-image:none!important;
}
:is(body,#pdv-site-typography).pakdevices-native-theme.pakdevices-native-theme #pd-native-content .pdvh-home[data-pdvh-home]:not(.pdvh-offerings-embed)>.pdvh-steps{
 background-color:var(--pd-home-steps-bg)!important;background-image:none!important;
}
:is(body,#pdv-site-typography).pakdevices-native-theme.pakdevices-native-theme #pd-native-content .pdvh-home[data-pdvh-home]:not(.pdvh-offerings-embed)>.pdvh-faq{
 background-color:var(--pd-home-faq-bg)!important;background-image:none!important;
}
@media(max-width:767px){
 /* Browse Devices is a centered shell; extend its tint behind the full mobile row. */
 :is(body,#pdv-site-typography).pakdevices-native-theme.pakdevices-native-theme #pd-native-content .pdvh-home[data-pdvh-home]:not(.pdvh-offerings-embed)>.pdvh-mobile-browse{position:relative!important;isolation:isolate;background:transparent!important}
 :is(body,#pdv-site-typography).pakdevices-native-theme.pakdevices-native-theme #pd-native-content .pdvh-home[data-pdvh-home]:not(.pdvh-offerings-embed)>.pdvh-mobile-browse::before{
  content:"";position:absolute;z-index:-1;top:0;bottom:0;left:50%;
  width:100vw;max-width:none;transform:translateX(-50%);
  background:var(--pd-home-browse-bg);pointer-events:none;
 }
}
