.floating-buttons {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 9999;
    transition: opacity 0.35s ease, transform 0.35s ease;
  }

  .floating-buttons.hidden {
    opacity: 0;
    transform: translateY(-50%) translateX(40px);
    pointer-events: none;
  }

  .floating-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f2750d;
    color: #fff;
    border: none;
    padding: 14px 28px 14px 18px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 8px 0 0 8px;
    min-width: 220px;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  }

  .floating-btn:hover {
    background: #e5a520;
    transform: translateX(-4px);
  }

  .floating-btn svg {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  .btn-close-float {
    position: absolute;
    top: -18px;
    right: 8px;
    width: 32px;
    height: 32px;
    background: #333;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  }

  .btn-close-float:hover { background: #555; }

  /* ── Chat Panel ── */
  .chat-panel {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 480px;
    height: 60vh;
    background: #fff;
    border-radius: 16px 16px 0 0;
    box-shadow: -4px -2px 24px rgba(0,0,0,0.18);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: opacity 0.35s ease, transform 0.35s ease;
    min-height: 300px;
  }

  .chat-panel.hidden {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    pointer-events: none;
  }

  /* Header */
  .chat-header {
    background: #f2750e;
    color: #fff;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
  }

  .chat-header .header-icon svg {
    width: 32px;
    height: 32px;
  }

  .chat-header .header-title {
    flex: 1;
    font-weight: 700;
    font-size: 15px;
  }

  .chat-header button {
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    padding: 4px 6px;
    line-height: 1;
    opacity: 0.85;
    transition: opacity 0.15s;
  }

  .chat-header button:hover { opacity: 1; }

  /* Tab Content */
  .chat-body {
    flex: 1;
    overflow-y: auto;
    position: relative;
  }

  .tab-content {
    display: none;
    padding: 24px 20px;
    animation: fadeIn 0.25s ease;
  }

  .tab-content.active {
    display: block;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .tab-content h3 {
    color: #000;
    font-size: 18px;
    margin-bottom: 11px;
    text-align: center;
    text-align: left;
    font-weight: bold;
  }

  .tab-content .placeholder-btn {
    display: block;
    width: 80%;
    margin: 0 auto 12px;
    padding: 12px;
    background: #f5b731;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
  }

  .tab-content .placeholder-btn:hover { background: #e5a520; }

  /* Bottom Tab Bar */
  .chat-tabs {
    display: flex;
    border-top: 1px solid #eee;
    flex-shrink: 0;
    background: #fff;
  }

  .chat-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    transition: background 0.15s;
  }

  .chat-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 70%;
    height: 3px;
    background: #f5b731;
    border-radius: 0 0 3px 3px;
    transition: transform 0.25s ease;
  }

  .chat-tab.active::before {
    transform: translateX(-50%) scaleX(1);
  }


  .chat-tab svg {
    width: 26px;
    height: 26px;
    fill: #bbb;
    transition: fill 0.2s;
  }

  .chat-tab.active svg,
  .chat-tab:hover svg {
    fill: #f5b731;
  }

  /* Mobile */
  @media (max-width: 420px) {
    .chat-panel {
      width: 100%;
      height: 100%;
      border-radius: 0;
    }
    .floating-btn {
      min-width: 180px;
      padding: 10px 20px 10px 14px;
      font-size: 13px;
    }
    .floating-btn svg {
      width: 28px;
      height: 28px;
    }
  }
  
  .btn-close-float {
    min-width: inherit;
    height: 32px !important;
    line-height: 32px;
    padding: 0px;
    top: -50px;
    background: #333;
    right: auto;
}
a.butn.butn-1,
a.btn.butn-1 {
    margin: 0px;
    text-align: center;
    width: 100%;
    border-radius: 10px;
    text-decoration: none !important;
    font-size: 20px;
}

.chat-body ul {
    padding: 0px;
    list-style: none;
}

.chat-body label {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.chat-body ul {
    padding: 0px;
    list-style: none;
}

.chat-body label {
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 1px;
}

.chat-body li input {
    width: 100% !important;
    height: 40px;
}
.chat-body li textarea {
    height: 80px !important;
}

.gfield--type-honeypot {
    display: none;
}

li#field_5_8 input {
    width: auto !important;
    height: auto;
}

.chat-body li:not(#field_5_8) label {
    text-transform: none !important;
}

.chat-body li input,.chat-body li {
    width: 100% !important;
}

div#tab-appointment .gform_body input,div#tab-appointment .gform_body select {
    width: 100% !important;
    height: 40px;
}

.chat-body div#field_1_12 {font-size: 13px;}

.tab-content h3 + p {
    font-size: 14px;
}

div#tab-contact input,div#tab-contact textarea {
    border: 0px;
    border-bottom: 1px solid #00000063;
}

div#tab-contact label {
    display: none;
}

div#tab-contact li:not(#field_5_8 li) {
    margin-bottom: 15px;
}

.chat-body li#field_5_8 label {
    display: inline-block;
    text-transform: none;
}

.chat-body input[type="submit"] {
    background: var(--aColor);
    color: #fff;
    width: 100%;
    border: 0px;
    border-radius: 50px;
    height: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    cursor: pointer;
}