/* KubePromo Popups: front end. Colours come from each box (CSS variables). */
.kppu, .kppu *, .kppu-teaser { box-sizing: border-box; }
.kppu { --kppu-r: 0; --kppu-r-in: 0; font-family: inherit; color: var(--kppu-text); line-height: 1.5; font-size: 16px; -webkit-font-smoothing: antialiased; }

/* Layers */
.kppu--modal, .kppu--fullpage { position: fixed; inset: 0; z-index: var(--kppu-z); display: flex; align-items: center; justify-content: center; padding: 16px; }
.kppu-overlay { position: absolute; inset: 0; background: rgba(10, 12, 16, var(--kppu-overlay)); -webkit-backdrop-filter: blur(var(--kppu-blur, 0px)); backdrop-filter: blur(var(--kppu-blur, 0px)); opacity: 0; transition: opacity .25s ease; }
.kppu.is-open .kppu-overlay { opacity: 1; }

.kppu-box { position: relative; background: var(--kppu-bg); color: var(--kppu-text); border-radius: var(--kppu-r); box-shadow: 0 24px 60px rgba(0, 0, 0, .28), 0 2px 6px rgba(0, 0, 0, .08); overflow: hidden; width: 100%; max-height: calc(100vh - 32px); overflow-y: auto; opacity: 0; transition: opacity .25s ease, transform .3s cubic-bezier(.2, .8, .2, 1); }
.kppu.is-open .kppu-box { opacity: 1; transform: none; }
.kppu-box:focus { outline: none; }
.kppu--anim-zoom .kppu-box { transform: scale(.94); }
.kppu--anim-slide .kppu-box { transform: translateY(24px); }
.kppu--anim-none .kppu-box, .kppu--anim-none .kppu-overlay { transition: none; }

/* Widths */
.kppu--modal.kppu--w-sm .kppu-box { max-width: 380px; }
.kppu--modal.kppu--w-md .kppu-box { max-width: 480px; }
.kppu--modal.kppu--w-lg .kppu-box { max-width: 720px; }

/* Picture */
.kppu-media { line-height: 0; background: rgba(0, 0, 0, .04); }
.kppu-media img { width: 100%; height: auto; display: block; max-height: 190px; object-fit: cover; }
.kppu--img-left .kppu-box { display: flex; }
.kppu--img-left .kppu-media { flex: 0 0 42%; }
.kppu--img-left .kppu-media img { height: 100%; max-height: none; }
.kppu--img-left .kppu-body { flex: 1; min-width: 0; }

/* Body */
.kppu-body { padding: 28px 28px 24px; text-align: center; }
.kppu--img-left .kppu-body { text-align: left; display: flex; flex-direction: column; justify-content: center; }
.kppu-eyebrow { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--kppu-accent); }
.kppu-heading { margin: 0 0 8px; font-size: 24px; line-height: 1.25; font-weight: 800; color: var(--kppu-text); letter-spacing: -.01em; }
.kppu-text { margin: 0 0 18px; font-size: 15px; opacity: .85; }
.kppu-text p { margin: 0 0 8px; }
.kppu-text a { color: var(--kppu-accent); }

/* Close */
.kppu-close { position: absolute; top: 8px; right: 8px; z-index: 2; width: 34px; height: 34px; border: 0; border-radius: 0; background: rgba(255, 255, 255, .9); color: #1f2328; font-size: 24px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; box-shadow: 0 1px 3px rgba(0, 0, 0, .15); }
.kppu-close:hover { background: #fff; }
.kppu-close:focus-visible, .kppu-btn:focus-visible, .kppu-nothanks:focus-visible, .kppu-teaser:focus-visible { outline: 3px solid var(--kppu-accent); outline-offset: 2px; }

/* Form and buttons */
.kppu-action { margin: 0; }
.kppu-fields { display: flex; flex-direction: column; gap: 10px; }
.kppu-input { width: 100%; min-height: 46px; padding: 10px 14px; font: inherit; font-size: 15px; color: #1f2328; background: #fff; border: 1px solid #c9ced6; border-radius: var(--kppu-r-in); box-shadow: none; margin: 0; }
.kppu-input:focus { outline: 0; border-color: var(--kppu-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--kppu-accent) 25%, transparent); }
.kppu-input.is-bad { border-color: #d63638 !important; box-shadow: 0 0 0 3px rgba(214, 54, 56, .18) !important; }
.kppu-btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; padding: 10px 20px; font: inherit; font-size: 16px; font-weight: 700; color: var(--kppu-btn); background: var(--kppu-accent); border: 0; border-radius: var(--kppu-r-in); cursor: pointer; text-decoration: none !important; transition: filter .15s, transform .1s; margin: 0; }
.kppu-btn:hover { filter: brightness(.94); color: var(--kppu-btn); }
.kppu-btn:active { transform: translateY(1px); }
.kppu-btn[disabled] { opacity: .65; cursor: wait; }
.kppu-form.is-busy .kppu-btn::after { content: ""; width: 14px; height: 14px; margin-left: 8px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: kppu-spin .7s linear infinite; }
@keyframes kppu-spin { to { transform: rotate(360deg); } }
.kppu-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.kppu-consent { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; font-size: 13px; text-align: left; opacity: .85; cursor: pointer; }
.kppu-consent input { margin: 3px 0 0; flex: 0 0 auto; }
.kppu-consent a { color: inherit; text-decoration: underline; }
.kppu-error { margin: 8px 0 0; font-size: 13.5px; color: #d63638; min-height: 0; }
.kppu-error:empty { display: none; }
.kppu-nothanks { display: inline-block; margin: 12px 0 0; padding: 4px 6px; background: none; border: 0; color: inherit; opacity: .6; font: inherit; font-size: 13.5px; text-decoration: underline; cursor: pointer; }
.kppu-nothanks:hover { opacity: .9; }

/* Countdown */
.kppu-timer { margin: 0 0 18px; }
.kppu-timer-label { display: block; font-size: 13px; font-weight: 600; margin: 0 0 6px; opacity: .8; }
.kppu-timer-cells { display: inline-flex; gap: 6px; }
.kppu-timer-cell { min-width: 52px; padding: 6px 4px; background: color-mix(in srgb, var(--kppu-accent) 12%, transparent); border-radius: var(--kppu-r-in); text-align: center; line-height: 1.1; }
.kppu-timer-cell b { display: block; font-size: 20px; font-variant-numeric: tabular-nums; }
.kppu-timer-cell small { font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; opacity: .7; }

/* Done step */
.kppu-step[hidden], .kppu-form[hidden], .kppu-step1[hidden], .kppu-done[hidden] { display: none !important; }

/* Slide-in */
.kppu--slidein { position: fixed; bottom: 20px; z-index: var(--kppu-z); width: 360px; max-width: calc(100vw - 24px); }
.kppu--slidein.kppu--bottom-right { right: 20px; }
.kppu--slidein.kppu--bottom-left { left: 20px; }
.kppu--slidein .kppu-box { transform: translateY(30px); max-height: calc(100vh - 40px); }
.kppu--slidein.kppu--anim-zoom .kppu-box { transform: translateY(30px) scale(.96); }
.kppu--slidein .kppu-body { padding: 22px 20px 18px; }
.kppu--slidein .kppu-heading { font-size: 19px; }
.kppu--slidein .kppu-text { font-size: 14px; margin-bottom: 14px; }
.kppu--slidein .kppu-media img { max-height: 160px; }
.kppu--slidein.kppu--img-left .kppu-box { display: block; }

/* Sticky bar */
.kppu--bar { position: fixed; left: 0; right: 0; z-index: var(--kppu-z); }
.kppu--bar-top { top: 0; }
.kppu--bar-bottom { bottom: 0; }
body.admin-bar .kppu--bar-top { top: 32px; }
.kppu--bar .kppu-box { border-radius: 0; max-height: none; box-shadow: 0 0 18px rgba(0, 0, 0, .18); }
.kppu--bar-top .kppu-box { transform: translateY(-100%); }
.kppu--bar-bottom .kppu-box { transform: translateY(100%); }
.kppu--bar .kppu-body { padding: 10px 56px 10px 20px; text-align: left; }
.kppu--bar .kppu-step-main { display: flex; align-items: center; justify-content: center; gap: 8px 20px; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; }
.kppu--bar .kppu-action { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; }
.kppu--bar .kppu-words { display: flex; align-items: center; gap: 4px 14px; flex-wrap: wrap; }
.kppu--bar .kppu-eyebrow { margin: 0; }
.kppu--bar .kppu-heading { font-size: 16px; margin: 0; }
.kppu--bar .kppu-text { font-size: 14px; margin: 0; }
.kppu--bar .kppu-timer { margin: 0; display: flex; align-items: center; gap: 8px; }
.kppu--bar .kppu-timer-label { margin: 0; }
.kppu--bar .kppu-timer-cell { min-width: 40px; padding: 3px; }
.kppu--bar .kppu-timer-cell b { font-size: 15px; }
.kppu--bar .kppu-fields { flex-direction: row; }
.kppu--bar .kppu-input { min-height: 40px; width: 220px; padding: 6px 12px; }
.kppu--bar .kppu-btn { width: auto; min-height: 40px; padding: 6px 18px; font-size: 15px; white-space: nowrap; }
.kppu--bar .kppu-nothanks { margin: 0; }
.kppu--bar .kppu-close { top: 50%; margin-top: -17px; right: 12px; background: transparent; box-shadow: none; color: inherit; }
.kppu--bar .kppu-consent { margin-top: 6px; }

/* Full page */
.kppu--fullpage { padding: 0; }
.kppu--fullpage .kppu-overlay { background: var(--kppu-bg); }
.kppu--fullpage .kppu-box { max-width: 640px; max-height: 100vh; box-shadow: none; background: transparent; }
.kppu--fullpage .kppu-close { position: fixed; top: 16px; right: 16px; }
.kppu--fullpage .kppu-heading { font-size: 34px; }
.kppu--fullpage .kppu-text { font-size: 17px; }

/* Inline */
.kppu-slot:empty { min-height: 220px; } /* Keeps the space, so the page does not jump when the box loads. */
.kppu--inline { margin: 28px 0; }
.kppu--inline .kppu-box { box-shadow: none; border: 1px solid color-mix(in srgb, var(--kppu-text) 14%, transparent); max-height: none; }
.kppu--inline.kppu--w-sm .kppu-box { max-width: 420px; margin: 0 auto; }
.kppu--inline.kppu--w-md .kppu-box { max-width: 640px; margin: 0 auto; }
.kppu--inline .kppu-form.has-name .kppu-fields, .kppu--inline .kppu-fields { flex-direction: row; flex-wrap: wrap; }
.kppu--inline .kppu-fields .kppu-input { flex: 1 1 200px; width: auto; }
.kppu--inline .kppu-fields .kppu-btn { flex: 0 0 auto; width: auto; }

/* Big modal: form in one row */
.kppu--modal.kppu--w-lg:not(.kppu--img-left) .kppu-fields { flex-direction: row; flex-wrap: wrap; }
.kppu--modal.kppu--w-lg:not(.kppu--img-left) .kppu-fields .kppu-input { flex: 1 1 180px; width: auto; }
.kppu--modal.kppu--w-lg:not(.kppu--img-left) .kppu-fields .kppu-btn { flex: 0 0 auto; width: auto; }

/* Teaser tab */
.kppu-teaser { position: fixed; bottom: 20px; z-index: var(--kppu-z); padding: 10px 16px; border: 0; border-radius: 0; background: var(--kppu-accent); color: var(--kppu-btn); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; box-shadow: 0 6px 20px rgba(0, 0, 0, .22); animation: kppu-pop .3s ease; }
.kppu-teaser--right { right: 20px; }
.kppu-teaser--left { left: 20px; }
@keyframes kppu-pop { from { transform: translateY(16px); opacity: 0; } }

/* Big offer */
.kppu-offer { margin: 0 0 8px; font-size: 42px; line-height: 1; font-weight: 900; letter-spacing: -.02em; color: var(--kppu-accent); text-transform: uppercase; }
.kppu--slidein .kppu-offer { font-size: 30px; }
.kppu--bar .kppu-offer { font-size: 20px; margin: 0; }

/* Coupon ticket */
.kppu-coupon { margin: 0 0 18px; }
.kppu-coupon-row { display: flex; align-items: stretch; border: 2px dashed var(--kppu-accent); background: color-mix(in srgb, var(--kppu-accent) 8%, transparent); }
.kppu-code { flex: 1; min-width: 0; padding: 11px 14px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 20px; font-weight: 800; letter-spacing: .1em; text-align: center; color: inherit; overflow-wrap: anywhere; user-select: all; }
.kppu-copy { flex: 0 0 auto; margin: 0; padding: 0 18px; border: 0; border-left: 2px dashed var(--kppu-accent); border-radius: 0; background: transparent; color: var(--kppu-accent); font: inherit; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; cursor: pointer; }
.kppu-copy:hover, .kppu-copy.is-copied { background: var(--kppu-accent); color: var(--kppu-btn); }
.kppu-copy:focus-visible { outline: 3px solid var(--kppu-accent); outline-offset: 2px; }
.kppu-coupon-note { margin: 6px 0 0; font-size: 12.5px; opacity: .75; }
.kppu--bar .kppu-coupon { margin: 0; }
.kppu--bar .kppu-code { font-size: 15px; padding: 5px 10px; }
.kppu--bar .kppu-copy { padding: 0 12px; font-size: 12px; }
.kppu--bar .kppu-coupon-note { display: none; }

/* Style: Split */
.kppu--style-split.kppu--img-left .kppu-media { flex: 0 0 45%; }
.kppu--style-split .kppu-body { text-align: left; }
.kppu--style-split .kppu-offer { font-size: 32px; }
.kppu--style-split .kppu-heading { font-size: 21px; }
.kppu--style-split .kppu-media img { max-height: none; }

/* Style: Bold frame */
.kppu--style-framed .kppu-box { border: 5px solid var(--kppu-accent); box-shadow: 10px 10px 0 rgba(15, 23, 42, .9); }
.kppu--style-framed.kppu--slidein .kppu-box { box-shadow: 6px 6px 0 rgba(15, 23, 42, .9); }
.kppu--style-framed.kppu--bar .kppu-box { border-width: 0 0 4px; box-shadow: none; }
.kppu--style-framed.kppu--bar-bottom .kppu-box { border-width: 4px 0 0; }

/* Style: Dark */
.kppu--style-dark .kppu-box { border-top: 4px solid var(--kppu-accent); }
.kppu--style-dark.kppu--bar-bottom .kppu-box { border-top: 0; border-bottom: 0; }
.kppu--style-dark .kppu-close { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: none; }
.kppu--style-dark.kppu--bar .kppu-close { background: transparent; }

/* Style: Image background */
.kppu--has-bg .kppu-box { background-size: cover; background-position: center; color: #fff; }
.kppu--has-bg .kppu-box::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, .78)); pointer-events: none; }
.kppu--has-bg .kppu-body { position: relative; z-index: 1; padding: 56px 32px 30px; }
.kppu--has-bg .kppu-heading, .kppu--has-bg .kppu-text, .kppu--has-bg .kppu-nothanks, .kppu--has-bg .kppu-consent, .kppu--has-bg .kppu-coupon-note, .kppu--has-bg .kppu-code { color: #fff; }
.kppu--has-bg .kppu-text { opacity: .92; }
.kppu--has-bg.kppu--modal .kppu-body { min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; }

/* Style: Minimal */
.kppu--style-minimal .kppu-box { border-top: 8px solid var(--kppu-accent); }
.kppu--style-minimal.kppu--bar-bottom .kppu-box { border-top-width: 4px; }
.kppu--style-minimal.kppu--bar-top .kppu-box { border-top: 0; border-bottom: 4px solid var(--kppu-accent); }
.kppu--style-minimal:not(.kppu--bar) .kppu-body { text-align: left; padding: 30px 32px 26px; }
.kppu--style-minimal .kppu-heading { font-size: 26px; }

/* Style: Colour block */
.kppu--style-block .kppu-box { background: var(--kppu-accent); color: var(--kppu-btn); }
.kppu--style-block .kppu-heading, .kppu--style-block .kppu-text, .kppu--style-block .kppu-eyebrow, .kppu--style-block .kppu-offer, .kppu--style-block .kppu-nothanks, .kppu--style-block .kppu-consent, .kppu--style-block .kppu-code, .kppu--style-block .kppu-coupon-note, .kppu--style-block .kppu-timer { color: var(--kppu-btn); }
.kppu--style-block .kppu-offer { font-size: 48px; }
.kppu--style-block .kppu-btn { background: #111827; color: #fff; }
.kppu--style-block .kppu-coupon-row { border-color: var(--kppu-btn); background: rgba(255, 255, 255, .14); }
.kppu--style-block .kppu-copy { border-left-color: var(--kppu-btn); color: var(--kppu-btn); }
.kppu--style-block .kppu-copy:hover, .kppu--style-block .kppu-copy.is-copied { background: var(--kppu-btn); color: var(--kppu-accent); }
.kppu--style-block .kppu-timer-cell { background: rgba(0, 0, 0, .18); }
.kppu--style-block .kppu-input:focus { border-color: #111827; box-shadow: 0 0 0 3px rgba(17, 24, 39, .25); }

/* Style: Offer panel */
.kppu--has-side .kppu-box { display: flex; }
.kppu-side { flex: 0 0 40%; display: flex; flex-direction: column; justify-content: center; padding: 32px 24px; background: var(--kppu-accent); color: var(--kppu-btn); text-align: center; }
.kppu-side-eyebrow { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--kppu-btn); opacity: .9; }
.kppu-side-offer { margin: 0; font-size: 46px; line-height: .95; font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; color: var(--kppu-btn); overflow-wrap: anywhere; }
.kppu--has-side .kppu-body { flex: 1; min-width: 0; text-align: left; display: flex; flex-direction: column; justify-content: center; }
.kppu--modal.kppu--has-side.kppu--w-sm .kppu-box { max-width: 520px; }
.kppu--modal.kppu--has-side.kppu--w-md .kppu-box { max-width: 620px; }
.kppu--slidein.kppu--has-side .kppu-box, .kppu--inline.kppu--has-side.kppu--w-sm .kppu-box { display: block; }
.kppu--slidein .kppu-side { padding: 18px; }
.kppu--slidein .kppu-side-offer { font-size: 32px; }

/* Style: Coupon ticket */
.kppu--style-ticket .kppu-box { background: color-mix(in srgb, var(--kppu-accent) 6%, var(--kppu-bg)); outline: 2px dashed var(--kppu-accent); outline-offset: -10px; }
.kppu--style-ticket:not(.kppu--bar) .kppu-body { padding: 34px 34px 28px; }
.kppu--style-ticket .kppu-coupon-row { background: var(--kppu-bg); border-style: solid; }
.kppu--style-ticket .kppu-copy { border-left-style: solid; }
.kppu--style-ticket.kppu--bar .kppu-box { outline-offset: -5px; }

/* Style: Editorial */
.kppu--style-editorial .kppu-box { border: 2px solid #111; }
.kppu--style-editorial .kppu-heading, .kppu--style-editorial .kppu-offer { font-family: Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: 0; text-transform: none; }
.kppu--style-editorial .kppu-heading { font-size: 28px; }
.kppu--style-editorial .kppu-offer { color: #111; font-style: italic; }
.kppu--style-editorial .kppu-eyebrow { color: #111; border-bottom: 1px solid #111; display: inline-block; padding-bottom: 3px; }
.kppu--style-editorial .kppu-btn { background: #111; color: #fff; text-transform: uppercase; letter-spacing: .08em; font-size: 14px; }
.kppu--style-editorial .kppu-input { border-color: #111; }
.kppu--style-editorial .kppu-close { background: transparent; box-shadow: none; }

/* Style: Gradient */
.kppu--style-gradient .kppu-box { background: linear-gradient(135deg, var(--kppu-accent) 0%, #0f172a 85%); color: #fff; }
.kppu--style-gradient .kppu-heading, .kppu--style-gradient .kppu-text, .kppu--style-gradient .kppu-eyebrow, .kppu--style-gradient .kppu-offer, .kppu--style-gradient .kppu-nothanks, .kppu--style-gradient .kppu-consent, .kppu--style-gradient .kppu-code, .kppu--style-gradient .kppu-coupon-note, .kppu--style-gradient .kppu-timer { color: #fff; }
.kppu--style-gradient .kppu-btn { background: #fff; color: #0f172a; }
.kppu--style-gradient .kppu-coupon-row { border-color: #fff; background: rgba(255, 255, 255, .12); }
.kppu--style-gradient .kppu-copy { border-left-color: #fff; color: #fff; }
.kppu--style-gradient .kppu-copy:hover, .kppu--style-gradient .kppu-copy.is-copied { background: #fff; color: #0f172a; }
.kppu--style-gradient .kppu-timer-cell { background: rgba(255, 255, 255, .14); }
.kppu--style-gradient .kppu-close { background: rgba(255, 255, 255, .15); color: #fff; box-shadow: none; }

/* Done message (inside the same box) */
.kppu-done { display: flex; align-items: center; gap: 12px; padding: 14px 16px; text-align: left; border: 2px solid var(--kppu-accent); background: color-mix(in srgb, var(--kppu-accent) 10%, var(--kppu-bg)); color: var(--kppu-text); animation: kppu-pop .3s ease; }
.kppu-done-icon { flex: 0 0 34px; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; background: var(--kppu-accent); color: var(--kppu-btn); font-size: 18px; font-weight: 900; }
.kppu-done-words { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kppu-done-title { font-size: 16px; font-weight: 800; }
.kppu-done-text { font-size: 14px; opacity: .85; }
.kppu-done-text a { color: inherit; }
.kppu--bar .kppu-done { padding: 6px 12px; border-width: 1px; }
.kppu--bar .kppu-done-icon { flex-basis: 24px; width: 24px; height: 24px; font-size: 13px; }
.kppu--bar .kppu-done-title { font-size: 14px; }
.kppu--bar .kppu-done-text { font-size: 13px; }
.kppu--style-block .kppu-done { border-color: var(--kppu-btn); background: rgba(255, 255, 255, .14); color: var(--kppu-btn); }
.kppu--style-block .kppu-done-icon { background: #111827; color: #fff; }
.kppu--style-gradient .kppu-done, .kppu--has-bg .kppu-done { border-color: #fff; background: rgba(255, 255, 255, .14); color: #fff; }
.kppu--style-gradient .kppu-done-icon, .kppu--has-bg .kppu-done-icon { background: #fff; color: #0f172a; }
.kppu--style-editorial .kppu-done { border-color: #111; background: #fff; }
.kppu--style-editorial .kppu-done-icon { background: #111; color: #fff; }

/* Sharp corners always. Themes often round buttons and inputs, so this wins over them.
   Only the small loading spinner stays round. */
.kppu, .kppu *, .kppu-teaser { border-radius: 0 !important; }
.kppu-form.is-busy .kppu-btn::after { border-radius: 50% !important; }

/* Phones */
@media (max-width: 767px) {
	.kppu-body { padding: 24px 18px 18px; }
	.kppu-heading { font-size: 21px; }
	.kppu-offer { font-size: 34px; }
	.kppu-code { font-size: 17px; }
	.kppu--style-split .kppu-body { text-align: center; }
	.kppu--style-framed .kppu-box { box-shadow: 6px 6px 0 rgba(15, 23, 42, .9); }
	.kppu--bar .kppu-coupon { width: 100%; }
	.kppu--has-side .kppu-box { display: block; }
	.kppu-side { padding: 20px 18px; }
	.kppu-side-offer { font-size: 34px; }
	.kppu--has-side .kppu-body { text-align: center; }
	.kppu--style-minimal:not(.kppu--bar) .kppu-body { padding: 24px 18px 18px; }
	.kppu--img-left .kppu-box { display: block; }
	.kppu--img-left .kppu-body { text-align: center; }
	.kppu--img-left .kppu-media img { max-height: 200px; }
	.kppu--modal.kppu--w-lg .kppu-fields, .kppu--inline .kppu-fields { flex-direction: column; }
	.kppu--modal.kppu--w-lg .kppu-fields .kppu-btn, .kppu--inline .kppu-fields .kppu-btn, .kppu--modal.kppu--w-lg .kppu-fields .kppu-input, .kppu--inline .kppu-fields .kppu-input { width: 100%; flex: 0 0 auto; }
	.kppu--slidein { left: 10px !important; right: 10px !important; bottom: 10px; width: auto; max-width: none; }
	.kppu--bar .kppu-body { padding: 10px 44px 10px 14px; }
	.kppu--bar .kppu-step-main { justify-content: flex-start; }
	.kppu--bar .kppu-fields { width: 100%; }
	.kppu--bar .kppu-input { flex: 1; width: auto; min-width: 0; }
	.kppu--fullpage .kppu-heading { font-size: 26px; }
	body.admin-bar .kppu--bar-top { top: 46px; }
	.kppu-teaser { bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
	.kppu-box, .kppu-overlay, .kppu-teaser { transition: none !important; animation: none !important; }
}

/* Popup helper (only logged-in admins and editors see it) */
.kppu-helper { position: fixed; left: 12px; bottom: 12px; z-index: 2147483000; width: 360px; max-width: calc(100vw - 24px); max-height: 70vh; overflow: auto; background: #111827; color: #e5e7eb; font: 13px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; box-shadow: 0 8px 30px rgba(0, 0, 0, .35); border-radius: 0 !important; text-align: left; letter-spacing: normal; text-transform: none; }
.kppu-helper * { box-sizing: border-box; border-radius: 0 !important; font: inherit; letter-spacing: normal; text-transform: none; }
.kppu-helper .kppu-helper-head { display: block; width: 100%; margin: 0; padding: 9px 12px; background: #000 !important; color: #fff !important; border: 0 !important; text-align: left; font-weight: 700; cursor: pointer; box-shadow: none !important; }
.kppu-helper-body[hidden] { display: none !important; }
.kppu-h-row { padding: 9px 12px; border-top: 1px solid #1f2937; border-left: 4px solid #6b7280; }
.kppu-h-row.is-ok { border-left-color: #22c55e; }
.kppu-h-row.is-wait { border-left-color: #f59e0b; }
.kppu-h-row.is-no { border-left-color: #ef4444; }
.kppu-h-row.is-off { border-left-color: #374151; opacity: .75; }
.kppu-h-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 700; color: #fff; }
.kppu-h-title a { color: #fff !important; text-decoration: underline !important; }
.kppu-helper button[data-h-show], .kppu-helper button[data-h-reset] { flex: 0 0 auto; margin: 0; padding: 4px 10px; background: #f59e0b !important; color: #111827 !important; border: 0 !important; font-weight: 700; font-size: 12px; cursor: pointer; box-shadow: none !important; line-height: 1.4; min-height: 0; width: auto; }
.kppu-h-status { margin-top: 3px; color: #d1d5db; }
.kppu-h-foot { padding: 10px 12px; border-top: 1px solid #1f2937; display: flex; flex-direction: column; gap: 6px; }
.kppu-h-foot span { color: #9ca3af; font-size: 12px; }
.kppu-helper button[data-h-reset] { align-self: flex-start; background: #fff !important; }
@media print { .kppu-helper { display: none !important; } }

/* Theme guard: themes style p, headings and focus rings. Keep the popup's own look. */
.kppu .kppu-eyebrow, .kppu .kppu-offer, .kppu .kppu-heading, .kppu .kppu-side-eyebrow, .kppu .kppu-side-offer, .kppu .kppu-coupon-note, .kppu .kppu-text { display: block; }
.kppu .kppu-eyebrow { font-weight: 700; }
.kppu .kppu-heading { font-weight: 800; }
.kppu .kppu-btn { font-weight: 700; }
.kppu .kppu-text p { color: inherit !important; font-weight: inherit !important; font-size: inherit !important; }
.kppu .kppu-box:focus, .kppu .kppu-box:focus-visible { outline: none !important; }
