/* WhatsApp Floating Widget & Subscribed Form Custom Styles */
.wa-widget-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999999 !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.wa-button {
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  text-decoration: none;
}

.wa-button:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.wa-button svg {
  width: 34px;
  height: 34px;
  fill: #ffffff;
}

.wa-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background-color: #ff3b30;
  border: 2px solid #ffffff;
  border-radius: 50%;
}

.wa-popup {
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 310px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wa-popup.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.wa-header {
  background: #075e54;
  color: #ffffff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #de7d0e;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: bold;
  font-size: 16px;
  flex-shrink: 0;
}

.wa-header-info h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
}

.wa-header-info p {
  margin: 2px 0 0 0;
  font-size: 12px;
  color: #e0f2f1;
}

.wa-body {
  padding: 16px;
  background: #efeae2;
}

.wa-message-bubble {
  background: #ffffff;
  padding: 12px 14px;
  border-radius: 0 12px 12px 12px;
  font-size: 13px;
  line-height: 1.45;
  color: #333333;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 14px;
}

.wa-chat-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: #25d366;
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 14px;
  padding: 10px;
  border-radius: 24px;
  transition: background 0.2s;
  box-sizing: border-box;
}

.wa-chat-btn:hover {
  background: #1eb956;
}

/* Custom Toast for Subscriptions */
.custom-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #1e293b;
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 30px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  z-index: 9999999;
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-toast.show {
  transform: translateX(-50%) translateY(0);
}

/* GoDaddy exported navigation fixes */
html.mn-nav-lock,
body.mn-nav-lock {
  overflow: hidden !important;
}

[data-ux="NavigationDrawer"] {
  max-width: 100vw !important;
  will-change: transform;
}

[data-ux="NavigationDrawer"]:not(.mn-nav-open) {
  pointer-events: none;
}

[data-ux="NavigationDrawer"].mn-nav-open {
  display: flex !important;
  transform: translateX(0) !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

[data-ux="Dropdown"].mn-dropdown-open {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  z-index: 10005 !important;
}

[data-aid="HEADER_NAV_RENDERED"] {
  position: relative;
  z-index: 1000;
}

[data-aid="HEADER_NAV_RENDERED"] ul[data-ux="List"] {
  align-items: center;
}

[data-aid="HEADER_NAV_RENDERED"] .nav-item {
  position: relative;
}

[data-ux="NavLink"],
[data-ux="NavLinkActive"],
[data-ux="NavLinkDropdown"] {
  cursor: pointer;
}

@media (max-width: 767px) {
  [data-aid="HEADER_NAV_RENDERED"] {
    display: none !important;
  }

  [data-aid="HEADER_LOGO_TEXT_RENDERED"] > b {
    display: inline-block !important;
    white-space: nowrap !important;
  }

  [data-aid="HAMBURGER_MENU_LINK"] {
    align-items: center !important;
    display: flex !important;
    justify-content: center !important;
    min-height: 44px;
    min-width: 44px;
    touch-action: manipulation;
  }

  /* Logo box size & responsiveness override for mobile */
  [data-ux="LogoHeading"] {
    font-size: 19px !important;
    padding: 6px 10px !important;
    text-align: center !important;
    width: 100% !important;
  }

  [data-ux="LogoHeading"] span:first-child {
    font-size: 18px !important;
    font-weight: bold !important;
    white-space: nowrap !important;
    display: block !important;
    letter-spacing: 0.5px !important;
  }

  [data-ux="LogoHeading"] span:last-child {
    font-size: 14px !important;
    font-weight: normal !important;
    white-space: nowrap !important;
    display: block !important;
    letter-spacing: 2.5px !important;
    margin-top: 2px !important;
  }

  [data-aid="HEADER_LOGO_RENDERED"] {
    width: 100% !important;
    max-width: 270px !important;
  }

  [data-ux="NavigationDrawer"] {
    bottom: 0 !important;
    height: 100dvh !important;
    max-height: 100vh !important;
    left: 0 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    right: auto !important;
    top: 0 !important;
    width: min(100vw, 420px) !important;
    z-index: 10002 !important;
  }

  [data-ux="NavigationDrawerContainer"] {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    max-height: 100% !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 60px !important;
  }

  [data-ux="NavigationDrawerLink"],
  [data-ux="NavigationDrawerLinkActive"] {
    min-height: 44px;
    white-space: normal !important;
    word-break: break-word;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 1 !important;
  }

  [data-ux="NavigationDrawerList"] {
    pointer-events: auto !important;
    position: relative !important;
    z-index: 1 !important;
  }

  [data-ux="NavigationDrawer"] a[href] {
    pointer-events: auto !important;
  }
}

/* Get Directions Button Styling */
.get-directions-btn {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: #de7d0e;
  color: #ffffff !important;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  text-decoration: none !important;
  border-radius: 0 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  max-width: 90%;
  box-sizing: border-box;
  touch-action: manipulation;
  transition: background 0.2s ease, transform 0.2s ease;
}

.get-directions-btn:hover,
.get-directions-btn:active,
.get-directions-btn:focus {
  background: #c56e09;
  color: #ffffff !important;
  text-decoration: none !important;
}

@media (max-width: 767px) {
  .get-directions-btn {
    bottom: 12px;
    padding: 10px 16px;
    font-size: 12px;
    letter-spacing: 1px;
    width: auto;
    min-height: 44px;
  }
}

@media (min-width: 768px) {
  [data-ux="NavigationDrawer"] {
    display: none !important;
  }

  [data-aid="HEADER_NAV_RENDERED"] ul[data-ux="List"] {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ----------------------------------------------------
   PERMANENTLY DISABLE ALL OLD GODADDY CHAT WIDGETS
---------------------------------------------------- */
.widget-messaging,
.widget-messaging-messaging-1,
[class*="widget-messaging"],
[class*="conversations"],
[id*="conversations"],
iframe[src*="conversations"],
iframe[src*="godaddy"],
div[data-ux="Messaging"],
#gpub-conversations-container,
#conversations-widget {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
}
