/* Callback modal + floating action buttons */
#hid-callback-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
#hid-callback-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
#hid-callback-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  z-index: 99999;
  width: 92%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
  font-family: inherit;
}
#hid-callback-modal.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}
#hid-callback-modal .hid-cb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 12px;
  border-bottom: 1px solid #eee;
}
#hid-callback-modal .hid-cb-header h2 {
  margin: 0;
  font-size: 1.9rem;
  font-weight: 600;
  color: #222;
}
#hid-callback-modal .hid-cb-close {
  background: none;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  color: #666;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
}
#hid-callback-modal .hid-cb-close:hover {
  color: #111;
  background: #f0f0f0;
}
#hid-callback-modal .hid-cb-body {
  padding: 16px 20px 20px;
}
#hid-callback-modal label {
  display: block;
  font-size: 1.5rem;
  font-weight: 500;
  color: #444;
  margin-bottom: 4px;
}
#hid-callback-modal input,
#hid-callback-modal select,
#hid-callback-modal textarea {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1.6rem;
}
#hid-callback-modal textarea {
  min-height: 72px;
  resize: vertical;
}
#hid-callback-modal .hid-cb-submit {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 6px;
  background: #b58c65;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
#hid-callback-modal .hid-cb-submit:hover {
  background: #9a7554;
}
.hid-fab-wrap {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 99990;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hid-fab-wrap a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  font-size: 1.4rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.hid-fab-wrap a:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  color: #fff;
}
.hid-fab-whatsapp {
  background: #25d366;
}
.hid-fab-call {
  background: #b58c65;
}
@media (max-width: 480px) {
  #hid-callback-modal {
    width: 96%;
    max-height: 85vh;
  }
  .hid-fab-wrap {
    right: 12px;
    bottom: 12px;
  }
  .hid-fab-wrap a {
    width: 48px;
    height: 48px;
  }
}
