:root{
  --gbo-gold:#b8860b;
  --gbo-olive:#4b5320;
  --gbo-cream:#faf7f0;
  --gbo-dark:#2b2b1f;
  --gbo-border:#e3ddc9;
}

#gbo-newsletter-overlay{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(43,43,31,.55);
  z-index:99999;
  align-items:center;
  justify-content:center;
  padding:20px;
}

#gbo-newsletter-overlay.gbo-visible{
  display:flex;
}

#gbo-newsletter-popup{
  position:relative;
  background:#fff;
  border-radius:20px;
  max-width:420px;
  width:100%;
  padding:40px 32px 32px;
  text-align:center;
  box-shadow:0 20px 60px rgba(0,0,0,.25);
  animation:gbo-pop-in .25s ease;
}

@keyframes gbo-pop-in{
  from{ opacity:0; transform:translateY(12px) scale(.98); }
  to{ opacity:1; transform:translateY(0) scale(1); }
}

#gbo-newsletter-close{
  position:absolute;
  top:12px;
  right:16px;
  background:none;
  border:none;
  font-size:26px;
  line-height:1;
  color:#999;
  cursor:pointer;
  padding:4px;
}

#gbo-newsletter-close:hover{
  color:var(--gbo-dark);
}

#gbo-newsletter-step-success{
  position:relative;
}
  display:block;
  width:100%;
  background:none;
  border:none;
  font-size:12px;
  color:#a39f8d;
  text-decoration:underline;
  text-underline-offset:2px;
  cursor:pointer;
  margin:14px 0 0;
  padding:4px;
}

#gbo-newsletter-decline:hover{
  color:var(--gbo-dark);
}

.gbo-newsletter-eyebrow{
  text-transform:uppercase;
  font-size:11px;
  font-weight:700;
  letter-spacing:1px;
  color:var(--gbo-gold);
  margin:0 0 8px;
}

#gbo-newsletter-popup h3{
  font-size:24px;
  color:var(--gbo-dark);
  margin:0 0 12px;
  line-height:1.25;
}

.gbo-newsletter-copy{
  font-size:14px;
  color:#6b6656;
  line-height:1.6;
  margin:0 0 24px;
}

#gbo-newsletter-form{
  display:flex;
  flex-direction:column;
  gap:12px;
}

#gbo-newsletter-email{
  width:100%;
  box-sizing:border-box;
  padding:13px 16px;
  border:1px solid var(--gbo-border);
  border-radius:10px;
  font-size:15px;
}

#gbo-newsletter-email:focus{
  outline:none;
  border-color:var(--gbo-olive);
  box-shadow:0 0 0 3px rgba(75,83,32,.12);
}

#gbo-newsletter-submit{
  width:100%;
  background:var(--gbo-olive);
  color:#fff;
  border:none;
  border-radius:999px;
  padding:14px 20px;
  font-size:15px;
  font-weight:700;
  cursor:pointer;
  transition:all .2s ease;
}

#gbo-newsletter-submit:hover{
  background:#3a4119;
  transform:translateY(-1px);
}

#gbo-newsletter-submit:disabled{
  opacity:.6;
  cursor:not-allowed;
  transform:none;
}

.gbo-newsletter-error{
  color:#b3261e;
  font-size:13px;
  min-height:18px;
  margin:10px 0 0;
}

.gbo-newsletter-fine{
  font-size:11.5px;
  color:#a39f8d;
  margin:16px 0 0;
}

#gbo-newsletter-code{
  background:var(--gbo-cream);
  border:2px dashed var(--gbo-gold);
  border-radius:12px;
  padding:16px;
  font-size:22px;
  font-weight:700;
  letter-spacing:1px;
  color:var(--gbo-dark);
  margin:0 0 20px;
}

#gbo-newsletter-copy-btn{
  width:100%;
  background:#fff;
  color:var(--gbo-olive);
  border:2px solid var(--gbo-olive);
  border-radius:999px;
  padding:12px 20px;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
  transition:all .2s ease;
}

#gbo-newsletter-copy-btn:hover{
  background:var(--gbo-cream);
}

@media (max-width:480px){
  #gbo-newsletter-popup{
    padding:32px 22px 26px;
  }
  #gbo-newsletter-popup h3{
    font-size:20px;
  }
}
