/* Genze Popups — front-end + admin preview styles. Design values arrive as CSS variables on .gpp */
html.gpp-lock { overflow: hidden; }
.gpp { position: fixed; inset: 0; z-index: 999990; display: flex; pointer-events: none; visibility: hidden; transition: visibility 0s linear .4s; font-family: var(--f-b); -webkit-font-smoothing: antialiased; }
.gpp.is-open { visibility: visible; transition-delay: 0s; }
.gpp *, .gpp *::before, .gpp *::after { box-sizing: border-box; }
.gpp.is-preview { position: absolute; z-index: 1; visibility: visible; }

/* Overlay */
.gpp-overlay { position: absolute; inset: 0; background: var(--backdrop); opacity: 0; transition: opacity .3s ease; pointer-events: auto; }
.gpp.has-blur .gpp-overlay { -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.gpp.is-open .gpp-overlay, .gpp.is-preview .gpp-overlay { opacity: 1; }
.gpp:not(.is-open):not(.is-preview) .gpp-overlay { pointer-events: none; }

/* Box */
.gpp .gpp-box {
	position: relative; isolation: isolate; pointer-events: auto; width: min(var(--w), 100%); max-height: calc(100% - 24px); overflow: auto;
	background: var(--bg); border-radius: var(--r); padding: var(--pad); color: var(--b-c); line-height: 1.45;
	opacity: 0; transform: rotate(var(--tilt)); transition: opacity .3s ease, transform .4s cubic-bezier(.2, .9, .3, 1.15); scrollbar-width: thin;
}
.gpp .gpp-box.has-bg-img { background: linear-gradient(var(--bg-ov), var(--bg-ov)), var(--bg-img) center / cover no-repeat, var(--bg); }
.gpp .gpp-box.has-shadow { box-shadow: 0 30px 80px -10px rgba(15, 23, 42, .45), 0 4px 14px rgba(15, 23, 42, .12); }
.gpp.is-open .gpp-box, .gpp.is-preview .gpp-box { opacity: 1; transform: rotate(var(--tilt)); }
.gpp-anim-zoom:not(.is-open):not(.is-preview) .gpp-box { transform: scale(.86) rotate(var(--tilt)); }
.gpp-anim-slide:not(.is-open):not(.is-preview) .gpp-box { transform: translateY(48px) rotate(var(--tilt)); }
.gpp-anim-bounce.is-open .gpp-box, .gpp-anim-bounce.is-preview.is-replay .gpp-box { animation: gpp-bounce .7s cubic-bezier(.3, 1.6, .5, 1); }
.gpp.is-preview.is-replay:not(.gpp-anim-bounce) .gpp-box { animation: gpp-in .45s cubic-bezier(.2, .9, .3, 1.15); }
@keyframes gpp-bounce { 0% { opacity: 0; transform: scale(.6) rotate(var(--tilt)); } 60% { opacity: 1; transform: scale(1.04) rotate(var(--tilt)); } 100% { transform: scale(1) rotate(var(--tilt)); } }
@keyframes gpp-in { from { opacity: 0; transform: translateY(24px) scale(.95) rotate(var(--tilt)); } }
.gpp-shape-square { border-radius: 0 !important; }
.gpp-shape-circle { aspect-ratio: 1 / 1; border-radius: 50% !important; overflow: hidden !important; display: flex; align-items: center; justify-content: center; padding: calc(var(--w) * .13) !important; max-height: none !important; }
.gpp-shape-circle .gpp-inner { width: 100%; }

/* Decorations */
.gpp-pattern { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: var(--pat); border-radius: inherit; -webkit-mask-image: radial-gradient(ellipse at center, transparent 32%, #000 72%); mask-image: radial-gradient(ellipse at center, transparent 32%, #000 72%); }
.gpp-border-solid { border: var(--bd-w) solid var(--bd-c); }
.gpp-border-dashed { border: var(--bd-w) dashed var(--bd-c); }
.gpp-border-airmail { padding-top: calc(var(--pad) + 10px); padding-bottom: calc(var(--pad) + 10px); }
.gpp-border-airmail::before, .gpp-border-airmail::after { content: ""; position: absolute; left: 0; right: 0; height: 9px; z-index: 1; background: repeating-linear-gradient(-45deg, var(--bd-c) 0 18px, transparent 18px 28px, var(--bd-c2) 28px 46px, transparent 46px 56px); }
.gpp-border-airmail::before { top: 0; }
.gpp-border-airmail::after { bottom: 0; }

/* Close */
.gpp .gpp-close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 34px; height: 34px; padding: 0; margin: 0; border: 0; border-radius: 50%; background: rgba(127, 127, 127, .16); color: var(--x-c); font: 400 24px/1 Arial, sans-serif; cursor: pointer; display: grid; place-items: center; transition: background .15s, transform .15s; box-shadow: none; }
.gpp .gpp-close:hover { background: rgba(127, 127, 127, .28); transform: rotate(90deg); }
.gpp .gpp-close-plain { background: transparent; }
.gpp-shape-circle .gpp-close { top: 13%; right: 13%; }

/* Content */
.gpp-inner { position: relative; z-index: 1; }
.gpp-align-center .gpp-inner { text-align: center; }
.gpp-align-left .gpp-inner { text-align: left; }
.gpp .gpp-eyebrow { font-family: var(--f-s); color: var(--e-c); font-size: var(--e-size); font-weight: 500; letter-spacing: .03em; margin: 0 0 10px; line-height: 1.3; }
.gpp.e-upper .gpp-eyebrow { text-transform: uppercase; letter-spacing: .06em; }
.gpp .gpp-h { font-family: var(--f-h); font-size: var(--h-size); color: var(--h-c); font-weight: var(--h-w); line-height: 1.02; letter-spacing: var(--h-ls); margin: 0 0 12px; padding: 0; overflow-wrap: break-word; text-transform: none; border: 0; }
.gpp.h-upper .gpp-h { text-transform: uppercase; }
.gpp .gpp-eff-bubbly { -webkit-text-stroke: calc(var(--h-size) * .05) var(--h-e); paint-order: stroke fill; text-shadow: calc(var(--h-size) * .045) calc(var(--h-size) * .06) 0 var(--h-e); letter-spacing: calc(var(--h-ls) + .01em); line-height: .98; }
.gpp .gpp-eff-shadow { text-shadow: .06em .07em 0 var(--h-e); }
.gpp .gpp-eff-gradient { background: linear-gradient(90deg, var(--h-c), var(--h-e)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gpp .gpp-eff-stack { display: flex; flex-direction: column; align-items: center; line-height: .8; margin-bottom: 18px; }
.gpp-align-left .gpp-eff-stack { align-items: flex-start; }
.gpp .gpp-eff-stack > span { display: block; }
.gpp .gpp-stack-o { color: transparent; -webkit-text-stroke: 1.5px var(--h-e); }
.gpp .gpp-stack-f { position: relative; z-index: 1; margin: -.46em 0; color: var(--h-c); }
.gpp .gpp-sub { font-family: var(--f-s); color: var(--s-c); font-size: var(--s-size); font-weight: 700; line-height: 1.12; margin: 0 0 8px; }
.gpp.s-upper .gpp-sub { text-transform: uppercase; }
.gpp .gpp-body { font-family: var(--f-b); color: var(--b-c); font-size: var(--b-size); line-height: 1.55; margin: 0 0 20px; }
.gpp .gpp-note { font-size: 12px; color: var(--b-c); opacity: .75; margin: 14px 0 0; }
.gpp-icon { margin: 0 auto 16px; display: flex; justify-content: center; }
.gpp-align-left .gpp-icon { justify-content: flex-start; }
.gpp-icon-svg { width: 104px; height: auto; display: block; }
.gpp-icon-line { width: 46px; height: 46px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.gpp-img-top { margin: calc(var(--pad) * -1) calc(var(--pad) * -1) 22px; }
.gpp-img-top img { display: block; width: 100%; max-height: 230px; object-fit: cover; border-radius: var(--r) var(--r) 0 0; }
.gpp-box.has-side-img { display: grid; grid-template-columns: 42% 1fr; padding: 0; }
.gpp-box.has-side-img .gpp-inner { padding: var(--pad); align-self: center; }
.gpp-img-left img { display: block; width: 100%; height: 100%; min-height: 280px; object-fit: cover; border-radius: var(--r) 0 0 var(--r); }

/* Countdown */
.gpp-cd { display: flex; justify-content: center; gap: 14px; margin: 4px 0 22px; }
.gpp-align-left .gpp-cd { justify-content: flex-start; }
.gpp-cd-u { display: flex; flex-direction: column; align-items: center; min-width: 54px; padding: 6px 4px; border-radius: 10px; background: var(--cd-box); }
.gpp-cd-u.is-zero { display: none; }
.gpp-cd-u b { font-family: var(--f-h); font-size: clamp(24px, calc(var(--h-size) * .7), 52px); font-weight: var(--h-w); line-height: 1; color: var(--cd-c); font-variant-numeric: tabular-nums; }
.gpp-cd.gpp-cd-bubbly b { color: var(--h-c); -webkit-text-stroke: 2px var(--h-e); paint-order: stroke fill; text-shadow: 2px 3px 0 var(--h-e); }
.gpp-cd-u small { margin-top: 6px; font-family: var(--f-s); font-size: 12.5px; color: var(--cd-l); }

/* Coupon */
.gpp .gpp-coupon { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 100%; margin: 2px 0 20px; padding: 12px 16px; border: 2px dashed var(--cp-bd); border-radius: 6px; background: var(--cp-bg); cursor: pointer; font: inherit; color: var(--cp-c); box-shadow: none; text-transform: none; }
.gpp .gpp-coupon:hover { filter: brightness(.97); }
.gpp-coupon-code { font-family: var(--f-h); font-size: 26px; font-weight: 800; letter-spacing: .08em; line-height: 1.1; }
.gpp-coupon small { font-size: 11.5px; opacity: .7; }

/* Buttons */
.gpp .gpp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; margin: 0;
	border: 2px solid var(--btn-bd); border-radius: var(--btn-r); background: var(--btn-bg); color: var(--btn-c);
	font-family: var(--f-s); font-weight: 700; font-size: var(--btn-size); line-height: 1.1; text-decoration: none; cursor: pointer; text-transform: none; letter-spacing: 0;
	box-shadow: 0 12px 24px -12px var(--btn-solid); transition: transform .12s, filter .15s;
}
.gpp .gpp-btn:hover { filter: brightness(.95); transform: translateY(-1px); color: var(--btn-c); }
.gpp .gpp-btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.gpp .gpp-btn.is-full { width: 100%; }
.gpp .gpp-btn-outline { background: transparent; color: var(--btn-solid); border-color: var(--btn-solid); box-shadow: none; }
.gpp .gpp-btn-outline:hover { color: var(--btn-solid); }
.gpp.btn-upper .gpp-btn { text-transform: uppercase; letter-spacing: .05em; }
.gpp .gpp-form + .gpp-cta, .gpp .gpp-coupon + .gpp-cta { margin-top: 2px; }
.gpp .gpp-form + .gpp-cta { margin-top: 10px; }
.gpp .gpp-nothanks { display: block; margin: 14px auto 0; padding: 0; border: 0; background: none; color: var(--b-c); font: 500 13px var(--f-b); text-decoration: underline; cursor: pointer; opacity: .8; box-shadow: none; }
.gpp-align-left .gpp-nothanks { margin-left: 0; }

/* Form */
.gpp .gpp-form { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.gpp .gpp-fields { display: flex; flex-direction: column; gap: 10px; }
.gpp .gpp-form-inline .gpp-fields { flex-direction: row; flex-wrap: wrap; }
.gpp .gpp-form-inline .gpp-in { flex: 1 1 180px; }
.gpp .gpp-form-inline .gpp-btn { flex: 0 0 auto; width: auto; }
.gpp .gpp-in { position: relative; display: block; min-width: 0; margin: 0; }
.gpp .gpp-in input { width: 100%; height: 52px; margin: 0; padding: 0 16px; border: 1.5px solid var(--in-bd); border-radius: var(--in-r); background: var(--in-bg); color: var(--in-c); font: 400 15px var(--f-b); box-shadow: none; outline: none; transition: border-color .15s, box-shadow .15s; }
.gpp .gpp-in input::placeholder { color: var(--in-c); opacity: .5; }
.gpp .gpp-in input:focus { border-color: var(--btn-solid); box-shadow: 0 0 0 3px color-mix(in srgb, var(--btn-solid) 20%, transparent); }
.gpp-align-center .gpp-form-stacked .gpp-in input { text-align: center; }
.gpp .gpp-in.has-ic input { padding-left: 46px; text-align: left; }
.gpp .gpp-in-ic { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); fill: none; stroke: var(--in-c); opacity: .45; stroke-width: 1.6; pointer-events: none; }
.gpp .gpp-consent { display: flex; align-items: flex-start; gap: 8px; text-align: left; font-size: 12.5px; color: var(--b-c); cursor: pointer; }
.gpp .gpp-consent input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--btn-solid); flex: none; appearance: auto; -webkit-appearance: auto; }
.gpp .gpp-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.gpp .gpp-err { color: #dc2626; font-size: 13px; font-weight: 600; }
.gpp .gpp-err[hidden] { display: none; }
.gpp-placeholder { padding: 16px; border: 2px dashed rgba(127, 127, 127, .4); border-radius: 12px; font-size: 13px; opacity: .7; }
.gpp .gpp-builder-form { text-align: left; }
.gpp .gpp-builder-form .gcf { max-width: none; }
.gpp .gpp-builder-form .gcf .gcf-form { background: none; border: 0; box-shadow: none; padding: 0; }
.gpp .gpp-success { animation: gpp-in .4s ease; }

/* Slide-in */
.gpp-f-slidein { padding: 20px; align-items: flex-end; justify-content: flex-end; }
.gpp-f-slidein.gpp-pos-bottom-left { justify-content: flex-start; }
.gpp-f-slidein.gpp-pos-top-right { align-items: flex-start; }
.gpp-f-slidein.gpp-pos-top-left { align-items: flex-start; justify-content: flex-start; }
.gpp-f-slidein .gpp-box { max-height: calc(100% - 40px); }
.gpp-f-slidein:not(.is-open):not(.is-preview) .gpp-box { transform: translateY(30px) rotate(var(--tilt)); }

/* Bar */
.gpp-f-bar { align-items: flex-end; }
.gpp-f-bar.gpp-pos-top { align-items: flex-start; }
.gpp-f-bar .gpp-box { width: 100%; border-radius: 0; padding: 12px 60px 12px 24px; transform: none !important; max-height: none; overflow: visible; }
.gpp-f-bar.gpp-pos-top .gpp-box.has-shadow { box-shadow: 0 8px 24px rgba(15, 23, 42, .18); }
.gpp-f-bar.gpp-pos-bottom .gpp-box.has-shadow { box-shadow: 0 -8px 24px rgba(15, 23, 42, .18); }
.gpp-f-bar.gpp-pos-top:not(.is-open):not(.is-preview) .gpp-box { transform: translateY(-100%) !important; }
.gpp-f-bar.gpp-pos-bottom:not(.is-open):not(.is-preview) .gpp-box { transform: translateY(100%) !important; }
.gpp-f-bar .gpp-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 22px; text-align: left !important; }
.gpp-f-bar .gpp-copy { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 12px; }
.gpp-f-bar .gpp-eyebrow, .gpp-f-bar .gpp-sub, .gpp-f-bar .gpp-body, .gpp-f-bar .gpp-note { margin: 0; }
.gpp-f-bar .gpp-h { font-size: min(var(--h-size), 22px); margin: 0; }
.gpp-f-bar .gpp-eff-stack { display: block; margin: 0; }
.gpp-f-bar .gpp-eff-stack .gpp-stack-o { display: none; }
.gpp-f-bar .gpp-eff-stack .gpp-stack-f { margin: 0; }
.gpp-f-bar .gpp-sub { font-size: min(var(--s-size), 18px); }
.gpp-f-bar .gpp-body { font-size: 14px; }
.gpp-f-bar .gpp-cd { margin: 0; gap: 8px; }
.gpp-f-bar .gpp-cd-u { min-width: 40px; padding: 4px; }
.gpp-f-bar .gpp-cd-u b { font-size: 20px; }
.gpp-f-bar .gpp-cd-u small { font-size: 10px; margin-top: 2px; }
.gpp-f-bar .gpp-coupon { width: auto; margin: 0; padding: 6px 14px; flex-direction: row; gap: 10px; }
.gpp-f-bar .gpp-coupon-code { font-size: 17px; }
.gpp-f-bar .gpp-form { flex-direction: row; align-items: center; flex-wrap: wrap; }
.gpp-f-bar .gpp-fields { flex-direction: row; }
.gpp-f-bar .gpp-in input { height: 42px; min-width: 200px; }
.gpp-f-bar .gpp-btn { min-height: 42px; padding: 0 20px; width: auto !important; }
.gpp-f-bar .gpp-nothanks { margin: 0; }
.gpp-f-bar .gpp-close { top: 50%; right: 14px; transform: translateY(-50%); width: 30px; height: 30px; font-size: 20px; }
.gpp-f-bar .gpp-close:hover { transform: translateY(-50%) rotate(90deg); }

/* Fullscreen */
.gpp-f-fullscreen .gpp-box { width: 100%; height: 100%; max-height: none; border-radius: 0 !important; display: flex; align-items: center; justify-content: center; transform: none !important; }
.gpp-f-fullscreen .gpp-inner { width: 100%; max-width: var(--w); }
.gpp-f-fullscreen .gpp-close { top: 20px; right: 20px; }

/* Modal */
.gpp-f-modal, .gpp-f-fullscreen { align-items: center; justify-content: center; }
.gpp-f-modal { padding: 16px; }

/* Teaser / reminder tab */
.gpp-teaser { position: fixed; bottom: 20px; left: 20px; z-index: 999989; display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; margin: 0; border: 0; border-radius: 999px; background: var(--btn-bg); color: var(--btn-c); font: 700 14px var(--f-s); cursor: pointer; box-shadow: 0 14px 30px -8px rgba(15, 23, 42, .45); animation: gpp-in .45s cubic-bezier(.2, .9, .3, 1.2); text-transform: none; }
.gpp-teaser-bottom-right { left: auto; right: 20px; }
.gpp-teaser svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.gpp-teaser:hover { filter: brightness(.95); }

@media (max-width: 560px) {
	.gpp-f-modal { padding: 12px; }
	.gpp .gpp-box { padding: min(var(--pad), 28px); }
	.gpp-shape-circle { aspect-ratio: auto; border-radius: 28px !important; padding: 40px 24px !important; }
	.gpp-shape-circle .gpp-close { top: 12px; right: 12px; }
	.gpp .gpp-h { font-size: min(var(--h-size), 13vw); }
	.gpp .gpp-eff-stack { font-size: min(var(--h-size), 20vw); }
	.gpp .gpp-sub { font-size: min(var(--s-size), 8vw); }
	.gpp-cd { gap: 8px; }
	.gpp-cd-u { min-width: 0; flex: 1; }
	.gpp-cd-u b { font-size: clamp(22px, 9vw, 40px); }
	.gpp .gpp-form-inline .gpp-fields { flex-direction: column; }
	.gpp .gpp-form-inline .gpp-btn { width: 100%; }
	.gpp-f-slidein { padding: 10px; justify-content: center !important; }
	.gpp-f-bar .gpp-box { padding: 12px 48px 12px 14px; }
	.gpp-f-bar .gpp-inner { justify-content: flex-start; }
	.gpp-f-bar .gpp-in input { min-width: 0; }
	.gpp-box.has-side-img { grid-template-columns: 1fr; }
	.gpp-img-left img { min-height: 0; max-height: 180px; border-radius: var(--r) var(--r) 0 0; }
}
.gpp .gpp-form-stacked > .gpp-btn:not(.is-full) { align-self: center; padding: 0 48px; }
.gpp-align-left .gpp-form-stacked > .gpp-btn:not(.is-full) { align-self: flex-start; }
