/* Show consent management in site footer, not as a persistent floating
   label over the customer's content. Use :has only when replacement exists;
   in older browsers original preference button remains available. */
body:has(footer #yh-footer-cookie-preferences) #yh-cookie-settings{
  display:none!important;
}
footer #yh-footer-cookie-preferences{
  appearance:none;-webkit-appearance:none;
  display:inline-flex;align-items:center;justify-content:center;
  vertical-align:baseline;
  box-sizing:border-box;min-height:40px;
  margin:2px 0;padding:7px 12px;
  background:transparent!important;
  color:#f1f1f1!important;
  border:1px solid #b8b8b8!important;border-radius:5px!important;
  font-family:inherit;font-size:14px;font-weight:600;line-height:1.45;
  cursor:pointer;white-space:normal;
}
footer #yh-footer-cookie-preferences:hover{
  color:#151515!important;background:#f5c400!important;border-color:#f5c400!important;
}
footer #yh-footer-cookie-preferences:focus-visible{
  outline:3px solid #f5c400!important;outline-offset:3px!important;
}

/* The legacy site-wide snippet also inserts a preference link dynamically.
   Keep only the newer server-rendered, keyboard-accessible footer control
   visible when both are present. Do not touch consent storage/engine. */
footer:has(#yh-footer-cookie-preferences) #yh-cookie-footer-prefs{
 display:none!important;
}
