/* ==========================================================================
   FOOTER — KHỐI "SỔ LIÊN LẠC"
   Địa chỉ · điện thoại · email · giờ làm việc.

   Mobile: từng hàng xếp dọc, mỗi hàng là một vùng chạm >= 60px.
   Từ 768px: các hàng duỗi ngang thành cột, có đường kẻ dọc phân cách.
   Dùng flex (không phải grid cột cố định) để số hàng thay đổi tuỳ dữ liệu
   mà không để lại cột trống.

   Token --f-* khai báo trong footer.css (#footer.footer).
   Zero !important.
   ========================================================================== */

#footer .f-contact {
  width: 100%;
  max-width: 420px;
  margin: 0 0 20px;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(251, 191, 36, 0.16);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* --- Một hàng --- */
#footer .f-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 14px;
  gap: 12px;
  align-items: start;
  min-height: 60px;
  padding: 13px 14px;
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s ease;
}

#footer .f-row + .f-row {
  border-top: 1px solid rgba(255, 255, 255, 0.075);
}

/* Hàng chỉ để đọc (giờ làm việc) — không có mũi tên nên bỏ cột thứ ba */
#footer .f-row.is-static {
  grid-template-columns: 36px minmax(0, 1fr);
}

#footer .f-row:active {
  background: rgba(255, 255, 255, 0.06);
}

@media (hover: hover) {
  #footer .f-row:hover {
    background: rgba(255, 255, 255, 0.055);
  }
}

/* Ô icon */
#footer .f-row-ic {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--f-gold);
  background: rgba(251, 191, 36, 0.10);
  border: 1px solid rgba(251, 191, 36, 0.22);
}

#footer .f-row-ic i {
  font-size: 17px;
  line-height: 1;
}

/* Nội dung */
#footer .f-row-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

#footer .f-row-k {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--f-ink-dim);
}

#footer .f-row-v {
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--f-ink);
  overflow-wrap: anywhere;
}

/* Mũi tên gợi ý bấm được */
#footer .f-row-go {
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(251, 191, 36, 0.55);
}

#footer .f-row-go i {
  font-size: 14px;
  line-height: 1;
}

/* --- Từ 768px: duỗi ngang thành cột --- */
@media (min-width: 768px) {
  #footer .f-contact {
    max-width: 1140px;
    display: flex;
    border-radius: 16px;
  }

  #footer .f-row {
    flex: 1 1 0;
    min-width: 0;
    min-height: 96px;
    padding: 18px 20px;
    align-items: center;
  }

  /* Địa chỉ dài hơn nên được ưu tiên thêm chỗ */
  #footer .f-row:first-child {
    flex-grow: 1.35;
  }

  #footer .f-row + .f-row {
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.075);
  }

  #footer .f-row-go {
    display: none;
  }

  #footer .f-row-v {
    font-size: 14px;
  }
}
