/* PREMAVI V3.3: approved fixes 22–28, scoped to outgoing page components. */
/* 22: one image behind both CTA and the full footer, rather than two separate images. */
.pm-outro-scene {
 display:block;clear:both;width:100%;max-width:none;min-width:0;box-sizing:border-box;
 background-image:linear-gradient(180deg,rgba(15,23,34,.78) 0%,rgba(16,25,35,.89) 35%,rgba(17,26,36,.96) 100%),var(--pm-outro-photo);
 background-position:center center;background-size:cover;background-repeat:no-repeat;
 color:#e6ebef;
}
.pm-outro-scene .pm-cta,.pm-outro-scene .pm-footer.pm-footer-v3-2 {
 background:transparent!important;background-image:none!important;position:relative;
}
.pm-outro-scene .pm-cta {border-bottom:1px solid rgba(225,230,236,.14)}
.pm-outro-scene .pm-footer.pm-footer-v3-2 {padding-top:24px}
body.pm-contact-viewport-fix>.pm-outro-scene{width:100%!important;max-width:none!important;margin:0!important;float:none!important;transform:none!important}
body.pm-contact-viewport-fix .pm-outro-scene .pm-shell {width:calc(100% - 48px);max-width:1216px;margin-inline:auto}
/* 23: remove redundant PRODUCTS category cards/selector; only the real product rows remain. */
.pm-products-overview {padding-top:24px;padding-bottom:52px}
.pm-products-overview>.pm-catalog-featured-row:first-child {padding-top:16px}
.pm-products-overview .pm-catalog-featured-row {padding-top:42px}
/* 24–25: compact category accordion and curated product sidebar; site-wide mega menu unchanged. */
.pm-listing-layout{grid-template-columns:265px minmax(0,1fr);gap:26px;align-items:start}
.pm-listing-sidebar{min-width:0}
.pm-catalog-accordion,.pm-popular-models{border:1px solid #e2e6eb;background:#fff;border-radius:9px;padding:15px;margin-bottom:18px}
.pm-catalog-accordion>h2,.pm-popular-models>h2{font-size:17px;margin:0 0 12px;color:#263442}
.pm-category-accordion{display:block}
.pm-accordion-group{border-bottom:1px solid #e9edf0}
.pm-accordion-group:last-child{border-bottom:0}
.pm-accordion-row{display:flex;align-items:stretch;min-width:0;min-height:42px}
.pm-accordion-parent{flex:1;min-width:0;display:flex;align-items:center;padding:10px 7px;color:#273642;font-size:13px;font-weight:560;line-height:1.3;overflow-wrap:anywhere}
.pm-accordion-parent:hover,.pm-accordion-parent.is-current{color:var(--pm-orange)}
.pm-accordion-toggle{flex:0 0 38px;min-width:38px;border:0;background:transparent;color:#586674;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:5px;font-size:20px}
.pm-accordion-toggle[aria-expanded="true"]{color:var(--pm-orange);background:#fff1e7}
.pm-accordion-toggle[aria-expanded="true"] span{transform:rotate(180deg)}
.pm-accordion-toggle span{transition:transform .2s ease}
.pm-accordion-toggle:focus-visible,.pm-accordion-parent:focus-visible,.pm-accordion-child:focus-visible{outline:2px solid #f78941;outline-offset:1px}
.pm-accordion-group.pm-accordion-current>.pm-accordion-row{background:#fff7f1}
.pm-accordion-children{padding:2px 4px 8px 13px}
.pm-accordion-children[hidden]{display:none!important}
.pm-accordion-child{display:block;padding:8px 12px;font-size:12px;line-height:1.4;color:#536371;border-left:2px solid #edf0f3}
.pm-accordion-child:hover,.pm-accordion-child.is-current{background:#fff1e7;border-left-color:var(--pm-orange);color:#f36a09;font-weight:650}
.pm-popular-models{margin-top:8px}
.pm-popular-note{font-size:10px;color:#8a949c;margin:0 0 10px;line-height:1.45}
.pm-popular-row{display:grid;grid-template-columns:58px minmax(0,1fr) 12px;align-items:center;gap:9px;padding:9px 0;border-bottom:1px solid #edf0f3}
.pm-popular-row:last-child{border-bottom:0}
.pm-popular-row img{width:58px;height:54px;object-fit:contain;background:#f6f7f8;border:1px solid #edf0f3;border-radius:5px}
.pm-popular-row strong{display:block;font-size:12px;line-height:1.4;color:#253341;overflow-wrap:anywhere}
.pm-popular-row small{display:block;font-size:10px;color:#71808b;margin-top:3px}
.pm-popular-row b{color:var(--pm-orange);font-size:15px}
.pm-popular-row:hover strong{color:var(--pm-orange)}
/* 26: world supply map is right aligned, with the left side kept readable. */
.pm-products-header{background-position:center 47%;background-image:linear-gradient(90deg,rgba(16,27,40,.83),rgba(17,30,46,.45) 55%,rgba(17,30,46,.10) 100%),var(--pm-page-bg)}
/* 27–28: keep factory hero photography completely unchanged in layout; source image updated, badges removed only where requested. */
.pm-profile-hero{background-position:center center}
@media(max-width:1000px){
 .pm-listing-layout{grid-template-columns:225px minmax(0,1fr);gap:16px}
}
@media(max-width:740px){
 .pm-listing-layout{display:block}
 .pm-listing-sidebar{display:block;margin-bottom:24px}
 .pm-catalog-accordion{margin-bottom:12px;padding:13px}
 .pm-popular-models{margin-top:0;margin-bottom:18px}
 .pm-popular-row{grid-template-columns:52px minmax(0,1fr) 12px}
 .pm-popular-row img{width:52px;height:49px}
 .pm-products-header{background-position:61% center;background-image:linear-gradient(90deg,rgba(16,27,40,.94),rgba(17,30,46,.56)),var(--pm-page-bg)}
 body.pm-contact-viewport-fix .pm-outro-scene .pm-shell{width:calc(100% - 30px)}
 .pm-outro-scene{background-position:66% center}
}
@media (prefers-reduced-motion:reduce){.pm-accordion-toggle span{transition:none}}
