/* ════════════════════════════════════════
   FLOATING BUTTONS — 전화 / 네이버 지도 / TOP
   ════════════════════════════════════════ */

.floating-btns {
  position: fixed;
  right: 28px;
  bottom: 36px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  width: 64px;
  background: var(--white);
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(44, 36, 24, 0.18);
}

.floating-btn {
  position: relative;
  width: 100%;
  height: 64px;
  border: none;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease;
}

.floating-btn:first-child {
  border-radius: 30px 30px 0 0;
}

.floating-btn:last-child {
  border-radius: 0 0 30px 30px;
}

.floating-btn:hover {
  background: rgba(139, 111, 71, 0.07);
}

.floating-btn:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 1px;
  background: rgba(44, 36, 24, 0.08);
}

.floating-btn img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}

.floating-top-icon {
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--brown-mid);
  border-right: 2px solid var(--brown-mid);
  transform: rotate(-45deg);
  margin-top: 6px;
  transition: border-color 0.25s ease;
}

.floating-top:hover .floating-top-icon {
  border-color: var(--gold);
}

/* ── 호버 툴팁 (PC 전용) ── */
.floating-tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--brown-deep);
  color: var(--white);
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 8px 16px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 6px 18px rgba(44, 36, 24, 0.22);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.floating-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--brown-deep);
}

/* hover가 실제로 가능한 기기(PC 등)에서만 툴팁 노출 — 터치 기기는 탭하면 바로 동작 */
@media (hover: hover) and (pointer: fine) {
  .floating-btn:hover .floating-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

@media (max-width: 600px) {
  .floating-btns {
    right: 18px;
    bottom: 22px;
    width: 52px;
    border-radius: 26px;
  }
  .floating-btn:first-child {
    border-radius: 26px 26px 0 0;
  }
  .floating-btn:last-child {
    border-radius: 0 0 26px 26px;
  }
  .floating-btn {
    height: 52px;
  }
  .floating-btn img {
    width: 28px;
    height: 28px;
  }
  .floating-top-icon {
    width: 10px;
    height: 10px;
    margin-top: 5px;
  }
  .floating-tooltip {
    display: none;
  }
}
