/* Welcome popup — professional modal */

.ns-pg-popup {
  --ns-popup-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ns-popup-dur: 0.32s;
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 28px);
  box-sizing: border-box;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--ns-popup-dur) var(--ns-popup-ease),
    visibility 0s linear var(--ns-popup-dur);
}

.ns-pg-popup.ns-pg-popup--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity var(--ns-popup-dur) var(--ns-popup-ease),
    visibility 0s linear 0s;
}

.ns-pg-popup__dialog {
  position: relative;
  width: min(100%, 480px);
  max-height: calc(100vh - 32px);
  overflow: auto;
  border-radius: 16px;
  padding: 28px 24px 20px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18);
  color: #0f172a;
  transform: translateY(12px);
  opacity: 0;
  transition:
    transform var(--ns-popup-dur) var(--ns-popup-ease),
    opacity var(--ns-popup-dur) var(--ns-popup-ease);
}

.ns-pg-popup--open .ns-pg-popup__dialog {
  transform: translateY(0);
  opacity: 1;
}

.ns-pg-popup__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border: 1px solid #b91c1c;
  border-radius: 10px;
  background: #dc2626;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ns-pg-popup__close:hover {
  background: #ef4444;
  border-color: #dc2626;
  color: #fff;
  transform: scale(1.04);
}

.ns-pg-popup__close:focus-visible {
  outline: 2px solid #fca5a5;
  outline-offset: 2px;
}

.ns-pg-popup__header {
  margin: 0 36px 20px 0;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  text-align: left;
}

.ns-pg-popup__title {
  margin: 0 0 8px;
  font-family: "Sora", "Manrope", system-ui, sans-serif;
  font-size: clamp(1.05rem, 2.8vw, 1.25rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #0f172a;
  text-transform: none;
}

.ns-pg-popup__subtitle {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
  color: #475569;
}

.ns-pg-popup__diet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 20px;
}

.ns-pg-popup__diet-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 12px;
  padding: 14px;
  text-align: left;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease;
}

.ns-pg-popup__diet-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.55;
  transform: translateX(-130%);
  animation: nsDietCardShimmer 3.8s ease-in-out infinite;
}

.ns-pg-popup__diet-card > * {
  position: relative;
  z-index: 1;
}

.ns-pg-popup__diet-card--veg {
  background: #ecfdf5;
  border-color: rgba(22, 163, 74, 0.22);
  border-left: 3px solid #16a34a;
  animation: nsDietVegGlow 2.6s ease-in-out infinite;
}

.ns-pg-popup__diet-card--veg::after {
  background: linear-gradient(
    115deg,
    transparent 28%,
    rgba(34, 197, 94, 0.22) 48%,
    rgba(134, 239, 172, 0.14) 52%,
    transparent 72%
  );
}

.ns-pg-popup__diet-card--mixed,
.ns-pg-popup__diet-card--nonveg {
  background: #fef2f2;
  border-color: rgba(220, 38, 38, 0.2);
  border-left: 3px solid #dc2626;
  animation: nsDietNonvegGlow 2.6s ease-in-out infinite;
  animation-delay: 0.65s;
}

.ns-pg-popup__diet-card--mixed::after,
.ns-pg-popup__diet-card--nonveg::after {
  animation-delay: 0.65s;
  background: linear-gradient(
    115deg,
    transparent 28%,
    rgba(248, 113, 113, 0.18) 46%,
    rgba(254, 202, 202, 0.14) 54%,
    transparent 72%
  );
}

.ns-pg-popup__diet-card:hover {
  transform: translateY(-2px);
}

.ns-pg-popup__diet-card--veg:hover {
  animation-play-state: paused;
  box-shadow:
    0 0 24px rgba(34, 197, 94, 0.38),
    0 0 48px rgba(22, 163, 74, 0.14),
    0 8px 20px rgba(22, 163, 74, 0.12);
  border-color: rgba(34, 197, 94, 0.45);
}

.ns-pg-popup__diet-card--mixed:hover,
.ns-pg-popup__diet-card--nonveg:hover {
  animation-play-state: paused;
  box-shadow:
    0 0 24px rgba(248, 113, 113, 0.28),
    0 0 40px rgba(254, 202, 202, 0.16),
    0 8px 20px rgba(220, 38, 38, 0.12);
  border-color: rgba(220, 38, 38, 0.38);
}

.ns-pg-popup__diet-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.ns-pg-popup__diet-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 8px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.ns-pg-popup__diet-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 3px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.ns-pg-popup__diet-mark::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.ns-pg-popup__diet-mark--veg {
  color: #16a34a;
}

.ns-pg-popup__diet-mark--nonveg {
  color: #dc2626;
}

.ns-pg-popup__diet-badge--veg {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid rgba(22, 163, 74, 0.28);
}

.ns-pg-popup__diet-badge--nonveg {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid rgba(220, 38, 38, 0.24);
}

.ns-pg-popup__diet-head {
  margin: 0 0 6px;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
}

.ns-pg-popup__diet-detail {
  margin: 0;
  padding-left: 16px;
  position: relative;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #64748b;
}

.ns-pg-popup__diet-detail::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #94a3b8;
}

.ns-pg-popup__diet-card--veg .ns-pg-popup__diet-detail::before {
  background: #22c55e;
}

.ns-pg-popup__diet-card--mixed .ns-pg-popup__diet-detail::before,
.ns-pg-popup__diet-card--nonveg .ns-pg-popup__diet-detail::before {
  background: #ef4444;
}

.ns-pg-popup__contact {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.ns-pg-popup__addr,
.ns-pg-popup__phone {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #475569;
}

.ns-pg-popup__addr + .ns-pg-popup__phone {
  margin-top: 10px;
}

.ns-pg-popup__phone-label {
  display: block;
  margin-bottom: 2px;
  font-weight: 600;
  color: #334155;
}

.ns-pg-popup__phone a {
  color: #4338ca;
  font-weight: 600;
  text-decoration: none;
}

.ns-pg-popup__phone a:hover {
  text-decoration: underline;
  color: #4f46e5;
}

.ns-pg-popup__highlights {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.ns-pg-popup__highlights li {
  position: relative;
  padding: 10px 12px 10px 32px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #475569;
}

.ns-pg-popup__highlights li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #cbd5e1;
}

.ns-pg-popup__highlights li.ns-pg-popup__highlight--key {
  background: #fffbeb;
  border-color: rgba(245, 158, 11, 0.28);
  color: #0f172a;
  font-weight: 600;
  animation: nsHighlightKeyGlow 2.8s ease-in-out infinite;
}

.ns-pg-popup__highlights li.ns-pg-popup__highlight--key::before {
  background: #f59e0b;
  animation: nsHighlightKeyDot 2.8s ease-in-out infinite;
}

.ns-pg-popup__highlights li.ns-pg-popup__highlight--key:hover {
  animation-play-state: paused;
}

.ns-pg-popup__cta-wrap {
  margin: 0 0 16px;
}

.ns-pg-popup__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  font-family: "Sora", "Manrope", system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  text-decoration: none;
  cursor: pointer;
  color: #ffffff;
  background: linear-gradient(135deg, #4338ca 0%, #6366f1 100%);
  box-shadow: 0 10px 24px rgba(67, 56, 202, 0.28);
  animation: nsBookNowPulse 2.4s ease-in-out infinite;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.ns-pg-popup__cta:hover {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(79, 70, 229, 0.38);
  animation-play-state: paused;
}

.ns-pg-popup__cta:focus-visible {
  outline: 2px solid #4338ca;
  outline-offset: 3px;
}

.ns-pg-popup__credit {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  color: #94a3b8;
}

.ns-pg-popup__credit a {
  color: #6366f1;
  font-weight: 600;
  text-decoration: none;
}

.ns-pg-popup__credit a:hover {
  color: #4338ca;
  text-decoration: underline;
}

.ns-pg-popup__carousel {
  position: relative;
}

.ns-pg-popup__viewport {
  overflow: hidden;
}

.ns-pg-popup__track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.ns-pg-popup__slide {
  flex: 0 0 100%;
  min-width: 100%;
  box-sizing: border-box;
}

.ns-pg-popup__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 36px;
  height: 36px;
  margin-top: -18px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #334155;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ns-pg-popup__nav:hover {
  background: #fff;
  border-color: rgba(99, 102, 241, 0.35);
  color: #4338ca;
}

.ns-pg-popup__nav--prev {
  left: -6px;
}

.ns-pg-popup__nav--next {
  right: -6px;
}

.ns-pg-popup__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.ns-pg-popup__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.18);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.ns-pg-popup__dot.is-active {
  background: #6366f1;
  transform: scale(1.15);
}

.ns-pg-popup--carousel .ns-pg-popup__dialog {
  padding-left: 34px;
  padding-right: 34px;
}

@media (max-width: 640px) {
  .ns-pg-popup__dialog {
    padding: 24px 18px 18px;
  }

  .ns-pg-popup__diet-grid {
    grid-template-columns: 1fr;
  }

  .ns-pg-popup__header {
    margin-right: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ns-pg-popup,
  .ns-pg-popup__dialog,
  .ns-pg-popup__cta {
    transition: none !important;
  }

  .ns-pg-popup__cta,
  .contact-actions .btn-book-now,
  .floating-cta-btn--primary,
  .ns-pg-popup__diet-card,
  .ns-pg-popup__diet-card::after,
  .ns-pg-popup__highlight--key,
  .ns-pg-popup__highlight--key::before {
    animation: none !important;
  }
}

@keyframes nsHighlightKeyGlow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    border-color: rgba(245, 158, 11, 0.28);
    background: #fffbeb;
    transform: translateX(0);
  }

  50% {
    box-shadow:
      0 0 14px rgba(245, 158, 11, 0.2),
      0 0 0 1px rgba(245, 158, 11, 0.16);
    border-color: rgba(245, 158, 11, 0.42);
    background: #fef3c7;
    transform: translateX(1px);
  }
}

@keyframes nsHighlightKeyDot {
  0%,
  100% {
    transform: translateY(-50%) scale(1);
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
  }

  50% {
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.45);
  }
}

@keyframes nsBookNowPulse {
  0%,
  100% {
    box-shadow: 0 10px 24px rgba(67, 56, 202, 0.28);
    transform: translateY(0);
  }

  50% {
    box-shadow:
      0 16px 34px rgba(99, 102, 241, 0.42),
      0 0 0 8px rgba(99, 102, 241, 0.14);
    transform: translateY(-2px);
  }
}

@keyframes nsDietVegGlow {
  0%,
  100% {
    box-shadow:
      0 0 0 0 rgba(34, 197, 94, 0),
      0 4px 12px rgba(22, 163, 74, 0.06);
    border-color: rgba(22, 163, 74, 0.18);
  }

  50% {
    box-shadow:
      0 0 18px rgba(34, 197, 94, 0.32),
      0 0 36px rgba(134, 239, 172, 0.18),
      0 0 0 1px rgba(34, 197, 94, 0.22);
    border-color: rgba(34, 197, 94, 0.38);
  }
}

@keyframes nsDietNonvegGlow {
  0%,
  100% {
    box-shadow:
      0 0 0 0 rgba(248, 113, 113, 0),
      0 4px 12px rgba(220, 38, 38, 0.06);
    border-color: rgba(220, 38, 38, 0.18);
  }

  50% {
    box-shadow:
      0 0 18px rgba(248, 113, 113, 0.28),
      0 0 36px rgba(254, 202, 202, 0.16),
      0 0 0 1px rgba(220, 38, 38, 0.22);
    border-color: rgba(220, 38, 38, 0.34);
  }
}

@keyframes nsDietCardShimmer {
  0%,
  72%,
  100% {
    transform: translateX(-130%);
  }

  28% {
    transform: translateX(130%);
  }
}

.ns-pg-popup__dialog {
  background: #ffffff !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.ns-pg-popup__title {
  background: none !important;
  -webkit-text-fill-color: #0f172a !important;
  color: #0f172a !important;
  text-align: left !important;
}

.ns-pg-popup__diet-icon,
.ns-pg-popup__rule {
  display: none !important;
}
