/* RestaurantSuggest Core 1.4.2 — compact desktop popup with centered close control. */
.rsug-popup-overlay[hidden] { display: none !important; }
.rsug-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 3vw, 30px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .24s ease, visibility .24s ease;
}
.rsug-popup-overlay.is-visible { opacity: 1; visibility: visible; }
.rsug-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 17, 14, .76);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  cursor: pointer;
}
.rsug-popup-dialog {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 820px);
  max-height: min(90vh, 900px);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 22px;
  background: #fff;
  color: #17221b;
  box-shadow: 0 32px 100px rgba(0, 0, 0, .34);
  transform: translateY(16px) scale(.985);
  transition: transform .24s ease;
  outline: none;
  scrollbar-width: thin;
  scrollbar-color: #c9d2cb transparent;
}
.rsug-popup-overlay.is-visible .rsug-popup-dialog { transform: translateY(0) scale(1); }
.rsug-popup-image {
  display: block;
  width: 100%;
  height: clamp(250px, 34vh, 360px);
  max-height: 360px;
  overflow: hidden;
  background: #edf1ed;
}
.rsug-popup-image-element {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
}
.rsug-popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0 !important;
  padding: 0 0 3px !important;
  appearance: none;
  border: 1px solid rgba(28, 39, 31, .16) !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #17221b !important;
  font-family: Arial, sans-serif !important;
  font-size: 29px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  text-shadow: none !important;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .16) !important;
  opacity: 1 !important;
  transition: transform .18s ease, box-shadow .18s ease !important;
}
.rsug-popup-close:hover,
.rsug-popup-close:active,
.rsug-popup-close:focus {
  background: #fff !important;
  color: #17221b !important;
  border-color: rgba(28, 39, 31, .22) !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, .2) !important;
  transform: scale(1.05) !important;
}
.rsug-popup-close:focus-visible {
  outline: 3px solid #315d42 !important;
  outline-offset: 3px !important;
}
.rsug-popup-close span { color: inherit !important; pointer-events: none; }
.rsug-popup-content-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px clamp(28px, 5.5vw, 68px) 40px;
  text-align: center;
}
.rsug-popup-accent {
  flex: 0 0 auto;
  width: 54px;
  height: 4px;
  margin: 0 0 19px;
  border-radius: 99px;
  background: #5f8068;
}
.rsug-popup-title {
  max-width: 700px;
  margin: 0;
  color: #17221b;
  font-family: inherit;
  font-size: clamp(30px, 3.7vw, 44px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.08;
  text-wrap: balance;
}
.rsug-popup-subtitle {
  max-width: 650px;
  margin: 14px 0 0;
  color: #526057;
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 600;
  line-height: 1.45;
  text-wrap: balance;
}
.rsug-popup-description {
  max-width: 650px;
  margin: 18px 0 0;
  color: #606b64;
  font-size: 15px;
  line-height: 1.62;
}
.rsug-popup-description > :first-child { margin-top: 0; }
.rsug-popup-description > :last-child { margin-bottom: 0; }
.rsug-popup-description p { margin: 0 0 10px; }
.rsug-popup-description img { max-width: 100%; height: auto; border-radius: 10px; }
.rsug-popup-description a:not(.rsug-popup-cta) { color: #41694e; text-decoration: underline; text-underline-offset: 3px; }
.rsug-popup-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 52px;
  min-width: min(100%, 250px);
  margin: 24px 0 0;
  padding: 14px 25px;
  border: 1px solid #203a2a;
  border-radius: 9px;
  background: #203a2a;
  color: #fff !important;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .025em;
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(32, 58, 42, .16);
  transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.rsug-popup-cta:hover,
.rsug-popup-cta:focus-visible {
  border-color: #345d43;
  background: #345d43;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(32, 58, 42, .22);
}
.rsug-popup-cta-arrow { font-size: 19px; font-weight: 400; line-height: 1; transition: transform .18s ease; }
.rsug-popup-cta:hover .rsug-popup-cta-arrow { transform: translateX(3px); }
.rsug-popup-dialog.no-image .rsug-popup-content-wrap { padding-top: 54px; }
.rsug-popup-dialog.no-image .rsug-popup-close { top: 14px; right: 14px; }
.rsug-popup-open { overflow: hidden !important; }

/* Desktop: slightly compact the card so the complete popup fits without an inner scrollbar. */
@media (min-width: 681px) {
  .rsug-popup-dialog {
    width: min(100%, 790px);
    max-height: min(calc(100vh - 56px), 820px);
  }
  .rsug-popup-image {
    height: clamp(210px, 30vh, 320px);
    max-height: 320px;
  }
  .rsug-popup-content-wrap {
    padding: 32px clamp(26px, 5vw, 60px) 34px;
  }
  .rsug-popup-accent { margin-bottom: 16px; }
  .rsug-popup-title { font-size: clamp(29px, 3.5vw, 42px); }
  .rsug-popup-subtitle { margin-top: 12px; font-size: clamp(16px, 1.7vw, 18px); }
  .rsug-popup-description { margin-top: 16px; line-height: 1.55; }
  .rsug-popup-cta { margin-top: 20px; }
  .rsug-popup-close {
    box-sizing: border-box;
    display: grid !important;
    place-items: center;
    padding: 0 !important;
    text-align: center !important;
  }
  .rsug-popup-close > span {
    display: block;
    width: 1em;
    height: 1em;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
  }
}

/* Slightly smaller, still centered popup on phones. */
@media (max-width: 680px) {
  .rsug-popup-overlay { padding: 16px; }
  .rsug-popup-dialog {
    width: min(100%, 380px);
    max-height: 88vh;
    border-radius: 16px;
  }
  .rsug-popup-image { height: clamp(145px, 22vh, 185px); max-height: 185px; }
  .rsug-popup-close { top: 10px; right: 10px; width: 35px; height: 35px; padding-bottom: 2px !important; font-size: 24px !important; }
  .rsug-popup-content-wrap { padding: 24px 18px 25px; }
  .rsug-popup-accent { width: 46px; margin-bottom: 14px; }
  .rsug-popup-title { font-size: clamp(25px, 7vw, 32px); }
  .rsug-popup-subtitle { margin-top: 10px; font-size: 15px; line-height: 1.42; }
  .rsug-popup-description { margin-top: 13px; font-size: 13px; line-height: 1.55; }
  .rsug-popup-description p { margin-bottom: 8px; }
  .rsug-popup-cta { width: 100%; min-height: 46px; margin-top: 18px; padding: 12px 16px; font-size: 13px; }
  .rsug-popup-dialog.no-image .rsug-popup-content-wrap { padding-top: 45px; }
}
@media (prefers-reduced-motion: reduce) {
  .rsug-popup-overlay, .rsug-popup-dialog, .rsug-popup-close, .rsug-popup-cta, .rsug-popup-cta-arrow { transition: none; }
}
