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

.erste_ipay_button {
	width: auto;
}

/* =========================================
   Kalkulator na karcie produktu
   ========================================= */
   
/* .erste_ipay-widget-wrapper{
	display: flex;
	gap: 12px;
	width: 100%;
	margin-top: 8px;
	margin-bottom: 8px;
}

.erste_ipay-widget-wrapper #widget-19 {
    width: 100%;
}

.erste_ipay-widget-wrapper #widget-19 .Widgets_Widget_widget_19_container {
    padding: 0;
}

.erste_ipay-widget-wrapper #widget-19 .Widgets_Widget_widget_19_container .Widgets_Widget_widget_19_toggle {
	padding: 10px 20px;
}

.erste_ipay-widget-wrapper #widget-19 .Widgets_Widget_widget_19_container .Widgets_Widget_widget_19_toggle .toggle-btn {
	padding: 8px;
	display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    align-self: center;
}

.erste_ipay-widget-wrapper #widget-19 .Widgets_Widget_widget_19_container .Widgets_Widget_widget_19_installments {
	display: none;
}

.erste_ipay-widget-wrapper #widget-19 .Widgets_Widget_widget_19_container .Widgets_Widget_widget_19_content {
	padding: 10px 20px;
}

.erste_ipay-widget-wrapper #widget-19 .Widgets_Widget_widget_19_container .Widgets_Widget_widget_19_title {
	margin-bottom: 0px;
	text-align: center;
    font-weight: 500;
}

.erste_ipay-widget-wrapper #widget-19 .Widgets_Widget_widget_19_container .Widgets_Widget_widget_19_price, .erste_ipay-widget-wrapper #widget-19 .Widgets_Widget_widget_19_container .Widgets_Widget_widget_19_price .price-amount {
	font-size: 38px;
}

.erste_ipay-widget-wrapper #widget-19 .Widgets_Widget_widget_19_container .Widgets_Widget_widget_19_proceed_btn {
	padding: 16px 32px;
}

.erste_ipay-widget-wrapper #widget-19 .Widgets_Widget_widget_19_container .Widgets_Widget_widget_19_slider_wrapper {
	margin: 24px 0 0 0;
} */

/* =========================================
   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
   ========================================= */

.erste_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;
}

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

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

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

.erste_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: erste_ipay-spin 0.9s linear infinite;
    color: inherit;
}

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

.erste_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;
}

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

.erste_ipay-method-erste_ipay_raty .erste_ipay-spinner {
    color: #E95E29;
}

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

.erste_ipay-method-erste_ipay_raty .erste_ipay-fallback-btn:hover {
    background-color: transparent;
	color: #E95E29;
}

.erste_ipay-method-erste_ipay_leasing .erste_ipay-spinner {
    color: #95569E;
}

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

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

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

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

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

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

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

.payment_method_erste_ipay_leasing img {
    width: 68px;
    height: auto;
}
/* Erste Leasing branding */
.erste_ipay_buttons_area { flex-wrap: wrap; align-items: center; }
.erste_ipay_button .erste_ipay-erste-logo,
.payment_method_erste_ipay_leasing img { width: 100px; max-width: 100%; height: auto; object-fit: contain; }

/* Jednakowa rzeczywista wysokość obu logo, niezależnie od proporcji. */
html body .erste_ipay_buttons_area > a.erste_ipay_button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 1 auto !important;
    width: auto !important;
    max-width: 100% !important;
    height: 50px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
html body .erste_ipay_buttons_area > a.erste_ipay_button > img {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    height: 50px !important;
    max-height: 50px !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
}
@media (max-width: 480px) {
    html body .erste_ipay_buttons_area > a.erste_ipay_button,
    html body .erste_ipay_buttons_area > a.erste_ipay_button > img {
        height: 40px !important;
        max-height: 40px !important;
    }
}
