
/* Westfort Popup — Frontend */
@font-face{
  font-family:'WestfortCanela';
  src: url('Canela-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.westfort-popup-overlay{
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0,0,0,0.72);
}
.westfort-popup-overlay.is-open{ display: flex; }

.westfort-popup-card{
  position: relative;
  width: min(920px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  border-radius: 22px;
  background: #FFFFFF;
  box-shadow: 0 18px 70px rgba(0,0,0,0.45);
  border: 1px solid rgba(55,200,204,0.28);
}

.westfort-popup-close{
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(55,200,204,0.42);
  background: rgba(55,200,204,0.10);
  color: #37C8CC !important;
  cursor: pointer;
  display: grid;
  place-items: center;
  line-height: 1;
  transition: transform .12s ease, background .12s ease;
  -webkit-tap-highlight-color: transparent;
}
.westfort-popup-close span{
  font-size: 26px;
  margin-top: -2px;
  color: #37C8CC !important;
}
.westfort-popup-close:hover{
  transform: scale(1.04);
  background: rgba(55,200,204,0.16);
}

.westfort-popup-inner{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 26px 20px 22px;
}

.westfort-popup-logo-wrap{
  display:flex;
  justify-content:center;
  align-items:center;
  padding-top: 18px;
}
.westfort-popup-logo{
  width: min(520px, 86vw);
  height: auto;
  display:block;
}

.westfort-popup-text{
  padding: 2px 8px 14px;
  text-align: center;
}

.westfort-popup-header{
  font-family: 'WestfortCanela', ui-serif, Georgia, 'Times New Roman', serif !important;
  font-size: clamp(26px, 5.4vw, 44px);
  letter-spacing: -0.4px;
  margin: 10px 0 8px;
  color: #37C8CC !important;
}

.westfort-popup-body{
  font-family: 'WestfortCanela', ui-serif, Georgia, 'Times New Roman', serif !important;
  font-size: clamp(15px, 3.8vw, 18px);
  line-height: 1.55;
  color: #37C8CC !important;
  opacity: 1 !important;
  margin: 0 auto;
  max-width: 70ch;
}

@media (min-width: 900px){
  .westfort-popup-inner{
    padding: 36px 44px 34px;
  }
  .westfort-popup-text{
    padding: 0 24px 18px;
  }
  .westfort-popup-logo{
    width: min(680px, 60vw);
  }
}

/* Scroll lock */
.westfort-popup-lock{ overflow:hidden !important; }
