/* MKB Voucher purchase form. One canonical source for each component; no appended overrides. */
.mkb-voucher {
    box-sizing: border-box;
    max-width: 760px;
    padding: clamp(24px,4vw,42px);
    border: 1px solid #e1e5e7;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 36px rgba(35,52,63,.065);
    color: #202124;
    font-family: inherit;
}
.mkb-voucher * {box-sizing: border-box}
.mkb-voucher__head {display:grid;gap:8px;min-width:0;margin-bottom:22px}
.mkb-voucher__eyebrow {display:block;margin:0;font-size: .77rem;letter-spacing: .09em;text-transform: uppercase;font-weight: 650;color: #64686e}
.mkb-voucher__title {font-size: clamp(1.6rem,3vw,2.25rem);line-height: 1.2;margin: 0;color: inherit}
.mkb-voucher p {color: #51565b;margin: 0 0 1.5rem}
.mkb-voucher .mkb-voucher__intro {margin: 0}
.mkb-voucher > .mkb-voucher__notice {margin-bottom:18px}
.mkb-voucher__notice {border-radius: 10px;padding: 12px 15px;background: #f4f5f6;color: #50545b;font-size: .88rem}
.mkb-voucher .mkb-voucher__notice--test {border: 1px solid #ead1a5;background: #fff9eb;color: #745015}

/* Three-step purchase workflow. Layout elements are independently styleable by Elementor. */
.mkb-voucher .mkbv-checkout {display: grid;gap: 18px}
.mkb-voucher .mkbv-checkout fieldset {border: 0;padding: 0;margin: 0}
.mkb-voucher .mkbv-checkout legend {font-weight: 650;margin-bottom: .6rem}
.mkb-voucher .mkbv-stephead {display:flex;align-items:flex-start;gap:13px;margin:0;padding:0;min-width:0}
.mkb-voucher .mkbv-stephead__copy {display:grid;gap:3px;min-width:0}
.mkb-voucher .mkbv-stephead__number {flex: none;display: inline-flex;align-items: center;justify-content: center;min-width: 34px;height: 34px;border: 1px solid #d7e0e6;border-radius: 50%;background: #f3f6f8;color: #29445e;font-size: 12px;font-weight: 700}
.mkb-voucher .mkbv-stephead h3 {font-size: 1.13rem;line-height: 1.4;font-weight: 650;margin:0;color: inherit}
.mkb-voucher .mkbv-stephead p {font-size: .88rem;line-height: 1.5;margin: 0;color: #596873}

/* Individual amount tiles and native form fields. */
.mkb-voucher__amounts {display:grid;grid-template-columns:repeat(auto-fit,minmax(115px,1fr));gap:.65rem;margin:0;min-width:0}
.mkb-voucher .mkb-voucher__amount {min-width:0;overflow-wrap:anywhere;display: flex;justify-content: center;align-items: center;gap: .4rem;min-height: 52px;padding: .85rem .4rem;border: 1px solid #d4d8dd;border-radius: 14px;background: #f8f9fa;color: inherit;text-align: center;font-weight: 550;cursor: pointer;transition: background-color .15s,border-color .15s,box-shadow .15s}
.mkb-voucher .mkb-voucher__amount:hover {border-color: #8096a5;background: #f1f5f7}
.mkb-voucher .mkb-voucher__amount:focus-within {outline: 3px solid #819faf;outline-offset: 2px}
.mkb-voucher .mkb-voucher__amount:is(:has(input:checked), .mkb-voucher__amount--selected) {border-color: #29445e;background: #eef3f6;box-shadow: inset 0 0 0 1px #29445e}
.mkb-voucher .mkbv-checkout input[type="radio"] {accent-color: #29445e}
.mkbv-custom-shell[hidden] {display: none!important}

.mkb-voucher .mkbv-checkout-grid {display: grid;grid-template-columns: repeat(2,minmax(0,1fr));gap: 16px 20px;align-items: start}
.mkb-voucher .mkbv-checkout-grid .mkbv-field--wide {grid-column: 1/-1}
.mkb-voucher .mkbv-checkout-grid .mkbv-field {min-width: 0;line-height: 1.45}
.mkb-voucher .mkbv-field {display:grid;gap:8px;min-width: 0;font-size: .94rem;font-weight: 500;line-height: 1.4}
.mkb-voucher .mkbv-field__label {display:block;margin:0}
.mkb-voucher .mkbv-field :is(input,textarea) {display: block;margin-top: 0;width: 100%;max-width: 100%;min-width: 0;min-height: 46px;padding: .7rem .85rem;border: 1px solid #becbd2;border-radius: 14px;background: #fff;box-shadow: none;font-family: inherit;font-size: 1rem;font-weight: 400;line-height: 1.45;color: inherit}
.mkb-voucher .mkbv-checkout-grid .mkbv-field textarea {min-height: 118px;resize: vertical;line-height: 1.5}
.mkb-voucher .mkbv-checkout :is(input:not([type="radio"]):not([type="checkbox"]),textarea):focus {border-color: #496a81;box-shadow: 0 0 0 3px rgba(73,106,129,.18);outline: 0}
.mkb-voucher .mkbv-checkout :focus-visible {outline: 2px solid #527e9d;outline-offset: 2px}

/* Summary, terms, payment: no !important on editable spacing. */
.mkb-voucher .mkbv-order-summary {display: flex;align-items: center;justify-content: space-between;gap: 16px;margin: 0;padding: 14px 18px;border: 1px solid #e1e9ec;border-radius: 14px;background: #f4f7f8;font-size: .95rem}
.mkb-voucher .mkbv-order-summary strong {color: #29445e;font-size: 1.2rem;font-weight: 680}
.mkb-voucher .mkbv-terms {display:flex;align-items:flex-start;gap:12px;margin:0;padding: 13px 15px;border: 1px solid #e3e8ec;border-radius: 13px;background: #f8fafb;font-size: .88rem;line-height: 1.4}
.mkb-voucher .mkbv-checkout input[type="checkbox"] {width: 18px;height: 18px;flex: none;margin: 2px 0;accent-color: #29445e}
.mkb-voucher .mkbv-payment {display:grid;gap:16px;margin:0;padding-top:9px;border-top: 1px solid #e4eaee}
.mkb-voucher .mkbv-payment .mkbv-stephead {margin:0}
.mkb-voucher .mkbv-payment>.mkbv-stephead+p {margin:0;font-size:.9rem}
.mkb-voucher .mkbv-payment h3 {font-size:1.12rem;font-weight:650;color:#29445e;margin:0}
.mkb-voucher .mkbv-payment>p:not(.mkbv-payment-status) {font-size:.9rem;margin:0}
.mkbv-paypal-buttons {min-height: 55px}
.mkb-voucher .mkbv-buy {display: block;width: 100%;min-height: 48px;padding: .85rem 1.35rem;border: 0;border-radius: 999px;background: #29445e;color: white;font-family: inherit;font-size: .95rem;font-weight: 650;line-height: 1.3;text-align: center;cursor: pointer}
.mkb-voucher .mkbv-buy:hover {background: #344f67;color: white}
.mkb-voucher .mkbv-buy--fallback {margin:0;border: 1px solid #a4b3bd;background: transparent;color: #29445e}
.mkb-voucher .mkbv-buy--fallback:hover {background: #eef3f6;color: #29445e}
.mkb-voucher .mkbv-buy[hidden] {display: none!important}
.mkb-voucher .mkbv-payment-status {margin:0;padding: 12px 15px;border-radius: 12px;background: #f0f5f7;color: #34434d;font-size: .92rem}
.mkb-voucher .mkbv-payment-status[data-state="error"] {background: #fff1ed;color: #8c3425}
.mkb-voucher .mkbv-payment-status[hidden] {display: none!important}

/* When labels or numbered steps are intentionally omitted, remaining content keeps its grid rhythm. */
.mkb-voucher .mkbv-stephead > div {min-width:0}
.mkb-voucher .mkbv-checkout-grid .mkbv-field input,
.mkb-voucher .mkbv-checkout-grid .mkbv-field textarea {box-sizing:border-box;max-inline-size:100%}
/* Safety/accessibility constraints, not editable visual presentation. */
.mkb-voucher .mkbv-visually-hidden {position: absolute!important;width: 1px;height: 1px;padding: 0;margin: -1px;overflow: hidden;clip: rect(0,0,0,0);white-space: nowrap;border: 0}
.mkb-voucher .mkbv-honeypot {position: absolute!important;width: 1px!important;height: 1px!important;overflow: hidden!important;clip-path: inset(50%)!important;white-space: nowrap!important}
@media(max-width: 650px) {
    .mkb-voucher .mkbv-checkout-grid {grid-template-columns: 1fr;gap: 14px}
}
@media(max-width: 460px) {
    .mkb-voucher__amounts {grid-template-columns: repeat(2,minmax(0,1fr))}
}
@media(prefers-reduced-motion: reduce) {
    .mkb-voucher .mkb-voucher__amount {transition: none}
}
/* Elementor's native Advanced tab owns the OUTER widget frame only. Shortcodes keep their frame. */
.elementor-widget-mkb-voucher-buy .mkb-voucher {max-width: none;margin: 0;padding: 0;border: 0;border-radius: 0;background: transparent;box-shadow: none}
