.wcow-button {
	display: inline-block;
	padding: 0.7rem 1rem;
	background: var(--wcow-bg, #000);
	color: var(--wcow-text, #fff);
	border-radius: 6px;
	border: 2px solid #000;
	text-decoration: none;
	font-weight: 600;
	line-height: 1.2;
}

.wcow-button:hover,
.wcow-button:focus {
	opacity: 0.9;
	outline: 3px solid #000;
	outline-offset: 2px;
}

.wcow-card {
	max-width: 760px;
	margin: 1.5rem auto;
	padding: 1.25rem;
	background: #fff;
	color: #111;
	border: 1px solid #d5d5d5;
	border-radius: 10px;
}

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

.wcow-required {
	color: #b10000;
	font-weight: 700;
	margin-left: 0.15rem;
}

.wcow-optional {
	color: #444;
	font-size: 0.92em;
	font-weight: 400;
	margin-left: 0.35rem;
}

.wcow-form input,
.wcow-form select,
.wcow-form textarea {
	width: 100%;
	padding: 0.65rem;
	border: 1px solid #888;
	border-radius: 6px;
	background: #fff;
	color: #111;
}

.wcow-confirm {
	background: #000;
	color: #fff;
	border: 2px solid #000;
	padding: 0.7rem 1rem;
	border-radius: 6px;
	font-weight: 700;
	cursor: pointer;
}

.wcow-confirm:focus,
.wcow-confirm:hover {
	outline: 3px solid #000;
	outline-offset: 2px;
}

.wcow-alert {
	padding: 0.7rem 0.9rem;
	border-radius: 6px;
	margin-bottom: 0.9rem;
}

.wcow-alert-success {
	background: #e9f7e9;
	border: 1px solid #168016;
}

.wcow-alert-error {
	background: #fde9e9;
	border: 1px solid #a10000;
}

.wcow-items-wrapper {
	border: 1px solid #d5d5d5;
	background: #f8f8f8;
	padding: 0.8rem;
	border-radius: 6px;
	margin-bottom: 1rem;
}

.wcow-items-loading {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: 0.8rem;
	font-size: 0.95rem;
}

.wcow-items-loading[hidden] {
	display: none !important;
}

.wcow-spinner {
	display: inline-block;
	width: 18px;
	height: 18px;
	border: 2px solid #b9b9b9;
	border-top-color: #111;
	border-radius: 50%;
	animation: wcow-spin 0.8s linear infinite;
}

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

.wcow-item {
	display: flex;
	gap: 0.6rem;
	align-items: center;
	margin: 0.3rem 0;
}

.wcow-item input[type="checkbox"] {
	width: auto;
}

.wcow-item-row {
	display: grid;
	grid-template-columns: minmax(180px, 1fr) 90px auto;
	align-items: center;
	gap: 0.6rem;
	margin: 0.4rem 0;
}

.wcow-item-name {
	font-weight: 500;
	margin: 0;
	line-height: 1.3;
	word-break: break-word;
}

.wcow-item-qty {
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.wcow-item-row small {
	white-space: nowrap;
	line-height: 1.2;
}

@media (max-width: 600px) {
	.wcow-item-row {
		grid-template-columns: 1fr;
	}

	.wcow-item-row small {
		justify-self: start;
	}
}

