.af-sw-widget {
	width: 100%;
}

.af-sw-heading {
	margin: 0 0 12px;
	font-family: 'Playfair Display', serif;
	font-size: 32px;
	font-weight: 700;
	color: #23262F;
}

.af-sw-desc {
	margin: 0 0 28px;
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: #54595F;
	line-height: 1.6;
}

.af-sw-columns {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 32px;
}

/* --- Karta z danymi --- */
.af-sw-details {
	flex: 1 1 340px;
	background-color: #F7F5F0;
	border: 1px solid #E5E0D5;
	border-radius: 16px;
	padding: 32px;
	box-sizing: border-box;
}

.af-sw-row {
	display: flex;
	flex-direction: column;
	margin-bottom: 16px;
}

.af-sw-row:last-of-type {
	margin-bottom: 24px;
}

.af-sw-label {
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	font-weight: 400;
	color: #54595F;
	margin-bottom: 4px;
}

.af-sw-value {
	font-family: 'Capriola', sans-serif;
	font-size: 19px;
	font-weight: 400;
	color: #23262F;
	word-break: break-word;
}

.af-sw-bank-name {
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	font-weight: 400;
	color: #54595F;
}

/* --- Przyciski --- */
.af-sw-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.af-sw-btn {
	appearance: none;
	cursor: pointer;
	border: 2px solid transparent;
	border-radius: 8px;
	padding: 14px 24px;
	font-family: 'Roboto', sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	white-space: nowrap;
}

.af-sw-btn-primary {
	background-color: #dfc290;
	color: #23262F;
	border-color: #dfc290;
}

.af-sw-btn-primary:hover {
	background-color: #cdae74;
	border-color: #cdae74;
}

.af-sw-btn-secondary {
	background-color: transparent;
	color: #253343;
	border-color: #253343;
}

.af-sw-btn-secondary:hover {
	background-color: #253343;
	color: #FFFFFF;
}

.af-sw-btn.af-sw-copied {
	opacity: 0.85;
}

/* --- Kod QR --- */
.af-sw-qr-wrap {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.af-sw-qr {
	background-color: #FFFFFF;
	border: 1px solid #E5E0D5;
	border-radius: 12px;
	padding: 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.af-sw-qr-code {
	width: 180px;
	height: 180px;
	line-height: 0;
}

.af-sw-qr-code img,
.af-sw-qr-code canvas {
	width: 100% !important;
	height: 100% !important;
}

.af-sw-qr-caption {
	font-family: 'Roboto', sans-serif;
	font-size: 13px;
	font-weight: 400;
	color: #54595F;
	text-align: center;
	max-width: 220px;
}

.af-sw-qr-error {
	font-family: 'Roboto', sans-serif;
	font-size: 13px;
	color: #B3261E;
	max-width: 220px;
	padding: 12px;
	border: 1px dashed #B3261E;
	border-radius: 8px;
}

/* --- Responsywność --- */
@media (max-width: 767px) {
	.af-sw-columns {
		flex-direction: column;
		align-items: stretch;
	}

	.af-sw-qr-wrap {
		align-items: center;
		align-self: center;
	}

	.af-sw-buttons {
		flex-direction: column;
	}

	.af-sw-btn {
		width: 100%;
		text-align: center;
	}
}
