/**
 * Finaguru PL pay form (finaguru_pay_pl / pay_pl.html)
 * Scoped under .plPayPage / #plPayFixedCta so global style.css
 * does not need !important fights.
 */

/* ------------------------------------------------------------------ */
/* Kill horizontal overflow on narrow DevTools / small phones           */
/* reCAPTCHA (~304px) + wrapper padding otherwise blows past ~290px     */
/* ------------------------------------------------------------------ */

html.plPayHtml,
body.plPayBody {
    overflow-x: hidden;
    max-width: 100%;
}

body.plPayBody {
    width: 100%;
    position: relative;
}

body.plPayBody > header,
body.plPayBody > header .wrapper {
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* ------------------------------------------------------------------ */
/* Mobile CTA: hard fixed to viewport bottom (no JS top tracking)       */
/* When body.plPayCtaDocked — hide fixed, show in-form button instead   */
/* ------------------------------------------------------------------ */

#plPayFixedCta {
    position: fixed;
    left: 28px;
    right: 28px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    top: auto;
    width: auto;
    z-index: 1100;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    pointer-events: auto;
}

#plPayFixedBtn,
#plPayFixedCta .plPayCtaBtn {
    display: block;
    width: 100%;
    height: 56px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 50px;
    background: #ababab;
    color: #fff;
    font-family: 'Gilroy-Regular', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    box-sizing: border-box;
}

#plPayFixedBtn:not(:disabled),
#plPayFixedCta .plPayCtaBtn:not(:disabled) {
    background: #17B655;
}

#plPayFixedBtn:not(:disabled):hover,
#plPayFixedCta .plPayCtaBtn:not(:disabled):hover {
    background: #02963c;
}

/* At form end: hide fixed clone, show real in-form button */
body.plPayCtaDocked #plPayFixedCta,
/* Scrolled past the form: hide fixed so it doesn't cover footer/content */
body.plPayCtaPast #plPayFixedCta {
    display: none;
}

@media (max-width: 767px) {
    body.plPayCtaDocked .plPayPage .plPayStep:not(.hidden) .plPayActions {
        display: block;
    }

    body.plPayCtaDocked .plPayPage .plPayStep:not(.hidden) .plPayActionsSpacer {
        display: none;
        height: 0;
    }

    body.plPayCtaDocked .plPayPage .plPayStep:not(.hidden) .plPayActionsSlot {
        min-height: 0;
    }
}

@media (max-width: 576px) {
    #plPayFixedCta {
        left: 22px;
        right: 22px;
    }
}

@media (min-width: 768px) {
    #plPayFixedCta {
        display: none;
    }
}

/* ------------------------------------------------------------------ */
/* Page shell overrides (beat global .payMain / .payMainContent)        */
/* ------------------------------------------------------------------ */

.plPayPage.payMain {
    padding: 70px 0 110px 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.plPayPage .wrapper {
    width: 100%;
    max-width: 630px;
    box-sizing: border-box;
}

.plPayPage .payMainContent {
    background: #fff;
    box-shadow: 4px 7px 20px rgba(80, 80, 80, 0.25);
    border-radius: 20px;
    padding: 30px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.plPayPage .payFormWrapper {
    margin-top: 16px;
    max-width: 100%;
}

.plPayPage .plPayStep form,
.plPayPage .plPayStep .payFormWrapper,
.plPayPage .plPayStep .payForm,
.plPayPage .plPayStep form.payFormWrapper form,
.plPayPage .payMainContent .plPayStep form {
    max-height: none;
    overflow: visible;
    max-width: 100%;
}

.plPayPage .recaptcha {
    margin-bottom: 12px;
    max-width: 100%;
    overflow: hidden;
}

.plPayPage .recaptcha .g-recaptcha,
.plPayPage .recaptcha .g-recaptcha > div {
    max-width: 100%;
}

/* ------------------------------------------------------------------ */
/* Step header + progress bar                                           */
/* ------------------------------------------------------------------ */

.plPayPage .plPayStepHead {
    margin-bottom: 16px;
}

.plPayPage .plPayStepTop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.plPayPage .plPayStepTitle {
    margin: 0;
    font-family: 'Nekst-Bold', sans-serif;
    font-size: 16px;
    line-height: 20px;
    color: #111B25;
    font-weight: 700;
}

.plPayPage .plPayStepCount {
    flex: 0 0 auto;
    font-family: 'Nekst-Bold', sans-serif;
    font-size: 16px;
    line-height: 20px;
    color: #111B25;
    font-weight: 700;
}

.plPayPage .plPayBar {
    height: 10px;
    border-radius: 74px;
    background: #c6bafb;
    overflow: hidden;
}

.plPayPage .plPayBar > i {
    display: block;
    height: 100%;
    background: #03B047;
    border-radius: 74px;
    transition: width 0.35s ease;
}

/* ------------------------------------------------------------------ */
/* zł / dni summary bar                                                 */
/* ------------------------------------------------------------------ */

.plPayPage .plPayStep .payMainContentTop {
    border: 1px solid #111B25;
    border-radius: 10px;
    overflow: hidden;
    height: 51px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    text-align: center;
}

.plPayPage .plPayStep .payMainContentTop p {
    font-family: 'Nekst-Bold', sans-serif;
    font-size: 14px;
    line-height: 19px;
    color: #111B25;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 50%;
    width: 50%;
    max-width: 50%;
    height: 51px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-weight: 600;
    border: none;
    border-radius: 0;
    background: transparent;
}

.plPayPage .plPayStep .payMainContentTop p:nth-of-type(1) {
    border-right: 1px solid #111B25;
}

/* ------------------------------------------------------------------ */
/* Fields                                                                */
/* ------------------------------------------------------------------ */

.plPayPage .plPayStep .payMainContent form .form-group {
    margin-bottom: 0;
}

.plPayPage .plPayStep .payMainContent form .form-group > label {
    display: block;
    font-family: 'Gilroy-Regular', sans-serif;
    font-size: 14px;
    line-height: 18px;
    color: #5d6b65;
    margin-bottom: 6px;
}

.plPayPage .plPayStep .payMainContent form input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
.plPayPage .plPayStep .payMainContent form select {
    height: 50px;
    padding: 12px 16px;
    margin-bottom: 16px;
    font-family: 'Gilroy-Regular', sans-serif;
    font-size: 16px;
    line-height: 120%;
    color: #111B25;
    border: 1px solid #d3d3d3;
    border-radius: 10px;
    box-sizing: border-box;
    background: #fff;
    width: 100%;
    max-width: 100%;
}

.plPayPage .plPayStep .payMainContent form input:not([type=checkbox]):not([type=radio]):not([type=hidden]) {
    -webkit-appearance: none;
    appearance: none;
}

.plPayPage .plPayStep .payMainContent form input::placeholder {
    font-family: 'Gilroy-Regular', sans-serif;
    color: rgba(0, 0, 0, 0.45);
    font-size: 16px;
}

.plPayPage .plPayStep .payMainContent form input:focus,
.plPayPage .plPayStep .payMainContent form select:focus {
    outline: none;
    border-color: #03B047;
}

.plPayPage .plPayStep .phoneFlag-pl input {
    padding-left: 48px;
}

/* ------------------------------------------------------------------ */
/* Policy checkboxes (20×20) — higher specificity vs global            */
/* ------------------------------------------------------------------ */

.plPayPage .policyAgreements a,
.plPayPage .policySubContents a,
.plPayPage .policyNestedContents a,
.plPayPage .policyContents a {
    color: #03B047;
    text-decoration: underline;
    word-break: break-all;
}

.plPayPage .plPayStep .checboxSection {
    display: flex;
    align-items: flex-start;
    padding-left: 28px;
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    box-sizing: border-box;
}

.plPayPage .plPayStep .checboxSection label:before,
.plPayPage .plPayStep .policyMasterSection .checboxSection label:before,
.plPayPage .plPayStep .policyHeading .checboxSection label:before,
.plPayPage .plPayStep .policySubHeading .checboxSection label:before,
.plPayPage .plPayStep .policyNestedHeading .checboxSection label:before {
    width: 20px;
    height: 20px;
    border: 1px solid #8F8F8F;
    border-radius: 5px;
    background: #FFFFFF;
    background-image: none;
    left: 0;
    top: 1px;
    bottom: auto;
    margin: 0;
    box-sizing: border-box;
}

.plPayPage .plPayStep input[type=checkbox]:checked + label:before,
.plPayPage .plPayStep .policyMasterSection input[type=checkbox]:checked + label:before,
.plPayPage .plPayStep .policyHeading input[type=checkbox]:checked + label:before,
.plPayPage .plPayStep .policySubHeading input[type=checkbox]:checked + label:before,
.plPayPage .plPayStep .policyNestedHeading input[type=checkbox]:checked + label:before {
    border: none;
    background: url("../img/pl_pay_checkbox.svg") center / 20px 20px no-repeat;
    width: 20px;
    height: 20px;
}

.plPayPage .plPayStep .policyAgreements input.novalid + label::before,
.plPayPage .plPayStep .policyMasterSection input.novalid + label::before {
    border-color: #e53935;
}

.plPayPage .plPayStep .policyHeading .checboxSection label,
.plPayPage .plPayStep .policySubHeading .checboxSection label,
.plPayPage .plPayStep .policyNestedHeading .checboxSection label,
.plPayPage .plPayStep .policyMasterSection .checboxSection label {
    font-size: 12px;
    line-height: 150%;
    color: #111B25;
    margin-bottom: 0;
    padding-right: 0;
    word-break: break-word;
}

.plPayPage .policyAgreements {
    width: 100%;
    margin-top: 10px;
    overflow: hidden;
}

.plPayPage .policyItem,
.plPayPage .policySubItem,
.plPayPage .policyNestedItem {
    width: 100%;
    margin-bottom: 0;
    border-bottom: 1px solid #EDEDED;
    box-sizing: border-box;
}

.plPayPage .policyItem:last-child,
.plPayPage .policySubItem:last-child,
.plPayPage .policyNestedItem:last-child {
    border-bottom: none;
}

.plPayPage .policyHeading,
.plPayPage .policySubHeading,
.plPayPage .policyNestedHeading {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    position: relative;
    box-sizing: border-box;
    font-family: 'Gilroy-Regular', sans-serif;
    line-height: 150%;
    color: #111B25;
}

.plPayPage .policyHeading {
    min-height: 52px;
    padding: 12px 40px 12px 0;
    font-size: 16px;
}

.plPayPage .policySubHeading {
    min-height: 44px;
    padding: 10px 36px 10px 20px;
    font-size: 15px;
}

.plPayPage .policyNestedHeading {
    min-height: 40px;
    padding: 8px 36px 8px 40px;
    font-size: 14px;
}

.plPayPage .policyHeading::before,
.plPayPage .policySubHeading::before,
.plPayPage .policyNestedHeading::before {
    content: '';
    background: url("../img/acardionArrow.svg");
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    position: absolute;
    right: 8px;
    top: 50%;
    transition: transform 0.2s;
}

.plPayPage .policyHeading::before {
    width: 14px;
    height: 9px;
    margin-top: -4px;
}

.plPayPage .policySubHeading::before {
    width: 12px;
    height: 8px;
    margin-top: -4px;
}

.plPayPage .policyNestedHeading::before {
    width: 11px;
    height: 7px;
    margin-top: -3px;
}

.plPayPage .policyHeading.active::before,
.plPayPage .policySubHeading.active::before,
.plPayPage .policyNestedHeading.active::before {
    transform: rotate(-180deg);
}

.plPayPage .policyHeading .checboxSection,
.plPayPage .policySubHeading .checboxSection,
.plPayPage .policyNestedHeading .checboxSection {
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    padding-left: 28px;
    box-sizing: border-box;
}

.plPayPage .policyHeadingText {
    font-family: 'Gilroy-Regular', sans-serif;
    font-size: 16px;
    line-height: 150%;
    color: #111B25;
    padding-left: 0;
}

/* Policy errors: full-width block ABOVE checkbox text (not beside flex row) */
.plPayPage .policyAgreements span.novalid,
.plPayPage .policyAgreements span.error,
.plPayPage .policyMasterSection > span.novalid,
.plPayPage .policyMasterSection > span.error,
.plPayPage .payForm > span.novalid,
.plPayPage .payForm > span.error,
.plPayPage .policyItem > span.novalid,
.plPayPage .policyItem > span.error,
.plPayPage .policySubItem > span.novalid,
.plPayPage .policySubItem > span.error,
.plPayPage .policyNestedItem > span.novalid,
.plPayPage .policyNestedItem > span.error {
    color: #e53935;
    display: block;
    width: 100%;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 140%;
    margin: 0 0 6px 28px;
    padding: 0;
    border: none;
    font-family: 'Gilroy-Regular', sans-serif;
}

.plPayPage .policySubItem > span.novalid,
.plPayPage .policySubItem > span.error {
    margin-left: 60px;
}

.plPayPage .policyNestedItem > span.novalid,
.plPayPage .policyNestedItem > span.error {
    margin-left: 80px;
}

/* Safety: if error lands inside flex heading/row, force it onto its own line above */
.plPayPage .policyMasterRow > span.novalid,
.plPayPage .policyMasterRow > span.error,
.plPayPage .policyHeading > span.novalid,
.plPayPage .policyHeading > span.error,
.plPayPage .policySubHeading > span.novalid,
.plPayPage .policySubHeading > span.error,
.plPayPage .policyNestedHeading > span.novalid,
.plPayPage .policyNestedHeading > span.error {
    flex: 0 0 100%;
    order: -1;
    width: 100%;
    display: block;
    box-sizing: border-box;
    color: #e53935;
    font-size: 14px;
    line-height: 140%;
    margin: 0 0 6px 28px;
    font-family: 'Gilroy-Regular', sans-serif;
}

.plPayPage .policyContents,
.plPayPage .policySubContents,
.plPayPage .policyNestedContents {
    display: none;
    background: transparent;
    border: none;
    box-sizing: border-box;
    font-family: 'Gilroy-Regular', sans-serif;
    line-height: 160%;
    color: #111B25;
    overflow: hidden;
}

.plPayPage .policyContents {
    padding: 0 0 8px 0;
}

.plPayPage .policySubList,
.plPayPage .policyNestedList {
    width: 100%;
    padding-left: 0;
    box-sizing: border-box;
}

.plPayPage .policySubContents {
    padding: 0 16px 12px 60px;
    font-size: 15px;
}

.plPayPage .policySubContents.has-nested {
    padding: 0;
}

.plPayPage .policyNestedContents {
    padding: 0 16px 12px 80px;
    font-size: 14px;
}

.plPayPage .policySubContents p,
.plPayPage .policyNestedContents p,
.plPayPage .policyContents > .policyBody p {
    font-size: inherit;
    line-height: 160%;
    margin-bottom: 8px;
    word-break: break-word;
}

.plPayPage .policyContents > .policyBody {
    padding: 0 16px 12px 40px;
    font-family: 'Gilroy-Regular', sans-serif;
    font-size: 16px;
    line-height: 160%;
    color: #111B25;
}

.plPayPage .policyMasterSection {
    margin-bottom: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid #EDEDED;
}

.plPayPage .policyMasterRow {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
}

.plPayPage .policyMasterRow .checboxSection {
    flex: 1;
    min-width: 0;
    margin-top: 0;
}

.plPayPage .policyMasterToggle {
    flex-shrink: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
    padding: 4px 0 4px 8px;
    margin-top: -2px;
    white-space: nowrap;
    font-family: 'Gilroy-Regular', sans-serif;
    font-size: 12px;
    line-height: 150%;
    font-weight: 600;
    color: #03B047;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.plPayPage .policyMasterToggle:hover {
    color: #02963c;
}

/* ------------------------------------------------------------------ */
/* In-form CTA + desktop sticky dock                                    */
/* ------------------------------------------------------------------ */

.plPayPage .plPayActionsSlot {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
}

.plPayPage .plPayActions {
    margin-top: 8px;
    margin-bottom: 8px;
    background: transparent;
}

.plPayPage .plPayCtaSentinel {
    width: 100%;
    height: 1px;
    margin: 0;
    padding: 0;
    border: 0;
    pointer-events: none;
    visibility: hidden;
}

.plPayPage .plPayActionsSpacer {
    display: none;
    height: 0;
    width: 100%;
    pointer-events: none;
}

.plPayPage .plPayStep .btnSubmit,
.plPayPage .plPayActions .btnSubmit {
    height: 60px;
    background: #17B655;
    border-radius: 50px;
    font-family: 'Gilroy-Regular', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
    color: #FFFFFF;
    width: 100%;
    border: none;
    cursor: pointer;
    margin: 0;
    display: block;
    box-sizing: border-box;
}

.plPayPage .plPayStep .btnSubmit:disabled,
.plPayPage .plPayActions .btnSubmit:disabled {
    background: #ababab;
    cursor: not-allowed;
}

.plPayPage .plPayStep .btnSubmit:not(:disabled):hover,
.plPayPage .plPayActions .btnSubmit:not(:disabled):hover {
    background: #02963c;
}

/* Desktop: float until slot reaches viewport bottom, then settle */
.plPayPage .plPayActions.is-fixed {
    position: fixed;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 1100;
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
}

.plPayPage .plPayActions.is-fixed .btnSubmit {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

/* ------------------------------------------------------------------ */
/* Loading overlay                                                      */
/* ------------------------------------------------------------------ */

.plPayPage #loading_overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10001;
    align-items: center;
    justify-content: center;
}

.plPayPage #loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: plPaySpin 1s linear infinite;
}

@keyframes plPaySpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ------------------------------------------------------------------ */
/* Mobile                                                                */
/* ------------------------------------------------------------------ */

@media (max-width: 767px) {
    /* Beat global `.payMain .wrapper { padding: 0 32px !important }` */
    .plPayPage .wrapper,
    .payMain.plPayPage .wrapper {
        padding-left: 12px !important;
        padding-right: 12px !important;
        max-width: 100%;
    }

    .plPayPage.payMain {
        padding: 40px 0 60px 0;
    }

    .plPayPage .payMainContent {
        padding: 16px;
        border-radius: 14px;
    }

    .plPayPage .plPayStepTitle,
    .plPayPage .plPayStepCount {
        font-size: 16px;
        line-height: 20px;
    }

    .plPayPage .plPayStep .payMainContentTop {
        height: 51px;
        border-radius: 10px;
    }

    .plPayPage .plPayStep .payMainContentTop p {
        height: 51px;
        border-radius: 0;
        font-size: 14px;
        line-height: 19px;
    }

    .plPayPage .plPayStep .payMainContent form .form-group > label {
        font-size: 13px;
        line-height: 16px;
        margin-bottom: 4px;
    }

    .plPayPage .plPayStep .payMainContent form input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
    .plPayPage .plPayStep .payMainContent form select {
        height: 50px;
        padding: 12px 16px;
        margin-bottom: 16px;
        border-radius: 10px;
        font-size: 16px;
    }

    .plPayPage .plPayStep .phoneFlag-pl input {
        padding-left: 48px;
    }

    .plPayPage .plPayStep .phoneFlag-pl::after {
        width: 18px;
        height: 18px;
        left: 12px;
        top: 10px;
    }

    .plPayPage .policyAgreements {
        margin-top: 4px;
    }

    .plPayPage .policyMasterSection {
        margin-bottom: 4px;
        padding-bottom: 6px;
    }

    .plPayPage .policyMasterToggle {
        margin-top: 0;
        padding: 2px 0 2px 6px;
        font-size: 12px;
    }

    .plPayPage .policyHeading {
        min-height: 0;
        padding: 8px 32px 8px 0;
    }

    .plPayPage .policySubHeading {
        min-height: 0;
        padding: 6px 28px 6px 12px;
        font-size: 13px;
    }

    .plPayPage .policyNestedHeading {
        min-height: 0;
        padding: 6px 28px 6px 24px;
        font-size: 12px;
    }

    .plPayPage .policyHeading::before,
    .plPayPage .policySubHeading::before,
    .plPayPage .policyNestedHeading::before {
        right: 4px;
    }

    .plPayPage .policyHeading::before {
        width: 12px;
        height: 8px;
    }

    .plPayPage .policyContents > .policyBody {
        padding: 0 8px 6px 32px;
        font-size: 13px;
        line-height: 150%;
    }

    .plPayPage .policySubContents {
        padding: 0 8px 6px 44px;
        font-size: 13px;
        line-height: 150%;
    }

    .plPayPage .policySubContents.has-nested {
        padding: 0;
    }

    .plPayPage .policyNestedContents {
        padding: 0 8px 6px 56px;
        font-size: 12px;
        line-height: 150%;
    }

    .plPayPage .policySubContents p,
    .plPayPage .policyNestedContents p,
    .plPayPage .policyContents > .policyBody p {
        font-size: inherit;
        line-height: 150%;
        margin-bottom: 4px;
    }

    .plPayPage .policyAgreements span.novalid,
    .plPayPage .policyAgreements span.error,
    .plPayPage .policyMasterSection > span.novalid,
    .plPayPage .policyMasterSection > span.error,
    .plPayPage .policyItem > span.novalid,
    .plPayPage .policyItem > span.error,
    .plPayPage .policyMasterRow > span.novalid,
    .plPayPage .policyMasterRow > span.error,
    .plPayPage .policyHeading > span.novalid,
    .plPayPage .policyHeading > span.error {
        font-size: 12px;
        margin: 0 0 4px 32px;
    }

    .plPayPage .policySubItem > span.novalid,
    .plPayPage .policySubItem > span.error,
    .plPayPage .policySubHeading > span.novalid,
    .plPayPage .policySubHeading > span.error {
        margin-left: 44px;
    }

    .plPayPage .policyNestedItem > span.novalid,
    .plPayPage .policyNestedItem > span.error,
    .plPayPage .policyNestedHeading > span.novalid,
    .plPayPage .policyNestedHeading > span.error {
        margin-left: 56px;
    }

    .plPayPage .recaptcha {
        transform: scale(0.85);
        transform-origin: left center;
        margin: 8px 0 0;
        width: 100%;
        max-width: 100%;
    }

    /* Hide in-form button; fixed CTA + spacer reserve the dock point */
    .plPayPage .plPayStep .plPayActions {
        display: none;
    }

    .plPayPage .plPayStep:not(.hidden) .plPayActionsSlot {
        min-height: 56px;
        margin-top: 12px;
        margin-bottom: 8px;
    }

    .plPayPage .plPayStep:not(.hidden) .plPayActionsSpacer {
        display: block;
        height: 56px;
        width: 100%;
        pointer-events: none;
    }

    .plPayPage .plPayStep .btnSubmit,
    .plPayPage .plPayActions .btnSubmit {
        height: 56px;
        font-size: 16px;
        line-height: 22px;
        border-radius: 50px;
        margin: 0;
    }

    .plPayPage .plPayStep:not(.hidden) .payForm {
        padding-bottom: 0;
    }
}

@media (max-width: 576px) {
    .plPayPage .wrapper,
    .payMain.plPayPage .wrapper {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .plPayPage .payMainContent {
        padding: 12px;
    }

    .plPayPage .plPayStep .payMainContent form .form-group > label {
        font-size: 12px;
    }

    .plPayPage .plPayStep .btnSubmit,
    .plPayPage .plPayActions .btnSubmit {
        height: 52px;
        font-size: 15px;
    }

    #plPayFixedBtn,
    #plPayFixedCta .plPayCtaBtn {
        height: 52px;
        font-size: 15px;
    }

    /* Standard reCAPTCHA is ~304px — scale to fit ~280px content */
    .plPayPage .recaptcha {
        transform: scale(0.78);
        transform-origin: left center;
    }
}

@media (max-width: 360px) {
    .plPayPage .recaptcha {
        transform: scale(0.72);
        transform-origin: left center;
    }
}
