/* Herroepingsknop voor WooCommerce - bewust neutrale styling die meebeweegt met het thema. */

.hkw-wrap {
	max-width: 50%;
    background: #f3f3f3;
    padding: 80px 80px;
    margin: 40px 0px;
}

.hkw-form .hkw-field {
	display: flex;
	flex-direction: column;
	margin-bottom: 1em;
	margin-bottom: 0px !important;
}

.hkw-form label {
	font-weight: 600;
	margin-bottom: 0.25em;
}

.hkw-form input[type="text"],
.hkw-form input[type="email"],
.hkw-form textarea {
	height: 57px;
	line-height: 57px;
	border: 1px solid #E5E8E8;
    border-radius: 3px;
    color: #061021;
    width: 100%;
    margin-bottom: 16px;
    padding: 0px 30px;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    transition: color .2s ease, border-color .2s ease;
}

.hkw-form input[type="text"]::placeholder,
.hkw-form input[type="email"]::placeholder,
.hkw-form input[type="number"]::placeholder,
.hkw-form textarea::placeholder {
    color: rgb(177, 177, 177);
}

.hkw-actions {
	margin-bottom: 0px !important;
}

.hkw-actions--confirmation {
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
	margin-top: 1.5em;
}

.hkw-button--ghost {
	background: transparent !important;
	border: 2px solid #c39248;
	color: #c39248 !important;
}

.hkw-button--ghost:hover {
	background: #c39248 !important;
	border: 2px solid currentColor;
	color: #fff !important;
}

.hkw-reason textarea {
	width: 100%;
}

.hkw-intro {
	margin-bottom: 1em;
}

.hkw-notice {
	padding: 0.75em 1em;
	margin-bottom: 1em;
	border: 1px solid transparent;
	border-radius: 4px;
}

.hkw-notice--error {
	background: #fdecea;
	color: #611a15;
	border-color: #f5c6cb;
}

.hkw-notice--success {
	background: #edf7ed;
	color: #1e4620;
	border-color: #c3e6cb;
}

.hkw-items {
	width: 100%;
	margin: 1em 0;
	border-collapse: collapse;
}

.hkw-items th,
.hkw-items td {
	padding: 0.5em;
	text-align: left;
	vertical-align: middle;
	border-bottom: 1px solid #e0e0e0;
}

.hkw-items tr:nth-child(odd) {
	background-color: unset !important;
}

.hkw-col-select {
	width: 2em;
}

.hkw-product {
	display: flex;
	align-items: center;
	gap: 0.75em;
}

.hkw-product img {
	width: 48px;
	height: 64px;
	object-fit: cover;
	border-radius: 3px;
	flex-shrink: 0;
}

.hkw-product-info {
	min-width: 0;
}

.hkw-col-qty {
	width: 9em;
}

.hkw-col-price {
	width: 7em;
	white-space: nowrap;
}

.hkw-items .hkw-col-qty input[type="number"] {
	width: 56px;
    height: 40px;
	padding: 8px;
}

.hkw-item-excluded {
	opacity: 0.6;
}

.hkw-item-withdrawn {
	opacity: 0.55;
}

.hkw-excluded-note {
	display: block;
	margin-top: 0.25em;
	font-size: 0.85em;
	font-style: italic;
}

.hkw-withdrawn-note {
	display: block;
	margin-top: 0.25em;
	font-size: 0.85em;
	font-style: italic;
	color: #777;
}

.hkw-qty-max {
	margin-left: 0.4em;
	font-size: 0.85em;
	color: #666;
}

.hkw-muted {
	color: #666;
	font-size: 0.9em;
}

/* Laadstatus tijdens AJAX. */
.hkw-loading {
	display: flex;
	align-items: center;
	gap: 0.5em;
	padding: 1em 0;
	color: #555;
}

.hkw-spinner {
	display: inline-block;
	width: 1.1em;
	height: 1.1em;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: hkw-spin 0.7s linear infinite;
}

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

/* Resultaat verschijnt met een subtiele fade-in. */
.hkw-results > * {
	animation: hkw-fade 0.25s ease;
}

@keyframes hkw-fade {
	from {
		opacity: 0;
		transform: translateY(4px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.hkw-results {
	margin-top: 1.5em;
}

/* Zoekformulier wordt vervangen door het resultaat in plaats van eronder te verschijnen. */
.hkw-wrap.hkw-hide-search .hkw-search {
	display: none;
}

.hkw-wrap.hkw-hide-search .hkw-results {
	margin-top: 0;
}

@media (prefers-reduced-motion: reduce) {
	.hkw-spinner {
		animation: none;
	}

	.hkw-results > * {
		animation: none;
	}
}

@media (max-width: 1280px) {
	.hkw-wrap {
		max-width: 100%;
		padding: 40px;
	}
}

@media (max-width: 480px) {
	.hkw-col-qty {
		width: auto;
	}

	.hkw-wrap {
		padding: 24px;
	}
}
