.fotokino-withdrawal-layout {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: calc(100vh - 328px);
	width: 100%;
	box-sizing: border-box;
	padding: 20px 15px 30px;
}

.fotokino-withdrawal-layout > h1 {
	margin: 0 0 22px;
	width: 100%;
}

.fotokino-withdrawal-page {
	max-width: 900px;
	margin: 0 auto;
	padding: 0;
	width: 100%;
	font-family: Montserrat, sans-serif;
}

.fotokino-withdrawal-intro-text,
.fotokino-withdrawal-intro-text p {
	font-size: 16px;
	line-height: 1.65;
	color: #333;
	margin-bottom: 28px;
	text-align: center;
}

.fotokino-withdrawal-intro-text .fotokino-withdrawal-terms-link,
.fotokino-withdrawal-intro-text .fotokino-withdrawal-terms-link strong {
	color: inherit;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}

.fotokino-withdrawal-intro-text .fotokino-withdrawal-terms-link:hover,
.fotokino-withdrawal-intro-text .fotokino-withdrawal-terms-link:focus {
	text-decoration: underline;
}

body.fotokino-withdrawal-legal-open #fotokino-withdrawal-modal,
body.fotokino-withdrawal-modal-open:has(#modal-agree.modal-legal.in) #fotokino-withdrawal-modal {
	filter: blur(4px) !important;
	-webkit-filter: blur(4px) !important;
	z-index: 2147483640 !important;
	pointer-events: none !important;
}

body.fotokino-withdrawal-legal-open #fotokino-withdrawal-modal .modal-dialog,
body.fotokino-withdrawal-modal-open:has(#modal-agree.modal-legal.in) #fotokino-withdrawal-modal .modal-dialog {
	pointer-events: none !important;
}

body.fotokino-withdrawal-legal-open #fotokino-withdrawal-modal-overlay,
body.fotokino-withdrawal-modal-open:has(#modal-agree.modal-legal.in) #fotokino-withdrawal-modal-overlay {
	background: transparent !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
}

.fotokino-withdrawal-intro-action {
	text-align: center;
}

.fotokino-withdrawal-start-btn {
	display: inline-block;
	background: #b33e3f !important;
	background-color: #b33e3f !important;
	border: 2px solid #b33e3f !important;
	color: #fff !important;
	font-size: 20px;
	font-weight: 700;
	padding: 16px 36px;
	border-radius: 8px;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(179, 62, 63, 0.25);
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
	-webkit-appearance: none;
	appearance: none;
	text-transform: none;
}

.fotokino-withdrawal-start-btn:hover,
.fotokino-withdrawal-start-btn:focus,
.fotokino-withdrawal-start-btn:active {
	background: #a02a2c !important;
	background-color: #a02a2c !important;
	border-color: #a02a2c !important;
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(179, 62, 63, 0.32);
}

/* Modal shell */
#fotokino-withdrawal-modal .modal-dialog {
	max-width: 640px;
	width: 100%;
	max-height: calc(100vh - 30px);
	max-height: calc(100dvh - 30px);
	display: flex;
	flex-direction: column;
}

#fotokino-withdrawal-modal .modal-content.fotokino-withdrawal-modal {
	border: none;
	border-radius: 14px;
	overflow: hidden;
	max-height: 100%;
	display: flex;
	flex-direction: column;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
	font-family: Montserrat, sans-serif;
}

#fotokino-withdrawal-modal .modal-header {
	flex: 0 0 auto;
	border: none;
	background: linear-gradient(135deg, #b33e3f 0%, #a03536 100%);
	text-align: center;
	text-transform: uppercase;
	position: relative;
	padding: 18px 52px 18px 18px;
}

#fotokino-withdrawal-modal .modal-title {
	font-weight: 900;
	color: #fff;
	font-size: 22px;
	margin: 0;
	letter-spacing: 0.02em;
}

#fotokino-withdrawal-modal .modal-header .fotokino-withdrawal-close {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	display: block !important;
	float: none;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
	font-size: 42px;
	line-height: 44px;
	font-weight: 300;
	color: #fff !important;
	text-shadow: none;
	opacity: 1 !important;
	cursor: pointer;
	z-index: 2;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

#fotokino-withdrawal-modal .modal-header .fotokino-withdrawal-close:hover,
#fotokino-withdrawal-modal .modal-header .fotokino-withdrawal-close:focus {
	color: #fff !important;
	opacity: 0.85 !important;
	transform: translateY(-50%) scale(1.05);
}

/* Step progress */
.fotokino-withdrawal-steps {
	display: flex;
	align-items: stretch;
	gap: 0;
	background: #f3f3f3;
	border-bottom: 1px solid #e8e8e8;
	padding: 0;
	flex: 0 0 auto;
}

.fotokino-withdrawal-step-pill {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 10px;
	font-size: 12px;
	font-weight: 600;
	color: #888;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	border-right: 1px solid #e8e8e8;
	transition: color 0.2s ease, background 0.2s ease;
}

.fotokino-withdrawal-step-pill:last-child {
	border-right: none;
}

.fotokino-withdrawal-step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #ddd;
	color: #666;
	font-size: 11px;
	font-weight: 700;
	flex-shrink: 0;
	transition: background 0.2s ease, color 0.2s ease;
}

.fotokino-withdrawal-step-pill.is-active {
	color: #b33e3f;
	background: #fff;
}

.fotokino-withdrawal-step-pill.is-active .fotokino-withdrawal-step-num {
	background: #b33e3f;
	color: #fff;
}

.fotokino-withdrawal-step-pill.is-done {
	color: #5a8f5a;
}

.fotokino-withdrawal-step-pill.is-done .fotokino-withdrawal-step-num {
	background: #5a8f5a;
	color: #fff;
}

.fotokino-withdrawal-step-pill.is-done .fotokino-withdrawal-step-num::after {
	content: '\2713';
	font-size: 12px;
	line-height: 1;
}

.fotokino-withdrawal-step-pill.is-done .fotokino-withdrawal-step-num {
	font-size: 0;
}

/* Modal body */
.fotokino-withdrawal-modal-body {
	padding: 24px 28px 28px;
	background: #fafafa;
	flex: 1 1 auto;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.fotokino-withdrawal-step-hint {
	margin: 0 0 18px;
	font-size: 14px;
	line-height: 1.55;
	color: #666;
	text-align: center;
}

.fotokino-withdrawal-panel {
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 10px;
	padding: 20px 22px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.fotokino-withdrawal-panel .form-group {
	margin-bottom: 16px;
}

.fotokino-withdrawal-panel .form-group:last-of-type {
	margin-bottom: 0;
}

.fotokino-withdrawal-panel label {
	font-size: 13px;
	font-weight: 600;
	color: #444;
	margin-bottom: 6px;
}

.fotokino-withdrawal-panel .form-control {
	height: 44px;
	border: 1px solid #d8d8d8;
	border-radius: 8px;
	font-size: 15px;
	box-shadow: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fotokino-withdrawal-panel .form-control:focus {
	border-color: #b33e3f;
	box-shadow: 0 0 0 3px rgba(179, 62, 63, 0.12);
}

.fotokino-withdrawal-panel .form-control::placeholder {
	color: #bbb;
}

.fotokino-withdrawal-lookup-btn {
	width: 100%;
	margin-top: 18px;
	height: 48px;
	background: #b33e3f;
	border-color: #b33e3f;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.02em;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.fotokino-withdrawal-lookup-btn:hover,
.fotokino-withdrawal-lookup-btn:focus {
	background: #c94847;
	border-color: #c94847;
}

.fotokino-withdrawal-lookup-btn:disabled {
	opacity: 0.65;
	cursor: wait;
}

/* Overlay & blur */
body.fotokino-withdrawal-modal-open #fotokino-withdrawal-modal {
	display: flex !important;
	align-items: center;
	justify-content: center;
	position: fixed !important;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2147483647 !important;
	background: transparent !important;
	opacity: 1 !important;
	overflow-x: hidden;
	overflow-y: auto;
	padding: 15px;
	pointer-events: none;
}

body.fotokino-withdrawal-modal-open #fotokino-withdrawal-modal .modal-dialog {
	pointer-events: auto;
	margin: auto;
	max-height: calc(100vh - 30px);
	max-height: calc(100dvh - 30px);
}

body.fotokino-withdrawal-modal-open #fotokino-withdrawal-modal,
body.fotokino-withdrawal-modal-open #fotokino-withdrawal-modal-overlay {
	filter: none !important;
	-webkit-filter: none !important;
}

body.fotokino-withdrawal-modal-open #content,
body.fotokino-withdrawal-modal-open #content-info,
body.fotokino-withdrawal-modal-open #content-blog,
body.fotokino-withdrawal-modal-open footer,
body.fotokino-withdrawal-modal-open #column-left,
body.fotokino-withdrawal-modal-open #column-right,
body.fotokino-withdrawal-modal-open header,
body.fotokino-withdrawal-modal-open .behind-header,
body.fotokino-withdrawal-modal-open .behind-header ~ *:not(#fotokino-withdrawal-modal):not(#fotokino-withdrawal-modal-overlay):not(.modal-backdrop) {
	filter: blur(4px);
	-webkit-filter: blur(4px);
	transition: filter 0.3s ease;
}

#fotokino-withdrawal-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2147483646;
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

body.fotokino-withdrawal-modal-open .modal-backdrop {
	display: none !important;
}

/* Products step */
.fotokino-withdrawal-products-lead {
	font-weight: 600;
	font-size: 14px;
	margin: 0 0 14px;
	color: #444;
	text-align: center;
}

.fotokino-withdrawal-coupon {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #fff8f0;
	border: 1px solid #f0dcc8;
	border-left: 4px solid #b33e3f;
	border-radius: 8px;
	padding: 12px 14px;
	margin-bottom: 16px;
	font-size: 13px;
	color: #555;
	line-height: 1.45;
}

.fotokino-withdrawal-coupon::before {
	content: '\f02b';
	font-family: FontAwesome;
	color: #b33e3f;
	font-size: 16px;
	flex-shrink: 0;
}

.fotokino-withdrawal-products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	gap: 14px;
	margin: 0 0 8px;
}

.fotokino-withdrawal-product {
	position: relative;
	border: 2px solid #e5e5e5;
	border-radius: 10px;
	padding: 12px 12px 14px;
	cursor: pointer;
	text-align: center;
	background: #fff;
	transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
	overflow: hidden;
}

.fotokino-withdrawal-product:not(.is-selected):not(.is-blocked) {
	background: #f3f3f3;
	border-color: #ddd;
}

.fotokino-withdrawal-product:hover:not(.is-selected):not(.is-blocked) {
	border-color: #ccc;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
	transform: translateY(-1px);
}

.fotokino-withdrawal-product-image {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 150px;
	margin-bottom: 8px;
}

.fotokino-withdrawal-product:not(.is-selected) img {
	display: block;
	width: 100%;
	max-width: 160px;
	max-height: 160px;
	height: auto;
	object-fit: contain;
	margin: 0 auto;
	filter: grayscale(100%);
	-webkit-filter: grayscale(100%);
	opacity: 0.55;
	transition: filter 0.3s ease, opacity 0.3s ease, transform 0.25s ease;
}

.fotokino-withdrawal-product-name {
	font-size: 12px;
	line-height: 1.35;
	margin-top: 10px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.fotokino-withdrawal-product:not(.is-selected) .fotokino-withdrawal-product-name {
	color: #9a9a9a;
}

.fotokino-withdrawal-product-price {
	font-size: 13px;
	font-weight: 700;
	margin-top: 6px;
}

.fotokino-withdrawal-product:not(.is-selected) .fotokino-withdrawal-product-price {
	color: #aaa;
}

.fotokino-withdrawal-product-check {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #b33e3f;
	color: #fff;
	font-size: 13px;
	line-height: 28px;
	text-align: center;
	opacity: 0;
	visibility: hidden;
	transform: scale(0.5);
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
	box-shadow: 0 2px 8px rgba(179, 62, 63, 0.35);
	z-index: 2;
}

.fotokino-withdrawal-product.is-selected {
	border-color: #b33e3f;
	background: #fff;
	box-shadow: 0 4px 16px rgba(179, 62, 63, 0.18);
}

.fotokino-withdrawal-product.is-selected .fotokino-withdrawal-product-check {
	opacity: 1;
	visibility: visible;
	transform: scale(1);
}

.fotokino-withdrawal-product.is-selected img {
	filter: grayscale(0%);
	-webkit-filter: grayscale(0%);
	opacity: 1;
}

.fotokino-withdrawal-product.is-selected .fotokino-withdrawal-product-name,
.fotokino-withdrawal-product.is-selected .fotokino-withdrawal-product-price {
	color: #b33e3f;
}

.fotokino-withdrawal-product.is-blocked {
	cursor: not-allowed;
	border-style: dashed;
	border-color: #d8d8d8;
	background: #fafafa;
}

.fotokino-withdrawal-product.is-blocked:hover {
	transform: none;
	box-shadow: none;
	border-color: #d8d8d8;
}

.fotokino-withdrawal-order-blocked {
	text-align: center;
	padding: 10px 0 4px;
}

.fotokino-withdrawal-order-blocked-text {
	margin: 0 0 22px;
	padding: 18px 20px;
	border-radius: 10px;
	background: #fff8f0;
	border: 1px solid #f0dcc8;
	font-size: 15px;
	line-height: 1.55;
	color: #8a5a20;
}

.fotokino-withdrawal-order-blocked .fotokino-withdrawal-back-btn {
	min-width: 140px;
}

.fotokino-withdrawal-product-notice {
	margin-top: 10px;
	padding: 8px 10px;
	border-radius: 8px;
	background: #fff8f0;
	border: 1px solid #f0dcc8;
	font-size: 11px;
	line-height: 1.45;
	color: #8a5a20;
	text-align: center;
}

/* Bank section */
.fotokino-withdrawal-bank {
	margin-top: 18px;
}

.fotokino-withdrawal-panel-bank {
	margin-top: 0;
}

.fotokino-withdrawal-bank-title {
	margin: 0 0 14px;
	font-size: 14px;
	font-weight: 700;
	color: #b33e3f;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.fotokino-withdrawal-panel-bank .form-group {
	margin-bottom: 14px;
}

.fotokino-withdrawal-panel-bank .form-group:last-child {
	margin-bottom: 0;
}

/* Actions */
.fotokino-withdrawal-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-top: 20px;
	padding-top: 4px;
}

.fotokino-withdrawal-back-btn {
	border-radius: 8px;
	padding: 10px 18px;
	font-weight: 600;
	color: #666;
	border-color: #ddd;
	background: #fff;
}

.fotokino-withdrawal-back-btn:hover,
.fotokino-withdrawal-back-btn:focus {
	background: #f5f5f5;
	border-color: #ccc;
	color: #444;
}

.fotokino-withdrawal-confirm-btn {
	border-radius: 8px;
	padding: 10px 22px;
	font-weight: 700;
	background: #b33e3f;
	border-color: #b33e3f;
}

.fotokino-withdrawal-confirm-btn:hover,
.fotokino-withdrawal-confirm-btn:focus {
	background: #c94847;
	border-color: #c94847;
}

/* Errors */
.fotokino-withdrawal-error {
	margin-top: 14px;
	margin-bottom: 0;
	border-radius: 8px;
	font-size: 13px;
	border: none;
	background: #fff0f0;
	color: #a03030;
	text-align: center;
}

/* Success */
.fotokino-withdrawal-step-success {
	text-align: center;
}

.fotokino-withdrawal-success-icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: linear-gradient(135deg, #5a8f5a 0%, #4a7a4a 100%);
	color: #fff;
	font-size: 28px;
	line-height: 64px;
	box-shadow: 0 6px 20px rgba(90, 143, 90, 0.35);
}

.fotokino-withdrawal-success-title {
	color: #333;
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 10px;
	line-height: 1.35;
}

.fotokino-withdrawal-success-lead {
	font-size: 18px;
	font-weight: 700;
	color: #333;
	margin-bottom: 14px;
	line-height: 1.4;
	text-align: center;
}

.fotokino-withdrawal-success-address {
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 10px;
	padding: 16px 20px;
	margin: 0 0 16px;
	line-height: 1.6;
	font-size: 14px;
	color: #444;
	text-align: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.fotokino-withdrawal-success-address strong {
	color: #b33e3f;
	font-size: 15px;
}

.fotokino-withdrawal-success-open {
	font-size: 13px;
	color: #555;
	margin-bottom: 14px;
	line-height: 1.55;
}

.fotokino-withdrawal-success-cod {
	background: #fff5f5;
	border: 1px solid #f0d0d0;
	border-radius: 8px;
	padding: 12px 16px;
	color: #b33e3f;
	font-weight: 600;
	font-size: 13px;
	line-height: 1.5;
	margin-bottom: 20px;
	text-align: center;
}

.fotokino-withdrawal-done-btn {
	min-width: 160px;
	height: 46px;
	border-radius: 8px;
	font-weight: 700;
	background: #b33e3f;
	border-color: #b33e3f;
}

.fotokino-withdrawal-done-btn:hover,
.fotokino-withdrawal-done-btn:focus {
	background: #c94847;
	border-color: #c94847;
}

@media (max-width: 767px) {
	.fotokino-withdrawal-layout {
		min-height: calc(100vh - 280px);
		padding: 15px 12px 24px;
	}

	.fotokino-withdrawal-start-btn {
		width: 100%;
		font-size: 18px;
		padding: 14px 20px;
	}

	.fotokino-withdrawal-modal-body {
		padding: 18px 16px 22px;
	}

	.fotokino-withdrawal-step-pill {
		font-size: 10px;
		padding: 10px 6px;
		gap: 5px;
	}

	.fotokino-withdrawal-step-num {
		width: 20px;
		height: 20px;
		font-size: 10px;
	}

	.fotokino-withdrawal-products {
		grid-template-columns: 1fr 1fr;
		gap: 10px;
	}

	.fotokino-withdrawal-actions {
		flex-direction: column-reverse;
	}

	.fotokino-withdrawal-back-btn,
	.fotokino-withdrawal-confirm-btn {
		width: 100%;
	}

	#fotokino-withdrawal-modal .modal-title {
		font-size: 18px;
	}
}
