/* RK Welcome Coupon popup */
.rkwc-overlay { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 18px; background: rgba(8, 28, 20, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s ease; }
.rkwc-overlay[hidden] { display: none; }
.rkwc-overlay.is-open { opacity: 1; }
.rkwc-modal { position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 36px); overflow: auto; background: #fff; border-radius: 26px; padding: 34px 32px 26px; text-align: center; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .5); transform: translateY(24px) scale(.97); transition: transform .35s cubic-bezier(.2, .8, .2, 1); font-family: "Sora", system-ui, sans-serif; color: #3f3f3f; }
.rkwc-overlay.is-open .rkwc-modal { transform: none; }
.rkwc-modal:before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; border-radius: 26px 26px 0 0; background: linear-gradient(90deg, #63bb37, #064e3b 60%, #fdc622); }
.rkwc-close { position: absolute; right: 14px; top: 16px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f1ece0; color: #064e3b; font-size: 24px; line-height: 1; cursor: pointer; transition: background-color .2s, transform .2s; }
.rkwc-close:hover { background: #064e3b; color: #fff; transform: rotate(90deg); }
.rkwc-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 14px; font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 17px; color: #064e3b; }
.rkwc-brand img { width: 40px; height: 40px; object-fit: contain; border-radius: 50%; }
.rkwc-modal h2 { margin: 0 0 10px; font-family: "Bricolage Grotesque", sans-serif; font-size: clamp(30px, 6vw, 40px); font-weight: 800; line-height: 1.1; color: #064e3b; }
.rkwc-sub { margin: 0 auto 22px; max-width: 340px; font-size: 15.5px; line-height: 1.6; color: #4a4a4a; }
.rkwc-form { display: grid; gap: 12px; text-align: left; }
.rkwc-input { width: 100%; height: 52px; padding: 0 16px; border: 1.5px solid #0f1f0f; border-radius: 14px; background: #fff; font-size: 15px; color: #0f1f0f; box-shadow: none; box-sizing: border-box; font-family: inherit; transition: border-color .2s, box-shadow .2s; }
.rkwc-input::placeholder { color: #8a8f85; }
.rkwc-input:focus { outline: 0; border-color: #064e3b; box-shadow: 0 0 0 4px rgba(6, 78, 59, .14); }
.rkwc-input.is-bad { border-color: #c1121f; box-shadow: 0 0 0 4px rgba(193, 18, 31, .1); }
.rkwc-phone { display: flex; align-items: stretch; border: 1.5px solid #cfd6cf; border-radius: 14px; overflow: hidden; background: #fff; transition: border-color .2s, box-shadow .2s; }
.rkwc-phone:focus-within { border-color: #064e3b; box-shadow: 0 0 0 4px rgba(6, 78, 59, .14); }
.rkwc-phone .rkwc-input { border: 0; border-radius: 0; box-shadow: none; height: 50px; }
.rkwc-phone .rkwc-input.is-bad { box-shadow: none; }
.rkwc-phone:has(.is-bad) { border-color: #c1121f; }
.rkwc-cc { display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; background: #f6f3ea; font-size: 14px; font-weight: 600; color: #0f1f0f; border-right: 1.5px solid #e3dec9; white-space: nowrap; }
.rkwc-flag { display: inline-flex; flex-direction: column; width: 22px; height: 15px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.rkwc-flag i { flex: 1; display: flex; align-items: center; justify-content: center; }
.rkwc-flag i:nth-child(1) { background: #ff9933; }
.rkwc-flag i:nth-child(2) { background: #fff; }
.rkwc-flag i:nth-child(3) { background: #138808; position: relative; }
.rkwc-flag b { display: none; }
.rkwc-flag i:nth-child(2):after { content: ""; width: 4px; height: 4px; border-radius: 50%; border: 1px solid #1a237e; box-sizing: border-box; }
.rkwc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.rkwc-error { margin: 0; padding: 9px 12px; border-radius: 10px; background: #fdecee; color: #a40e1a; font-size: 13.5px; font-weight: 600; }
.rkwc-error[hidden] { display: none; }
.rkwc-submit { display: block; width: 100%; height: 54px; border: 0; border-radius: 14px; background: linear-gradient(135deg, #064e3b, #0b7a55); color: #fff !important; font: 700 16px/54px "Sora", sans-serif; text-align: center; text-decoration: none !important; cursor: pointer; box-shadow: 0 14px 26px -10px rgba(6, 78, 59, .6); transition: transform .2s, box-shadow .2s, opacity .2s; padding: 0; }
.rkwc-submit:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -10px rgba(6, 78, 59, .7); }
.rkwc-submit:disabled { opacity: .65; cursor: wait; transform: none; }
.rkwc-decline { margin: 14px 0 0; padding: 4px 8px; border: 0; background: none; color: #8a8f85; font: 500 13.5px "Sora", sans-serif; text-decoration: underline; cursor: pointer; }
.rkwc-decline:hover { color: #064e3b; }
.rkwc-step[hidden] { display: none; }
.rkwc-party { font-size: 46px; line-height: 1; margin-bottom: 8px; animation: rkwcPop .6s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes rkwcPop { 0% { transform: scale(.2) rotate(-25deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
.rkwc-code-box { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 8px; padding: 10px 10px 10px 18px; border: 2px dashed #064e3b; border-radius: 16px; background: #f3f8f4; }
.rkwc-code { font: 800 19px/1.1 "Sora", monospace; letter-spacing: 1px; color: #064e3b; white-space: nowrap; text-align: left; }
.rkwc-copy { flex-shrink: 0; height: 42px; padding: 0 18px; border: 0; border-radius: 10px; background: #fdc622; color: #0f1f0f; font: 700 14px "Sora", sans-serif; cursor: pointer; transition: background-color .2s; }
.rkwc-copy:hover { background: #f5b800; }
.rkwc-meta { min-height: 18px; margin: 0 0 16px; font-size: 13px; color: #6b6b5f; }
body.rkwc-lock { overflow: hidden; }
@media (max-width: 480px) {
	.rkwc-modal { padding: 28px 20px 22px; border-radius: 22px; }
	.rkwc-code { font-size: 15px; letter-spacing: .5px; }
}
@media (prefers-reduced-motion: reduce) { .rkwc-overlay, .rkwc-modal { transition: none; } .rkwc-party { animation: none; } }
