/* A fixed contain box prevents inherited media crop styles clipping paint logos. */
#colourPage .brand-badge{width:76px!important;height:40px!important;min-width:76px!important;padding:2px!important;box-sizing:border-box;overflow:visible!important;margin-right:8px;position:static!important}
#colourPage .brand-badge img{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;transform:none!important;position:static!important;aspect-ratio:auto!important;mix-blend-mode:normal!important}
.shade-meta513{display:flex!important;align-items:center!important;gap:8px;min-width:0}.shade-meta513>small{min-width:0;overflow-wrap:anywhere}
.colour-brand528{position:relative;margin-top:8px}.colour-brand528 button{font:inherit;color:inherit;cursor:pointer;display:flex;align-items:center;gap:8px;width:100%;text-align:left;background:white;border:1px solid #dce3ef;border-radius:9px;padding:9px 10px;min-height:56px}.colour-brand-trigger528>span:last-child{margin-left:auto}.colour-brand-options528{position:absolute;z-index:30;left:0;right:0;top:calc(100% + 6px);padding:6px;background:white;border:1px solid #dce3ef;border-radius:12px;box-shadow:0 14px 34px #142b4820}.colour-brand-options528 button{border:0;margin:2px 0}.colour-brand-options528 button:hover,.colour-brand-options528 button[aria-pressed=true]{background:#edf2fa}.colour-brand528 button:focus-visible{outline:2px solid #eda51b;outline-offset:2px}.all-brand528{width:76px;text-align:center;color:#657d9a}.colour-brand528 [hidden]{display:none!important}
.mega-rail>button svg{width:25px!important;height:25px!important;min-width:25px;flex-shrink:0;align-self:center}.mega-rail>button{align-items:center!important}.mega-rail>button>span:first-of-type{min-width:0;line-height:1.5}.mega-title h3{display:flex;gap:12px;align-items:center}.mega-title h3 svg{width:29px;height:29px;flex-shrink:0}

/* r161: the brand field uses the device's native select, not a focus-closing menu. */
.colour-filter513>.colour-brand-label161{grid-column:1/-1}
.colour-brand-native161{display:grid;grid-template-columns:86px minmax(0,1fr);align-items:center;gap:8px;min-height:56px;background:#fff;border:1px solid #dce3ef;border-radius:9px;padding:4px 8px}
.colour-brand-preview161{display:flex;align-items:center;justify-content:center;pointer-events:none}
.colour-brand-native161 select{display:block!important;visibility:visible!important;opacity:1!important;position:static!important;width:100%;min-width:0;min-height:48px;font-size:16px!important;border:0!important;background:transparent!important;color:inherit;appearance:auto;cursor:pointer;margin:0!important}
.colour-brand-native161:focus-within{outline:2px solid #eda51b;outline-offset:2px}
