/* ── Overlay ── */
#gk-redirect-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 26, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
#gk-redirect-overlay.gk-open {
  opacity: 1;
  visibility: visible;
}

/* ── Card ── */
.gk-popup {
  background: #fff;
  border-radius: 24px;
  width: 100%;
  max-width: 420px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.35);
  transform: translateY(30px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
}
#gk-redirect-overlay.gk-open .gk-popup {
  transform: translateY(0) scale(1);
}

/* ── Brand header bar ── */
.gk-popup-header {
  padding: 28px 28px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
}
.gk-popup-header.ajio  { background: linear-gradient(135deg, #1a1a2e 0%, #e84444 100%); }
.gk-popup-header.myntra { background: linear-gradient(135deg, #1a1a2e 0%, #ff3f6c 100%); }

.gk-brand-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.25);
}
.gk-popup-header-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
  margin: 0 0 3px;
}
.gk-popup-header-text p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  margin: 0;
}

/* Close button */
.gk-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  transition: background 0.2s;
}
.gk-close-btn:hover { background: rgba(255,255,255,0.35); }

/* ── Body ── */
.gk-popup-body {
  padding: 22px 28px 28px;
}

/* Product name */
.gk-product-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 4px;
}
.gk-product-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 18px;
  line-height: 1.35;
}

/* Info row */
.gk-info-row {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.gk-info-chip {
  flex: 1;
  background: #f8f8fb;
  border-radius: 12px;
  padding: 10px 12px;
  text-align: center;
  border: 1px solid #efefef;
}
.gk-info-chip .chip-icon { font-size: 1.2rem; margin-bottom: 3px; }
.gk-info-chip .chip-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  color: #999;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.gk-info-chip .chip-value {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #333;
  margin-top: 1px;
}

/* Disclaimer */
.gk-disclaimer {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  color: #aaa;
  line-height: 1.5;
  margin-bottom: 18px;
  padding: 10px 14px;
  background: #fafafa;
  border-radius: 10px;
  border: 1px dashed #e0e0e0;
}
.gk-disclaimer strong { color: #888; }

/* ── Progress + CTA ── */
.gk-cta-btn {
  display: block;
  width: 100%;
  padding: 15px 20px;
  border-radius: 14px;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.01em;
}
.gk-cta-btn.ajio  { background: linear-gradient(135deg, #e84444, #c0392b); box-shadow: 0 6px 20px rgba(232,68,68,0.35); }
.gk-cta-btn.myntra { background: linear-gradient(135deg, #ff3f6c, #c0134e); box-shadow: 0 6px 20px rgba(255,63,108,0.35); }
.gk-cta-btn:hover { transform: translateY(-2px); }
.gk-cta-btn:active { transform: translateY(0); }

/* Progress bar inside button */
.gk-cta-btn .gk-progress-bar {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: rgba(255,255,255,0.2);
  width: 0%;
  transition: none;
  border-radius: 14px 0 0 14px;
}
.gk-cta-btn.counting .gk-progress-bar {
  transition: width 3s linear;
  width: 100%;
}

.gk-cta-btn .gk-btn-text { position: relative; z-index: 1; }

/* Cancel link */
.gk-cancel {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  color: #bbb;
  cursor: pointer;
  transition: color 0.2s;
}
.gk-cancel:hover { color: #888; }

/* Countdown badge */
.gk-countdown {
  display: inline-block;
  background: rgba(255,255,255,0.22);
  border-radius: 20px;
  padding: 2px 9px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-left: 6px;
  min-width: 24px;
}

/* ── Trust badges ── */
.gk-trust-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}
.gk-trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  color: #bbb;
  font-weight: 600;
}
.gk-trust-item span:first-child { font-size: 0.9rem; }
