/* One parameter treatment, after the older per-page separator rules. */
html body[data-visual-refinement] #content .pc-parameter-group {
 flex-wrap:wrap!important;align-items:stretch!important;gap:8px!important;
 padding:0!important;border:0!important;max-width:100%;
}
html body[data-visual-refinement] #content .pc-parameter-group>.pc-parameter-block.pc-parameter-block {
 display:flex;align-items:center;gap:5px;box-sizing:border-box;min-width:0;
 padding:7px 11px!important;border:1px solid #ffffff25!important;border-radius:8px!important;
 background:linear-gradient(130deg,#ffffff07,#ffffff02)!important;
 box-shadow:none!important;line-height:1.4!important;white-space:normal!important;
 -webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);
}
html body[data-visual-refinement] #content :is(.or-facts,.oa-facts,.md-facts)>.pc-parameter-block { display:block; }
html body[data-visual-refinement] #content .pc-parameter-group>.pc-parameter-block :is(dt,dd) { margin:0; }
html body[data-visual-refinement][data-prescot-page=controllers] #content [data-product-hero=touch] .pe-hero-copy .pc-hero-facts { gap:8px!important; }
html body[data-visual-refinement][data-prescot-page=controllers] #content [data-product-hero=touch] .pe-hero-copy .pc-hero-facts>span { padding:7px 11px!important;border:1px solid #ffffff25!important; }
html body[data-visual-refinement] #content img[data-visual-card="0"] { object-fit:cover!important;object-position:52% 50%!important; }
html body[data-visual-refinement] #content img[data-visual-card="9"] { object-fit:cover!important;object-position:57% center!important; }
html body[data-visual-refinement] #content img[data-visual-card="10"] { object-fit:cover!important;object-position:85% center!important; }
html body[data-visual-refinement][data-elba-offer] #content .eo-hero::after { background:linear-gradient(90deg,#090c10e8 0%,#090c10bf 24%,#090c1070 42%,#090c100a 67%),linear-gradient(0deg,#090c10 0%,transparent 20%)!important; }
@media(max-width:1024px) {
 html body[data-visual-refinement] #content #pm-mobile-panel article.pm-feature[data-scene-category="10"] img.pm-feature-photo { object-position:80% 65%!important; }
 html body[data-visual-refinement][data-elba-offer] #content .eo-hero::after { background:linear-gradient(180deg,transparent 35%,#090c1000 calc(100% - 320px),#090c10 calc(100% - 265px))!important; }
 html body[data-visual-refinement] #content .pc-parameter-group { gap:7px!important; }
 html body[data-visual-refinement] #content .pc-parameter-group>.pc-parameter-block.pc-parameter-block { padding:6px 9px!important;border-radius:8px!important; }
 html body[data-visual-refinement] #content .md-facts.pc-parameter-group { display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important; }
}
html body[data-visual-refinement] #content .pc-parameter-group>.pc-parameter-block.pc-parameter-block { flex:0 0 auto; }
html body[data-visual-refinement][data-prescot-page=controllers] #content [data-product-hero=touch] .pe-hero-copy .pc-hero-facts>span:first-child { padding-left:11px!important; }
html body[data-visual-refinement] #content img[data-visual-card="10"] { height:75%!important;object-position:95% center!important; }
html body[data-offer-editorial][data-offer-review][data-visual-refinement] #content .as-side-slider .elementor-testimonial__image:has(img[data-visual-card="10"]) { background:#090c10!important; }
html body[data-offer-editorial][data-offer-review][data-visual-refinement] #content .as-side-slider .elementor-testimonial__image img[data-visual-card="10"] { object-fit:cover!important;object-position:100% 50%!important;height:75%!important;padding:0!important; }

html body[data-visual-refinement] #content .or-facts.pc-parameter-group { grid-template-columns:repeat(2,minmax(0,1fr)); }
html body[data-visual-refinement] #content .or-facts.pc-parameter-group dd { font-size:clamp(14px,1.3vw,20px)!important;overflow-wrap:anywhere; }
/* Product navigation stays inside the last reading block. */
html body[data-visual-refinement] #content [data-offer-ending]{position:relative;isolation:isolate;padding-bottom:clamp(100px,12vh,160px)!important;margin-bottom:0!important}
html body[data-visual-refinement] #content [data-offer-ending]::after{content:"";position:absolute;inset:auto 0 0;height:clamp(100px,13vh,180px);background:linear-gradient(180deg,#090c1000 0%,#090c1080 50%,#090c10 100%);pointer-events:none;z-index:1}
html body[data-visual-refinement] #content .oc-ending-inline{position:relative;z-index:3;background:transparent!important;border:0!important;margin:28px auto 0!important;padding:0!important;width:100%;max-width:760px;min-height:0!important;align-self:center}
html body[data-visual-refinement] #content .oc-ending-inline .oc-showcase-actions{padding:0!important;margin:0!important;border:0!important;gap:12px!important}
html body[data-visual-refinement] #content .oc-ending-inline a{font-size:14px!important;line-height:1.4!important;min-height:46px;max-width:360px;box-sizing:border-box}
html body[data-visual-refinement] #content [data-offer-ending] .or-copy .oc-ending-inline{margin-top:32px!important}
html body[data-visual-refinement][data-offer-section-guides] .pm-scroll-guides:not([hidden]){display:contents!important}
html body[data-visual-refinement][data-offer-section-guides] .pm-scroll-guides .pm-guide-up{position:fixed!important;top:18px!important;bottom:auto!important;left:50%!important;right:auto!important;transform:translateX(-50%);z-index:990}
html body[data-visual-refinement][data-offer-section-guides] .pm-scroll-guides .pm-guide-down{position:fixed!important;top:auto!important;bottom:calc(var(--pm-dock-bottom,12px) + var(--pm-dock-height,80px) + 14px)!important;left:50%!important;right:auto!important;transform:translateX(-50%);z-index:990}
@media(max-width:767px){
 html body[data-visual-refinement] #content .oc-ending-inline .oc-showcase-actions{display:flex!important;flex-wrap:wrap!important;gap:9px!important}
 html body[data-visual-refinement] #content .oc-ending-inline a{flex:1 1 125px!important;padding:11px 10px!important;font-size:12px!important;max-width:none!important}
 html body[data-visual-refinement][data-offer-section-guides] .pm-scroll-guides .pm-guide-up{top:12px!important}
}
html body[data-offer-editorial][data-offer-review][data-visual-refinement] #content .as-side-slider .elementor-testimonial__image img[data-visual-card="10"]{height:100%!important;object-position:center!important;object-fit:cover!important}
html body[data-visual-refinement] #content img[data-visual-card="9"]{object-position:center!important}
html body[data-visual-refinement] #content #pm-mobile-panel article.pm-feature[data-scene-category="10"] img.pm-feature-photo{object-position:center!important}
@media(max-width:767px){html body[data-visual-refinement] #content .oc-ending-inline .oc-showcase-actions{flex-direction:row!important}}
html body[data-visual-refinement] #content .pe-faq .oc-ending-inline{width:calc(100% - 48px)}
html body[data-visual-refinement][data-offer-maker-position] #content .oa-maker[data-maker=milight]{width:138px;background:linear-gradient(125deg,#ffffff90,#ffffff42);padding:7px 9px}
html body[data-visual-refinement][data-offer-maker-position] #content .oa-maker[data-maker=milight] .oa-logo{width:100%;justify-content:center}
html body[data-visual-refinement][data-offer-maker-position] #content .oa-maker[data-maker=milight] img{width:100%!important;min-width:0!important;max-width:100%!important;height:100%!important;object-fit:contain!important}
@media(max-width:1024px){html body[data-visual-refinement][data-offer-maker-position] #content .oa-actions .oa-maker[data-maker=milight]{width:118px;flex-basis:118px}}
/* Original ELBA mark on the same quiet glass as distribution logo pills. */
html body[data-visual-refinement][data-offer-maker-position] #content .oa-maker[data-maker=elba]{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.2);border-radius:8px;box-shadow:inset 0 1px 0 #ffffff08;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
/* Technical labels and their values stack inside each compact cell. */
html body[data-visual-refinement] #content .so-specs.pc-parameter-group{grid-template-columns:repeat(2,minmax(0,1fr))}
html body[data-visual-refinement] #content .so-specs.pc-parameter-group>.pc-parameter-block.pc-parameter-block{display:block;overflow-wrap:anywhere}
html body[data-visual-refinement] #content .so-specs.pc-parameter-group>.pc-parameter-block :is(dt,dd){white-space:normal;overflow-wrap:anywhere}

/* Leave a dedicated slot below end actions for the next-section guide. */
html body[data-visual-refinement] #content .oc-ending-inline{padding-bottom:64px!important}
html body[data-visual-refinement][data-offer-section-guides] .pm-scroll-guides .pm-guide-up{left:auto!important;right:18px!important;transform:none!important}
@media(max-width:767px){html body[data-visual-refinement][data-offer-section-guides] .pm-scroll-guides .pm-guide-up{right:12px!important}}
