.as-odstupenie-button-wrap {
	margin: 1em 0;
}

/* Spoločný štýl tlačidiel – pill + oranžovo-červený gradient */
.as-odstupenie-button,
a.as-odstupenie-button,
.as-btn.as-btn-primary,
.as-btn.as-btn-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	padding: 14px 32px;
	background: linear-gradient(90deg, #ff8a00 0%, #e85d04 55%, #d44600 100%);
	color: #fff !important;
	text-decoration: none !important;
	border: none;
	border-radius: 9999px;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.2;
	font-family: inherit;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(232, 93, 4, 0.35);
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.as-odstupenie-button:hover,
a.as-odstupenie-button:hover,
.as-btn.as-btn-primary:hover:not(:disabled),
.as-btn.as-btn-secondary:hover:not(:disabled) {
	color: #fff !important;
	filter: brightness(1.05);
	box-shadow: 0 6px 18px rgba(232, 93, 4, 0.45);
	transform: translateY(-1px);
}

.as-odstupenie-button:active,
a.as-odstupenie-button:active,
.as-btn.as-btn-primary:active:not(:disabled),
.as-btn.as-btn-secondary:active:not(:disabled) {
	transform: translateY(0);
	box-shadow: 0 3px 10px rgba(232, 93, 4, 0.3);
}

.as-odstupenie-button .as-btn-icon,
.as-btn .as-btn-icon {
	display: inline-flex;
	flex-shrink: 0;
	width: 1.25rem;
	height: 1.25rem;
}

.as-odstupenie-button .as-btn-icon svg,
.as-btn .as-btn-icon svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.as-odstupenie-form-wrap {
	max-width: 640px;
	margin: 0 auto;
	font-family: inherit;
}

.as-odstupenie-intro {
	margin-bottom: 1.5rem;
	padding: 1rem;
	background: #f7f7f7;
	border-left: 4px solid #e85d04;
	border-radius: 0 4px 4px 0;
}

.as-odstupenie-step {
	margin-bottom: 2rem;
}

.as-odstupenie-step h3 {
	margin: 0 0 0.75rem;
	font-size: 1.25rem;
}

.as-odstupenie-hint,
.as-field-hint {
	color: #666;
	font-size: 0.875rem;
	margin: 0 0 1rem;
}

.as-odstupenie-form .as-field {
	margin-bottom: 1.25rem;
}

.as-odstupenie-form label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
}

.as-odstupenie-form .required {
	color: #c00;
}

.as-odstupenie-form input[type="text"],
.as-odstupenie-form input[type="email"] {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 1rem;
	box-sizing: border-box;
}

.as-odstupenie-form input:focus {
	outline: none;
	border-color: #e85d04;
	box-shadow: 0 0 0 2px rgba(232, 93, 4, 0.2);
}

.as-scope-field {
	border: none;
	padding: 0;
	margin: 0 0 1.25rem;
}

.as-scope-field legend {
	font-weight: 600;
	margin-bottom: 0.5rem;
	padding: 0;
}

.as-radio {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
	font-weight: normal;
	cursor: pointer;
}

.as-radio input {
	margin-top: 0.2rem;
}

.as-items-selection {
	margin-bottom: 1.25rem;
	padding: 1rem;
	background: #fafafa;
	border: 1px solid #e5e5e5;
	border-radius: 4px;
}

.as-item-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	padding: 0.5rem 0;
	border-bottom: 1px solid #eee;
	cursor: pointer;
}

.as-item-checkbox:last-child {
	border-bottom: none;
}

.as-item-checkbox input {
	margin-top: 0.25rem;
}

.as-item-meta {
	color: #666;
	font-size: 0.875rem;
}

.as-order-summary {
	margin-bottom: 1.5rem;
	padding: 1rem;
	background: #f0f4f8;
	border-radius: 4px;
}

.as-order-summary dl {
	margin: 0;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.25rem 1rem;
}

.as-order-summary dt {
	font-weight: 600;
}

.as-order-summary dd {
	margin: 0;
}

.as-btn {
	font-family: inherit;
}

.as-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	filter: none;
	transform: none;
	box-shadow: 0 4px 14px rgba(232, 93, 4, 0.2);
}

.as-message {
	margin-top: 1rem;
	padding: 0.75rem 1rem;
	border-radius: 4px;
}

.as-message.error {
	background: #fdecea;
	color: #c0392b;
	border: 1px solid #f5c6cb;
}

.as-message.success {
	background: #eafaf1;
	color: #1e8449;
	border: 1px solid #a9dfbf;
}

.as-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

.as-confirmation {
	text-align: center;
	padding: 2rem 1rem;
}

.as-confirmation-icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 1rem;
	background: #1e8449;
	color: #fff;
	border-radius: 50%;
	font-size: 2rem;
	line-height: 64px;
}

.as-confirmation-note {
	color: #666;
	font-size: 0.875rem;
	margin-top: 1.5rem;
}

.as-odstupenie-error {
	color: #c0392b;
}

.as-odstupenie-form-wrap.is-loading {
	opacity: 0.7;
	pointer-events: none;
}

/* Môj účet – akcie pri objednávkach */
.woocommerce-account .woocommerce-orders-table__cell-order-actions .button.as_withdrawal,
.woocommerce-account a.button.as_withdrawal {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	background: linear-gradient(90deg, #ff8a00 0%, #e85d04 55%, #d44600 100%);
	color: #fff !important;
	border: none;
	border-radius: 9999px;
	font-weight: 700;
	font-size: 0.875rem;
	line-height: 1.2;
	text-decoration: none !important;
	box-shadow: 0 4px 14px rgba(232, 93, 4, 0.35);
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.woocommerce-account .woocommerce-orders-table__cell-order-actions .button.as_withdrawal:hover,
.woocommerce-account a.button.as_withdrawal:hover {
	color: #fff !important;
	filter: brightness(1.05);
	box-shadow: 0 6px 18px rgba(232, 93, 4, 0.45);
	transform: translateY(-1px);
}

.as-odstupenie-account-wrap {
	margin-top: 1.5rem;
}

.as-withdrawal-expired,
.as-withdrawal-expired-notice {
	display: block;
	color: #8a4b00;
	font-size: 0.875rem;
	line-height: 1.5;
}

.as-withdrawal-expired-notice {
	margin-top: 1.5rem;
	padding: 1rem 1.25rem;
	background: #fff8f0;
	border: 1px solid #f0d2a6;
	border-left: 4px solid #e85d04;
	border-radius: 4px;
}

.woocommerce-account .woocommerce-orders-table .as-withdrawal-expired {
	max-width: 220px;
}
