/* Liên hệ fixed — góc phải dưới */
.giza-contact-fixed {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 9990;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 0.65rem;
  pointer-events: none;
}

.giza-contact-fixed__toggle,
.giza-contact-fixed__item {
  pointer-events: auto;
}

.giza-contact-fixed__toggle {
  display: none;
  width: 3.25rem;
  height: 3.25rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.35);
  cursor: pointer;
  font-size: 1.25rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.giza-contact-fixed__toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.42);
}

.giza-contact-fixed.is-open .giza-contact-fixed__toggle {
  background: linear-gradient(135deg, #64748b 0%, #475569 100%);
  box-shadow: 0 8px 22px rgba(71, 85, 105, 0.35);
}

.giza-contact-fixed__items {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
}

.giza-contact-fixed__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  color: #fff;
  background: var(--giza-contact-color, #2563eb);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.18);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.giza-contact-fixed__item:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.24);
  color: #fff;
}

.giza-contact-fixed__icon {
  font-size: 1.25rem;
  line-height: 1;
}

/* Mobile: một nút mở, các icon trượt lên */
@media (max-width: 767px) {
  .giza-contact-fixed__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .giza-contact-fixed__items {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(0.75rem);
    transition: max-height 0.32s ease, opacity 0.24s ease, transform 0.28s ease;
  }

  .giza-contact-fixed.is-open .giza-contact-fixed__items {
    max-height: 14rem;
    opacity: 1;
    transform: translateY(0);
  }
}

/* PC: luôn hiện tất cả icon, ẩn nút toggle */
@media (min-width: 768px) {
  .giza-contact-fixed__items {
    max-height: none;
    opacity: 1;
    transform: none;
    overflow: visible;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
