/* ============================================================
   AL NUSUK TRAVEL — NAVBAR + WHATSAPP WIDGET
   ============================================================ */

/* ----------------------------------------------------------
   1. GLOBAL RESET & BASE
   FIX: Removed overflow-x:hidden from html — it kills
   vertical scrolling on iOS Safari & some Android browsers.
   Only body gets overflow-x:hidden.
   ---------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* FIX: Do NOT set overflow on html — breaks mobile scrolling */
html {
  /* Let the browser handle viewport scrolling naturally */
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #ffffff;
  color: #0f172a;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
}

img {
  background-color: #f1f5f9;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}

@media (max-width: 768px) {
  .container {
    padding: 0 12px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 8px;
  }
}

/* ----------------------------------------------------------
   2. NAVBAR
   ---------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  border-bottom: 1px solid rgba(229, 231, 235, 0.15);
  min-height: 72px;
  will-change: transform;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

/* ---- Logo ---- */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.logo-link:hover {
  transform: scale(1.02);
}

.logo-svg {
  height: 40px;
  width: auto;
  display: block;
}

/* ---- Search Bar ---- */
.search-wrapper {
  position: relative;
  flex: 1;
  max-width: 420px;
  min-width: 200px;
  display: none;
}

.search-bar {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 30px;
  padding: 0 18px;
  border: 2px solid #ea4c89;
  box-shadow: 0 0 0 4px rgba(234, 76, 137, 0.08);
  transition: box-shadow 0.3s ease;
}

.search-bar:focus-within {
  box-shadow: 0 0 0 4px rgba(234, 76, 137, 0.14);
}

.search-bar .search-icon {
  color: #ea4c89;
  font-size: 16px;
  margin-right: 12px;
  flex-shrink: 0;
}

.search-bar input {
  border: none;
  background: transparent;
  padding: 12px 0;
  font-size: 0.95rem;
  font-weight: 400;
  color: #0f172a;
  width: 100%;
  outline: none;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.01em;
}

.search-bar input::placeholder {
  color: #8b8b8b;
  font-weight: 500;
}

/* ----------------------------------------------------------
   SEARCH SUGGESTIONS — NEW CLEAN LAYOUT
   ---------------------------------------------------------- */
.suggestions {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: #ffffff;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 18px;
  padding: 8px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0,0,0,0.04);
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 1200;
  max-height: 320px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.suggestions.show {
  display: flex;
}

.suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.12s ease;
  color: #0f172a;
}

.suggestion-item:hover {
  background: #fdf2f8;
}

.suggestion-item i {
  color: #ea4c89;
  font-size: 14px;
  width: 18px;
  text-align: center;
  opacity: 0.7;
  flex-shrink: 0;
}

.suggestion-item .sug-text {
  flex: 1;
  font-weight: 500;
  font-size: 0.88rem;
  color: #0f172a;
  line-height: 1.3;
  white-space: normal;
  word-break: break-word;
}

.suggestion-item .sug-desc {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 400;
  flex-shrink: 0;
  margin-left: auto;
}

.suggestion-item .sug-category {
  display: none;
}

.suggestion-item .sug-arrow {
  display: none;
}

.suggestion-item mark {
  background: rgba(234, 76, 137, 0.12);
  color: #ea4c89;
  padding: 0 2px;
  border-radius: 3px;
  font-weight: 600;
}

/* ---- Desktop Nav Links ---- */
.nav-links-desktop {
  display: none;
  align-items: center;
  gap: 4px;
  margin: 0 8px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 30px;
  font-weight: 500;
  font-size: 0.9rem;
  color: #0f172a;
  text-decoration: none;
  transition: all 0.2s ease;
  background: transparent;
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav-link i {
  font-size: 11px;
  color: #8e8e93;
  transition: transform 0.25s ease, color 0.2s ease;
}

.nav-link:hover {
  background: rgba(234, 76, 137, 0.06);
  color: #ea4c89;
}

.nav-link:hover i {
  color: #ea4c89;
  transform: rotate(180deg);
}

.nav-link.active {
  color: #ea4c89;
  font-weight: 600;
}

/* ----------------------------------------------------------
   MEGA DROPDOWN
   ---------------------------------------------------------- */
.mega-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: -20px;
  min-width: 270px;
  background: #ffffff;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-radius: 20px;
  padding: 10px;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0,0,0,0.03);
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 1100;
  opacity: 0;
  transform: translateY(6px) scale(0.98);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.2, 0, 0, 1);
  pointer-events: none;
  will-change: opacity, transform;
}

.mega-dropdown.open {
  display: flex;
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.mega-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  border-radius: 14px;
  text-decoration: none;
  color: #0f172a;
  transition: all 0.15s ease;
  font-weight: 500;
  font-size: 0.88rem;
  cursor: pointer;
}

.mega-item i {
  width: 20px;
  color: #ea4c89;
  font-size: 0.9rem;
  text-align: center;
  opacity: 0.6;
  flex-shrink: 0;
}

.mega-item .mega-desc {
  font-size: 0.7rem;
  font-weight: 400;
  color: #94a3b8;
  margin-left: auto;
  padding-left: 10px;
  flex-shrink: 0;
}

.mega-item:hover {
  background: #fdf2f8;
}

/* ---- Nav Right ---- */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-contact {
  background: #ea4c89;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 22px;
  border-radius: 100px;
  color: white;
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(234, 76, 137, 0.25);
  transition: all 0.25s ease;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  white-space: nowrap;
  will-change: transform;
}

.btn-contact:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 32px rgba(234, 76, 137, 0.35);
  background: #f05a96;
}

.btn-contact:active {
  transform: scale(0.97);
}

.btn-contact i {
  font-size: 0.9rem;
}

/* ---- Hamburger ---- */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px 4px;
  background: transparent;
  border: none;
  z-index: 1100;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #0f172a;
  border-radius: 4px;
  transition: all 0.25s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ----------------------------------------------------------
   3. MOBILE MENU
   ---------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  padding: 90px 24px 40px;
  z-index: 999;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateY(-100%);
  transition: transform 0.35s cubic-bezier(0.2, 0, 0, 1);
  display: flex;
  will-change: transform;
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-menu .mobile-search {
  margin-bottom: 16px;
  padding: 0 2px;
}

.mobile-menu .mobile-search .search-bar {
  background: #f5f5f7;
  border: 2px solid transparent;
  border-radius: 30px;
  padding: 0 18px;
  transition: all 0.25s ease;
}

.mobile-menu .mobile-search .search-bar:focus-within {
  background: #ffffff;
  border-color: #ea4c89;
}

.mobile-menu .mobile-search .search-bar input {
  padding: 14px 0;
  font-size: 0.95rem;
}

.mobile-menu .mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  font-weight: 500;
  font-size: 1.05rem;
  color: #0f172a;
  border-bottom: 1px solid rgba(229, 231, 235, 0.2);
  cursor: pointer;
  transition: color 0.2s ease;
}

.mobile-menu .mobile-nav-link i {
  color: #8e8e93;
  transition: transform 0.25s ease;
  font-size: 0.9rem;
}

.mobile-menu .mobile-nav-link.active {
  color: #ea4c89;
}

.mobile-menu .mobile-sub {
  padding-left: 16px;
  display: none;
  flex-direction: column;
  gap: 2px;
  margin: 0 0 4px 4px;
  border-left: 2px solid rgba(234, 76, 137, 0.12);
}

.mobile-menu .mobile-sub a {
  padding: 10px 12px;
  color: #334155;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.15s ease, background 0.15s ease;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu .mobile-sub a i {
  color: #ea4c89;
  font-size: 0.8rem;
  opacity: 0.5;
  width: 20px;
  flex-shrink: 0;
}

.mobile-menu .mobile-sub a:hover {
  color: #ea4c89;
  background: rgba(234, 76, 137, 0.04);
}

.mobile-menu .mobile-cta {
  width: 100%;
  justify-content: center;
  margin-top: 16px;
  padding: 14px;
  font-size: 1rem;
}

.mobile-menu .close-menu {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 1.6rem;
  color: #0f172a;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  transition: transform 0.2s ease;
}

.mobile-menu .close-menu:hover {
  transform: rotate(90deg);
}

/* ----------------------------------------------------------
   4. WHATSAPP FLOATING WIDGET — LEFT SIDE
   ---------------------------------------------------------- */
.wa-button {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 998;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
  transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
}

.wa-button:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45);
}

.wa-button:active {
  transform: scale(0.95);
}

.wa-button i {
  color: #ffffff;
  font-size: 30px;
  line-height: 1;
}

.wa-tooltip {
  position: absolute;
  left: calc(100% + 14px);
  right: auto;
  top: 50%;
  transform: translateY(-50%) translateX(-6px);
  background: #0f172a;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 10px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.2, 0, 0, 1);
}

.wa-tooltip::after {
  content: '';
  position: absolute;
  right: 100%;
  left: auto;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-color: #0f172a;
}

.wa-button:hover .wa-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.wa-popup {
  position: fixed;
  bottom: 100px;
  left: 28px;
  right: auto;
  width: 380px;
  max-width: calc(100vw - 32px);
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
  z-index: 1050;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.95);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
  will-change: opacity, transform;
  /* ✅ WHATSAPP MOBILE FIX — 3 lines added */
  max-height: calc(100vh - 140px);
  display: flex;
  flex-direction: column;
}

.wa-popup.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.wa-header {
  background: #075E54;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* ✅ WHATSAPP MOBILE FIX — 2 lines added */
  flex-shrink: 0;
  border-radius: 24px 24px 0 0;
}

.wa-profile {
  display: flex;
  align-items: center;
  gap: 14px;
}

.wa-avatar {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wa-avatar i {
  color: #ffffff;
  font-size: 24px;
}

.wa-profile h3 {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.wa-profile p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  margin-top: 2px;
}

.wa-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease, transform 0.2s ease;
  /* ✅ WHATSAPP MOBILE FIX — bigger touch target */
  padding: 8px 12px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  z-index: 10;
}

.wa-close:hover {
  color: #ffffff;
  transform: rotate(90deg);
}

.wa-content {
  padding: 24px;
  /* ✅ WHATSAPP MOBILE FIX — scrollable */
  padding-bottom: 28px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1 1 auto;
}

.wa-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #0f172a;
}

.wa-content p {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 18px;
  line-height: 1.5;
}

.wa-content form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wa-content input,
.wa-content textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  font-family: 'Inter', sans-serif;
  /* ✅ WHATSAPP MOBILE FIX — 16px prevents iOS zoom */
  font-size: 16px;
  color: #0f172a;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: #f8fafc;
}

.wa-content input:focus,
.wa-content textarea:focus {
  border-color: #25D366;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.1);
  background: #ffffff;
}

.wa-content input::placeholder,
.wa-content textarea::placeholder {
  color: #94a3b8;
}

.wa-content textarea {
  resize: vertical;
  /* ✅ WHATSAPP MOBILE FIX — smaller height */
  min-height: 60px;
  max-height: 100px;
}

.wa-send {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  background: #25D366;
  color: #ffffff;
  border: none;
  border-radius: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  will-change: transform;
  /* ✅ WHATSAPP MOBILE FIX */
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}

.wa-send:hover {
  background: #1ebe5a;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.wa-send:active {
  transform: scale(0.98);
}

.wa-send i {
  font-size: 1.1rem;
}

/* ----------------------------------------------------------
   5. PAGE DISPLAY CONTROL
   NOTE: #contactPage, #packagePage, and #cheapPackagePage are NOT here —
   they are standalone pages with their own HTML files.
   ---------------------------------------------------------- */

#homePageWrapper {
  overflow: hidden;
  position: relative;
}

/* ----------------------------------------------------------
   6. RESPONSIVE BREAKPOINTS
   ---------------------------------------------------------- */

/* Tablet */
@media (min-width: 641px) and (max-width: 1023px) {
  .navbar {
    padding: 10px 20px;
    min-height: 68px;
  }

  .logo-svg {
    height: 36px;
  }

  .btn-contact {
    padding: 9px 18px;
    font-size: 0.8rem;
    gap: 8px;
  }

  .btn-contact i {
    font-size: 0.8rem;
  }

  .hamburger span {
    width: 24px;
    height: 2px;
  }

  .mobile-menu {
    padding: 80px 20px 32px;
  }

  .mobile-menu .mobile-nav-link {
    font-size: 1rem;
    padding: 13px 4px;
  }

  .wa-button {
    bottom: 24px;
    left: 20px;
    width: 56px;
    height: 56px;
  }

  .wa-button i {
    font-size: 28px;
  }

  .wa-popup {
    width: 360px;
    left: 20px;
    bottom: 96px;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .nav-links-desktop {
    display: flex !important;
  }

  .search-wrapper {
    display: block !important;
  }

  .hamburger {
    display: none !important;
  }

  .mobile-menu {
    display: none !important;
  }

  .navbar {
    padding: 14px 36px;
    min-height: 80px;
  }

  .logo-svg {
    height: 48px;
  }

  .btn-contact {
    padding: 12px 28px;
    font-size: 0.9rem;
  }

  .search-bar {
    padding: 0 20px;
  }

  .search-bar input {
    padding: 13px 0;
    font-size: 0.95rem;
  }
}

/* Small mobile */
@media (max-width: 640px) {
  .navbar {
    padding: 8px 14px;
    min-height: 64px;
  }

  .logo-svg {
    height: 34px;
  }

  .btn-contact {
    padding: 8px 14px;
    font-size: 0.7rem;
    gap: 6px;
  }

  .btn-contact i {
    font-size: 0.75rem;
  }

  .hamburger span {
    width: 22px;
    height: 2px;
  }

  .mobile-menu {
    padding: 80px 18px 30px;
  }

  .mobile-menu .mobile-nav-link {
    font-size: 0.95rem;
    padding: 12px 2px;
  }

  .mobile-menu .mobile-sub a {
    font-size: 0.85rem;
    padding: 8px 10px;
  }

  .wa-button {
    bottom: 20px;
    left: 16px;
    width: 52px;
    height: 52px;
  }

  .wa-button i {
    font-size: 26px;
  }

  .wa-tooltip {
    display: none;
  }

  /* ✅ WHATSAPP MOBILE FIX — popup scrollable on small mobile */
  .wa-popup {
    left: 12px;
    bottom: 84px;
    width: calc(100vw - 24px);
    max-width: 380px;
    border-radius: 20px;
    max-height: calc(100vh - 160px);
    display: flex;
    flex-direction: column;
  }

  .wa-header {
    padding: 16px;
    flex-shrink: 0;
    border-radius: 20px 20px 0 0;
  }

  .wa-avatar {
    width: 40px;
    height: 40px;
  }

  .wa-avatar i {
    font-size: 20px;
  }

  .wa-profile h3 {
    font-size: 0.85rem;
  }

  .wa-profile p {
    font-size: 0.7rem;
  }

  .wa-content {
    padding: 18px;
    padding-bottom: 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1 1 auto;
  }

  .wa-content h4 {
    font-size: 1rem;
  }

  .wa-content input,
  .wa-content textarea {
    padding: 10px 14px;
    font-size: 16px;
    border-radius: 12px;
  }

  .wa-content textarea {
    min-height: 50px;
    max-height: 80px;
  }

  .wa-send {
    padding: 12px;
    font-size: 0.85rem;
    border-radius: 12px;
    flex-shrink: 0;
  }
}

/* ✅ WHATSAPP MOBILE FIX — Extra small phones (iPhone SE) */
@media (max-width: 380px) {
  .wa-popup {
    left: 8px;
    bottom: 80px;
    width: calc(100vw - 16px);
    max-height: calc(100vh - 160px);
    border-radius: 18px;
  }

  .wa-header {
    padding: 12px 14px;
    border-radius: 18px 18px 0 0;
  }

  .wa-avatar {
    width: 34px;
    height: 34px;
  }

  .wa-avatar i {
    font-size: 18px;
  }

  .wa-profile h3 {
    font-size: 0.78rem;
  }

  .wa-profile p {
    font-size: 0.6rem;
  }

  .wa-content {
    padding: 14px 12px 16px;
  }

  .wa-content h4 {
    font-size: 0.88rem;
  }

  .wa-content p {
    font-size: 0.72rem;
    margin-bottom: 10px;
  }

  .wa-content form {
    gap: 8px;
  }

  .wa-content input,
  .wa-content textarea {
    padding: 9px 12px;
  }

  .wa-send {
    padding: 11px;
    font-size: 0.8rem;
  }
}

/* ✅ WHATSAPP MOBILE FIX — Landscape mode */
@media (max-height: 500px) and (orientation: landscape) {
  .wa-popup {
    max-height: calc(100vh - 100px);
    bottom: 80px;
  }

  .wa-content {
    padding: 12px 16px 16px;
  }

  .wa-content textarea {
    min-height: 40px;
    max-height: 60px;
  }
}

/* ✅ WHATSAPP MOBILE FIX — iOS safe area (notch phones) */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .wa-button {
    bottom: calc(20px + env(safe-area-inset-bottom));
  }

  .wa-popup {
    bottom: calc(84px + env(safe-area-inset-bottom));
    max-height: calc(100vh - 160px - env(safe-area-inset-bottom));
  }
}



