/* =========================================
   Buttony na karcie produktu
   ========================================= */
   
.ipay_buttons_area{
  display: flex;
  gap: 12px;
  width: 100%;
  padding: 18px 0;
}

.ipay_button {
	width: auto;
}

/* =========================================
   Podstrona finansowania
   ========================================= */
   
.financing-section {
    display: grid;
    gap: 48px;
    margin: 60px 0;
}

.financing-item {
    text-align: center;
}

.financing-title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.financing-link {
    display: inline-block;
}

.financing-link img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* =========================================
   Loader przekierowania
   ========================================= */

.ipay-redirect-body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #f7f7fb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2D2E83;
}

.ipay-loader-wrapper {
    text-align: center;
    max-width: 420px;
    padding: 32px 24px;
}

.ipay-title {
    font-size: 20px;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 12px;
    color: #2D2E83;
}

.ipay-text {
    font-size: 15px;
    line-height: 1.5;
    color: #2D2E83;
    opacity: 0.9;
}

.ipay-spinner {
    width: 56px;
    height: 56px;
    margin: 0 auto;
    border: 4px solid rgba(45, 46, 131, 0.15);
    border-top-color: currentColor;
    border-radius: 50%;
    animation: ipay-spin 0.9s linear infinite;
    color: inherit;
}

@keyframes ipay-spin {
    to {
        transform: rotate(360deg);
    }
}

.ipay-fallback-btn {
    appearance: none;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 500px;
    cursor: pointer;
    color: #fff;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.ipay-fallback-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.ipay-method-raty .ipay-spinner {
    color: #E95E29;
}

.ipay-method-raty .ipay-fallback-btn {
    background-color: #E95E29;
	border: 1px solid #E95E29;
}

.ipay-method-raty .ipay-fallback-btn:hover {
    background-color: transparent;
	color: #E95E29;
}

.ipay-method-leasing .ipay-spinner {
    color: #95569E;
}

.ipay-method-leasing .ipay-fallback-btn {
    background-color: #95569E;
	border: 1px solid #95569E;
}

.ipay-method-leasing .ipay-fallback-btn:hover {
    background-color: transparent;
	color: #95569E;
}

noscript button {
    margin-top: 24px;
    padding: 12px 24px;
    font-size: 14px;
    border-radius: 500px;
    border: none;
    cursor: pointer;
}

@media (max-width: 480px) {
    .ipay-loader-wrapper {
        padding: 24px 16px;
    }

    .ipay-title {
        font-size: 18px;
    }

    .ipay-text {
        font-size: 14px;
    }
}

/* =========================================
   Metody płatności w checkoucie
   ========================================= */
   
.payment_method_raty img {
    width: 68px;
    height: auto;
}

.payment_method_leasing img {
    width: 68px;
    height: auto;
}