/* Account QR codes hover above their own icon; keyboard and touch can toggle them. */
.my-footer__socials-list {
  position: relative;
  max-width: 100%;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.mazzzk-footer__socials .my-footer__socials-list > a {
  color: #222;
}
.my-footer__socials-list .my-footer__social-qr {
  position: relative;
  padding: 0;
  background: transparent;
}
.my-footer__social-qr summary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f7f7f7;
  color: #222;
  cursor: pointer;
  list-style: none;
  transition: background .2s, color .2s;
}
.my-footer__social-qr summary::-webkit-details-marker { display: none; }
.mazzzk-footer__socials .my-footer__socials-list > a:hover,
.mazzzk-footer__socials .my-footer__socials-list > a:focus-visible,
.my-footer__social-qr summary:hover,
.my-footer__social-qr[open] summary {
  background: var(--et_main-color);
  color: #222;
}
.my-footer__socials-list a:focus-visible,
.my-footer__social-qr summary:focus-visible {
  outline: 2px solid var(--et_main-color);
  outline-offset: 4px;
}
.my-footer__socials-list svg { fill: currentColor; }
.my-footer__social-qr-panel {
  position: absolute;
  left: calc(50% + var(--social-qr-shift, 0px));
  bottom: calc(100% + 12px);
  transform: translateX(-50%);
  z-index: 10;
  box-sizing: border-box;
  width: 220px;
  max-width: calc(100vw - 40px);
  padding: 16px;
  border-radius: 12px;
  background: #fff;
  color: #222;
  box-shadow: 0 4px 24px rgb(0 0 0 / 18%);
  text-align: center;
  cursor: default;
}
/* Keep the panel open while the pointer crosses the gap above the icon. */
.my-footer__social-qr-panel::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
}
.my-footer__social-qr-panel img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: contain;
}
.my-footer__socials-list .my-footer__social-qr-panel p {
  margin: 12px 0 0;
  color: #222;
  font-size: 13px;
  line-height: 1.5;
}
@media (max-width: 767px) {
  .my-footer__socials-list { width: 100%; justify-content: flex-start; }
}
