/* ===============================
   CTA-кнопка + «уголок»
   =============================== */

.wr4u-cta-widget{ 
  position:relative; 
  display:flex; 
  justify-content:flex-end; 
  align-items:center; 
}

.wr4u-cta-widget .wr4u-btn.elementor-button{
  border-radius:9999px; 
  padding:14px 24px; 
  font-weight:800;
  background:#6d28d9; 
  color:#fff; 
  box-shadow:0 6px 18px rgba(124,58,237,.25);
}

/* убираем wiggle */
.wr4u-cta-widget .wr4u-btn{ 
  transform:none; 
  animation:none; 
}

.wr4u-btn.wr4u-revealed{ background:#dc2626; }

/* ===============================
   МОДАЛЬНОЕ ОКНО (новый дизайн как на изображениях)
   =============================== */
.wr4u-coupon-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 99999;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.wr4u-coupon-modal.wr4u-open { display: block; }

.wr4u-coupon-modal__backdrop {
  position: absolute; 
  inset: 0;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(4px);
}

.wr4u-coupon-modal__card {
  position: absolute;
  left: 50%; 
  top: 50%; 
  transform: translate(-50%, -50%);
  width: min(90vw, 480px);
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 25px 50px rgba(0,0,0,.3);
  padding: 32px 28px;
  text-align: center;
}

.wr4u-close {
  position: absolute;
  top: 20px;
  right: 20px;
  border: 0; 
  background: none; 
  width: 32px; 
  height: 32px;
  font-size: 24px; 
  cursor: pointer;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* Brand Section */
.wr4u-brand {
  margin-bottom: 24px;
}

.wr4u-brand__logo {
  width: 60px;
  height: 60px;
  margin: 0 auto 12px;
  border-radius: 50%;
  position: relative;
}

.wr4u-brand__logo:before { content: none !important; }

.wr4u-brand__name {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  letter-spacing: 0.5px;
}

/* Title */
.wr4u-coupon-modal__title { 
  font-size: 24px; 
  font-weight: 700; 
  color: #333; 
  margin: 0 0 28px; 
  line-height: 1.3;
}

/* Code Section */
.wr4u-coupon-modal__code {
  margin-bottom: 20px;
}

.wr4u-code-display {
  background: #f8f9fa;
  border: 2px dashed #dee2e6;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wr4u-code-text {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  letter-spacing: 1px;
  font-family: monospace;
}

.wr4u-copy-btn {
  background: #8b5cf6;
  color: white;
  border: 0;
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}
.wr4u-copy-btn:hover { background: #7c3aed; }

.wr4u-code-instruction {
  font-size: 14px;
  color: #666;
  margin: 0;
}
.wr4u-code-instruction a {
  color: #8b5cf6;
  text-decoration: none;
}

/* Deal Section */
.wr4u-deal-content {
  margin-bottom: 20px;
}

.wr4u-shop-btn {
  background: #8b5cf6;
  color: white;
  border: 0;
  border-radius: 50px;
  padding: 16px 32px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
  margin-bottom: 12px;
  transition: background 0.2s;
}
.wr4u-shop-btn:hover { background: #7c3aed; }

.wr4u-deal-instruction {
  font-size: 14px;
  color: #666;
  margin: 0;
}
.wr4u-deal-instruction a {
  color: #8b5cf6;
  text-decoration: none;
}

/* Expiry */
.wr4u-expiry {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  color: #666;
}

.wr4u-expiry svg {
  opacity: 0.7;
}

/* Mobile Responsive */
@media (max-width: 480px) {
  .wr4u-coupon-modal__card {
    width: 95vw;
    padding: 28px 20px;
  }
  
  .wr4u-coupon-modal__title {
    font-size: 20px;
  }
  
  .wr4u-code-display {
    flex-direction: column;
    gap: 12px;
  }
  
  .wr4u-copy-btn {
    width: 100%;
  }
}

/* ===============================
   Поддержка старой разметки (если где-то осталась)
   =============================== */
#wr4u-coupon-modal{
  position:fixed; inset:0; display:none; align-items:center; justify-content:center;
  background:rgba(17,24,39,.55); z-index:99998;
}
#wr4u-coupon-modal.wr4u-open{ display:flex; }
.wr4u-modal-card{
  width:min(92vw,560px); background:#fff; border-radius:20px; box-shadow:0 20px 60px rgba(0,0,0,.25);
  padding:26px 24px 22px; text-align:center;
}
.wr4u-title{ font-size:22px; font-weight:800; margin:0 0 12px; color:#111827; }
.wr4u-sub{ font-size:14px; color:#6b7280; margin:0 0 18px; }
.wr4u-code{
  display:flex; align-items:center; justify-content:space-between;
  border:2px dashed #7c3aed; border-radius:12px; padding:12px 12px 12px 18px; gap:12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}
.wr4u-code strong{ font-size:26px; font-weight:900; letter-spacing:.08em; color:#111827; user-select:all; }
.wr4u-copy{ appearance:none; border:0; border-radius:12px; padding:10px 14px; font-weight:700; cursor:pointer; background:#7c3aed; color:#fff; }
.wr4u-actions{ margin-top:16px; display:flex; gap:10px; justify-content:center; }
.wr4u-visit,.wr4u-close{ appearance:none; border:0; border-radius:999px; padding:12px 18px; font-weight:800; cursor:pointer; }
.wr4u-visit{ background:#111827; color:#fff; }