.site-footer-contact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 30px;
  margin-top: 20px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
}

.footer-brand > .site-footer-contact {
  margin-top: 0;
}

.profile-footer .site-footer-contact {
  margin-top: 16px;
}

.site-footer-contact-label {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
}

.site-footer-customer-service {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.site-footer-customer-trigger {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 6px 0;
  color: #fff;
  font: inherit;
  letter-spacing: 0;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.site-footer-customer-trigger:hover {
  color: #aeb8ff;
}

.site-footer-customer-trigger:focus-visible {
  border-radius: 4px;
  outline: 2px solid rgba(124, 134, 255, 0.95);
  outline-offset: 5px;
}

.site-footer-customer-popover {
  position: absolute;
  left: 0;
  bottom: calc(100% + 14px);
  z-index: 60;
  width: 228px;
  box-sizing: border-box;
  padding: 13px;
  border: 1px solid rgba(31, 37, 69, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(8, 14, 39, 0.28);
  color: #1f2545;
  opacity: 0;
  transform: translateY(8px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.site-footer-customer-popover::before {
  content: '';
  position: absolute;
  right: 0;
  bottom: -16px;
  left: 0;
  height: 16px;
}

.site-footer-customer-popover::after {
  content: '';
  position: absolute;
  left: 24px;
  bottom: -7px;
  width: 14px;
  height: 14px;
  background: #fff;
  transform: rotate(45deg);
}

.site-footer-customer-service:hover .site-footer-customer-popover,
.site-footer-customer-service:focus-within .site-footer-customer-popover,
.site-footer-customer-service.is-open .site-footer-customer-popover {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

.site-footer-customer-qr {
  display: grid;
  place-items: center;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  box-sizing: border-box;
  width: min(200px, 100%);
  height: min(200px, 100%);
  min-width: 0;
  flex: 0 0 auto;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid #eef0f7;
  border-radius: 6px;
  background: #fff;
}

.site-footer-customer-qr img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
  object-fit: contain;
  image-rendering: auto;
}

.site-footer-customer-qr-fallback {
  display: none;
  place-items: center;
  height: 100%;
  padding: 14px;
  color: #65709b;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
}

.site-footer-customer-text {
  position: relative;
  z-index: 1;
  margin: 10px 0 0;
  color: #586184;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 480px) {
  .site-footer-contact {
    gap: 8px 22px;
    font-size: 15px;
  }

  .site-footer-customer-popover {
    width: min(228px, calc(100vw - 24px));
  }

  .site-footer-customer-qr {
    width: min(200px, 100%);
    height: auto;
  }
}
