/* Modern exit-intent popup */
.sp-exit.sp-exit--modern { position: fixed; inset: 0; z-index: 10050; display: grid; place-items: center; padding: 24px; background: none !important; }
.sp-exit.sp-exit--modern[hidden] { display: none !important; }
.sp-xm__backdrop { position: absolute; inset: 0; background: rgba(10, 24, 16, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s ease; }
.sp-xm__card { position: relative; display: grid; grid-template-columns: 0.95fr 1.05fr; width: min(860px, 100%); max-height: calc(100vh - 48px); overflow: hidden; background: #fffcf6; border-radius: 28px; box-shadow: 0 30px 80px rgba(10, 24, 16, .35); opacity: 0; transform: translateY(12px) scale(.96); transition: opacity .32s ease, transform .4s cubic-bezier(.2, .9, .3, 1.15); color: #1d1a14; }
.sp-exit--modern.is-open .sp-xm__backdrop { opacity: 1; }
.sp-exit--modern.is-open .sp-xm__card { opacity: 1; transform: none; }
.sp-xm__media { position: relative; min-height: 100%; background: #0f2a1d; }
.sp-xm__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-xm__bee { position: absolute; left: 18%; top: 22%; width: 38px; color: #f2c14e; filter: drop-shadow(0 2px 4px rgba(0,0,0,.35)); animation: sp-xm-fly 7s ease-in-out infinite; }
.sp-xm__wing { transform-origin: 13px 7px; animation: sp-xm-wing .18s ease-in-out infinite alternate; }
@keyframes sp-xm-fly { 0%,100% { transform: translate(0,0) rotate(-4deg); } 25% { transform: translate(40px,-14px) rotate(6deg); } 50% { transform: translate(70px,10px) rotate(-2deg); } 75% { transform: translate(24px,22px) rotate(4deg); } }
@keyframes sp-xm-wing { to { transform: scaleY(.55); } }
.sp-xm__body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.sp-xm__kicker { margin: 0 0 .8rem; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: #8a6414; }
.sp-xm__title { margin: 0 0 .7rem; font-family: "Fraunces", "Cormorant Garamond", Georgia, serif; font-weight: 500; font-size: clamp(2rem, 3.6vw, 2.75rem); line-height: 1.05; color: #0f2a1d; letter-spacing: -.01em; }
.sp-xm__title em { font-style: italic; color: #b07a12; }
.sp-xm__text { margin: 0 0 1.4rem; color: #4f4b42; line-height: 1.6; font-size: 1rem; }
.sp-xm__row { display: flex; gap: 8px; padding: 6px; background: #fff; border: 1px solid rgba(15,42,29,.16); border-radius: 999px; transition: border-color .2s, box-shadow .2s; }
.sp-xm__row:focus-within { border-color: #c8952e; box-shadow: 0 0 0 4px rgba(200,149,46,.18); }
.sp-xm__row input { flex: 1; min-width: 0; border: 0 !important; background: none !important; box-shadow: none !important; padding: 0 14px !important; font-size: 1rem; color: #1d1a14; outline: none; min-height: 44px; }
.sp-xm__row button { flex: none; border: 0; border-radius: 999px; padding: 0 22px; min-height: 44px; background: #e3a11a; color: #1d1a14; font-weight: 700; font-size: .95rem; cursor: pointer; transition: background .2s, transform .2s; }
.sp-xm__row button:hover { background: #f0b53a; }
.sp-xm__row button:disabled { opacity: .6; cursor: default; }
.sp-xm__check { display: flex; gap: 8px; align-items: flex-start; margin: 12px 4px 0; font-size: .8rem; line-height: 1.45; color: #5d5a50; cursor: pointer; }
.sp-xm__check input { margin-top: 2px; accent-color: #0f2a1d; flex: none; }
.sp-xm__msg { margin: 8px 4px 0; font-size: .85rem; color: #0f2a1d; min-height: 1em; }
.sp-xm__alt { align-self: flex-start; margin-top: 1rem; font-weight: 600; color: #0f2a1d; text-decoration: underline; text-decoration-color: #c8952e; text-underline-offset: 4px; }
.sp-xm__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: #0f2a1d; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.12); padding: 0; transition: transform .2s; }
.sp-xm__close:hover { transform: rotate(90deg); }
.sp-xm__close svg { width: 18px; height: 18px; }
.sp-exit--modern .sp-hp { position: absolute !important; left: -9999px !important; }
@media (max-width: 720px) {
	.sp-exit.sp-exit--modern { place-items: end center; padding: 0; }
	.sp-xm__card { grid-template-columns: 1fr; width: 100%; max-height: 92vh; overflow-y: auto; border-radius: 26px 26px 0 0; transform: translateY(100%); transition: opacity .25s ease, transform .4s cubic-bezier(.2,.9,.3,1); padding-bottom: env(safe-area-inset-bottom); }
	.sp-xm__card::before { content: ""; position: absolute; top: 8px; left: 50%; width: 44px; height: 4px; margin-left: -22px; border-radius: 4px; background: rgba(255,255,255,.85); z-index: 2; }
	.sp-xm__media { min-height: 0; aspect-ratio: 16/9; }
	.sp-xm__body { padding: 22px 20px 26px; }
	.sp-xm__title { font-size: 2rem; }
	.sp-xm__text { font-size: .95rem; margin-bottom: 1rem; }
	.sp-xm__row button { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.sp-xm__bee, .sp-xm__wing { animation: none; }
	.sp-xm__card, .sp-xm__backdrop { transition: none; }
}
