/* =====================================================
   OM TEXTILES FLOATING CALL BUTTON
===================================================== */

.call-fixed-btn {
  position: fixed;
  bottom: 85px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: #dc3545;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 25px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(52, 31, 22, 0.35);
  z-index: 9998;
  transition: all 0.3s ease;
  animation: callPulse 2s infinite;
}

.call-fixed-btn:hover {
  color: #fff;
  background: #4b2d21;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(52, 31, 22, 0.45);
}

/* Call Pulse */

@keyframes callPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 31, 22, 0.45);
  }

  70% {
    box-shadow: 0 0 0 14px rgba(52, 31, 22, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(52, 31, 22, 0);
  }
}

/* =====================================================
   WHATSAPP POPUP
===================================================== */

.whatsapp-popup {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 380px;
  max-width: calc(100vw - 40px);
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(52, 31, 22, 0.1);
  box-shadow: 0 20px 60px rgba(52, 31, 22, 0.2);
  z-index: 9999;
  display: none;
  overflow: hidden;
  animation: slideUp 0.3s ease-out;
}

.whatsapp-popup.active {
  display: block;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =====================================================
   POPUP HEADER
===================================================== */

.whatsapp-header {
  background: #0c574e;
  color: #fff;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.whatsapp-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.whatsapp-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.whatsapp-logo {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.whatsapp-logo i {
  color: #fff;
  font-size: 21px;
}

.whatsapp-header h4 {
  margin: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: none;
}

.whatsapp-header p {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  line-height: 1.3;
}

/* Header Button */

.whatsapp-header-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 7px 12px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.whatsapp-header-btn:hover {
  background: #fff;
  color: #341f16;
}

.whatsapp-header-btn i {
  font-size: 14px;
}

/* Close */

.close-popup {
  cursor: pointer;
  font-size: 25px;
  font-weight: 300;
  color: #fff;
  opacity: 0.75;
  line-height: 1;
  transition: all 0.2s ease;
}

.close-popup:hover {
  opacity: 1;
}

/* =====================================================
   POPUP BODY
===================================================== */

.whatsapp-body {
  padding: 22px 20px 20px;
  max-height: 500px;
  overflow-y: auto;
  background-color: #ffffff;
}

.whatsapp-body h5 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px;
  color: #341f16;
  text-transform: none;
}

.whatsapp-body > p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin: 0 0 16px;
}

/* =====================================================
   FABRIC SERVICE LIST
===================================================== */

.service-list {
  margin: 10px 0 4px;
  border-top: 1px solid #eee;
}

.service-list div {
  padding: 9px 2px;
  font-size: 13px;
  color: #4a403c;
  border-bottom: 1px solid #eee;
  line-height: 1.4;
}

.service-list div:last-child {
  border-bottom: none;
}

/* =====================================================
   INQUIRY FORM
===================================================== */

#whatsappEnquiryForm .form-group {
  margin-bottom: 10px;
}

#whatsappEnquiryForm .form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #341f16 !important;
  margin-bottom: 5px;
}

#whatsappEnquiryForm .form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ded8d5;
  border-radius: 5px;
  font-size: 13px;
  background: #fff;
  color: #341f16;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

#whatsappEnquiryForm .form-control:focus {
  border-color: #341f16;
  box-shadow: 0 0 0 3px rgba(52, 31, 22, 0.08);
  outline: none;
}

#whatsappEnquiryForm .form-control::placeholder {
  color: #aaa;
  font-size: 12px;
}

/* Submit Button */

.whatsapp-submit-btn {
  width: 100%;
  padding: 12px;
  background: #0c574e;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 4px;
}

.whatsapp-submit-btn:hover {
  background: #4b2d21;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(52, 31, 22, 0.2);
}

.whatsapp-submit-btn i {
  font-size: 19px;
}

/* =====================================================
   SUCCESS / WHATSAPP BUTTON
===================================================== */

.whatsapp-chat-btn {
  width: 100%;
  padding: 12px;
  background: #341f16;
  color: #fff !important;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-decoration: none !important;
  transition: all 0.3s ease;
}

.whatsapp-chat-btn:hover {
  background: #4b2d21;
  transform: translateY(-2px);
  color: #fff !important;
}

.whatsapp-chat-btn i {
  font-size: 20px;
}

/* Back Button */

.whatsapp-back-btn {
  width: 100%;
  padding: 9px;
  background: transparent;
  color: #6d625e;
  border: none;
  font-size: 12px;
  cursor: pointer;
  margin-top: 8px;
  transition: color 0.2s ease;
}

.whatsapp-back-btn:hover {
  color: #341f16;
}

/* Form Subtitle */

.whatsapp-body .form-subtitle {
  font-size: 12px;
  color: #777;
  line-height: 1.6;
  margin: -2px 0 10px;
}

/* Success */

#whatsappSuccess h5 {
  font-size: 20px;
  font-weight: 600;
  color: #341f16;
  margin-bottom: 8px;
}

#whatsappSuccess .whatsapp-chat-btn {
  display: inline-flex !important;
  width: auto !important;
  padding: 11px 22px !important;
}

#whatsappSuccess .whatsapp-back-btn {
  width: auto !important;
  padding: 9px 20px !important;
  border: 1px solid #ded8d5;
  border-radius: 5px;
  font-weight: 600;
  background: #fff;
}

#whatsappSuccess .whatsapp-back-btn:hover {
  border-color: #341f16;
  color: #341f16;
}

/* =====================================================
   FLOATING WHATSAPP BUTTON
===================================================== */

.whatsapp-fixed-btn {
  position: fixed;
  bottom: 150px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(52, 31, 22, 0.35);
  z-index: 9998;
  transition: all 0.3s ease;
  animation: whatsappPulse 2s infinite;
}

.whatsapp-fixed-btn:hover {
  background: #4b2d21;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(52, 31, 22, 0.45);
}

@keyframes whatsappPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 31, 22, 0.4);
  }

  70% {
    box-shadow: 0 0 0 14px rgba(52, 31, 22, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(52, 31, 22, 0);
  }
}

/* =====================================================
   LOADING
===================================================== */

#formLoading i {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* =====================================================
   SCROLLBAR
===================================================== */

.whatsapp-body::-webkit-scrollbar {
  width: 4px;
}

.whatsapp-body::-webkit-scrollbar-track {
  background: #f3f1f0;
}

.whatsapp-body::-webkit-scrollbar-thumb {
  background: #341f16;
  border-radius: 10px;
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 480px) {
  .call-fixed-btn {
    width: 52px;
    height: 52px;
    font-size: 23px;
    right: 18px;
    bottom: 90px;
  }

  .whatsapp-fixed-btn {
    width: 52px;
    height: 52px;
    font-size: 28px;
    bottom: 155px;
    right: 18px;
  }

  .whatsapp-popup {
    bottom: 85px;
    right: 10px;
    left: 10px;
    width: auto;
    max-height: 80vh;
    border-radius: 12px;
  }

  .whatsapp-body {
    max-height: 380px;
    padding: 18px 15px;
  }

  .whatsapp-header {
    padding: 13px 14px;
  }

  .whatsapp-header h4 {
    font-size: 13px;
  }

  .whatsapp-header p {
    font-size: 10px;
  }

  .whatsapp-header-btn {
    padding: 6px 9px;
    font-size: 10px;
  }

  .whatsapp-logo {
    width: 34px;
    height: 34px;
  }
}

/* #f0ebe5  #e5dbd3 #805231  #341f16 */

/* .whatsapp-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-submit-btn:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.whatsapp-submit-btn .spinner-border {
  vertical-align: middle;
} */
