/* Coupon "Pop" modal — shares color tokens with the rest of the site.
   Kept in its own file since it's shared across home/store/article pages. */

body.pop-open { overflow: hidden; }

.pop-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(19, 76, 95, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.pop-overlay[hidden] { display: none; }

.pop-modal {
  position: relative;
  background: #FCF5ED;
  border-radius: 20px;
  max-width: 420px;
  width: 100%;
  padding: 32px 28px 26px;
  box-shadow: 0 30px 60px -20px rgba(13, 58, 72, 0.5);
  outline: none;
}

.pop-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  border: none;
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
  color: #134C5F;
  cursor: pointer;
  border-radius: 50%;
}
.pop-close:hover { background: rgba(19, 76, 95, 0.08); }

.pop-provider {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #134C5F;
  opacity: 0.7;
  margin: 0 0 6px;
}

.pop-title {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.3rem;
  color: #134C5F;
  margin: 0 0 20px;
  line-height: 1.25;
}

.pop-code-row {
  display: flex;
  align-items: stretch;
  border: 2px dashed rgba(19, 76, 95, 0.3);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 18px;
}
.pop-code-row[hidden] { display: none; }

.pop-code {
  flex: 1;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  color: #134C5F;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 12px;
  background: #fff;
  user-select: all;
}

.pop-copy-btn {
  border: none;
  background: #FFB100;
  color: #134C5F;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0 20px;
  cursor: pointer;
  white-space: nowrap;
  min-width: 110px;
}
.pop-copy-btn:hover { filter: brightness(0.96); }

.pop-nocode-note {
  font-size: 0.9rem;
  color: #3D4F55;
  background: rgba(124, 218, 36, 0.14);
  border-radius: 10px;
  padding: 12px 14px;
  margin: 0 0 18px;
}
.pop-nocode-note[hidden] { display: none; }

.pop-continue-btn {
  display: block;
  text-align: center;
  background: #134C5F;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 14px 20px;
  border-radius: 12px;
}
.pop-continue-btn:hover { filter: brightness(1.1); }

.pop-fineprint {
  font-size: 0.76rem;
  color: #6B7B80;
  text-align: center;
  margin: 10px 0 0;
}

@media (prefers-reduced-motion: no-preference) {
  .pop-modal { animation: pop-in 0.16s ease-out; }
}
@keyframes pop-in {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
