/* =============================================================================
   Odstúpenie od kúpnej zmluvy - samostatná stránka (mimo layout webu)
   ============================================================================= */

* { box-sizing: border-box; }

body {
	margin: 0;
	padding: 40px 16px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 14px;
	line-height: 1.5;
	color: #333;
	background: #f5f5f7;
}

.withdrawal-page {
	max-width: 720px;
	margin: 0 auto;
	background: #fff;
	padding: 32px 28px;
	border-radius: 10px;
	box-shadow: 0 2px 14px rgba(0, 0, 0, .06);
}

.withdrawal-page h1 {
	font-size: 24px;
	font-weight: 700;
	margin: 0 0 24px;
	color: #222;
}

#WithdrawalForm .wf-section {
	margin-bottom: 28px;
}

#WithdrawalForm h2 {
	font-size: 17px;
	font-weight: 700;
	color: #333;
	margin: 0 0 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid #eee;
}

/* Inputs */
#WithdrawalForm input[type="text"],
#WithdrawalForm input[type="email"],
#WithdrawalForm input[type="date"] {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin: 0 0 12px;
	padding: 12px 14px;
	font-size: 14px;
	line-height: 1.3;
	color: #333;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 6px;
	box-shadow: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}

#WithdrawalForm input[type="text"]:focus,
#WithdrawalForm input[type="email"]:focus,
#WithdrawalForm input[type="date"]:focus {
	outline: none;
	border-color: #b42dab;
	box-shadow: 0 0 0 3px rgba(180, 45, 171, .12);
}

#WithdrawalForm input::placeholder {
	color: #999;
}

/* Returned-goods rows: product name + qty side by side */
#WithdrawalForm .withdrawal-prod-row {
	display: flex;
	width: 100%;
	gap: 10px;
	align-items: flex-start;
}

#WithdrawalForm .withdrawal-prod-row input.wf-prodname {
	flex: 1 1 auto;
}

#WithdrawalForm .withdrawal-prod-row input.wf-qty {
	flex: 0 0 90px;
	width: 90px;
	text-align: center;
}

/* "Pridať produkt" link */
#WithdrawalForm .wf-addrow {
	margin: 2px 0 0;
}

#WithdrawalForm .wf-addrow a {
	display: inline-block;
	width: auto;
	color: #b42dab;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

#WithdrawalForm .wf-addrow a:before {
	content: "+ ";
	font-weight: 700;
}

#WithdrawalForm .wf-addrow a:hover {
	text-decoration: underline;
}

/* Honeypot - skryté antispam pole (musí ostať mimo zorného poľa, nie display:none,
   aby ho boty "videli" ako bežné pole a vyplnili). */
#WithdrawalForm .wf-hp {
	position: absolute;
	left: -9999px;
	top: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Submit */
#WithdrawalForm .wf-submit {
	margin: 28px 0 0;
}

#WithdrawalForm .wf-submit button,
#WithdrawalForm .wf-submit a {
	display: inline-block;
	width: auto;
	padding: 12px 34px;
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	background: #b42dab;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	text-decoration: none;
	transition: background .15s ease;
}

#WithdrawalForm .wf-submit button:hover,
#WithdrawalForm .wf-submit a:hover {
	background: #97247f;
}

/* Confirmation / error message */
#WithdrawalMsg {
	margin-bottom: 18px;
	padding: 12px 16px;
	border-radius: 6px;
	font-size: 14px;
	background: #f3e7f2;
	border: 1px solid #e2c8e0;
	color: #6c1a63;
}

/* Mobile */
@media (max-width: 560px) {
	.withdrawal-page {
		padding: 22px 18px;
	}
	#WithdrawalForm .withdrawal-prod-row {
		flex-wrap: wrap;
	}
	#WithdrawalForm .withdrawal-prod-row input.wf-qty {
		flex-basis: 100%;
		width: 100%;
		text-align: left;
	}
}
