.wcmcw {
	--wcmcw-border: #c9ced6;
	--wcmcw-border-soft: #e5e7eb;
	--wcmcw-surface: #f8fafc;
	--wcmcw-surface-soft: #f9fafb;
	--wcmcw-text-muted: #4b5563;
	max-width: 720px;
}

.wcmcw-heading,
.wcmcw-subheading {
	margin: 0;
}

.wcmcw-form {
	display: grid;
	gap: 16px;
}

.wcmcw-field {
	display: grid;
	gap: 6px;
}

.wcmcw-label {
	font-weight: 600;
}

.wcmcw-field-meta {
	margin-left: 6px;
	color: #6b7280;
	font-size: 0.86rem;
	font-weight: 500;
}

.wcmcw-help {
	margin: 0;
	color: var(--wcmcw-text-muted);
	font-size: 0.94rem;
	line-height: 1.5;
}

.wcmcw-input,
.wcmcw-textarea {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--wcmcw-border);
	border-radius: 4px;
	background: #fff;
	color: inherit;
	font: inherit;
}

.wcmcw-textarea {
	resize: vertical;
}

.wcmcw-checkbox {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	line-height: 1.45;
}

.wcmcw-checkbox input {
	margin-top: 4px;
}

.wcmcw-button {
	justify-self: start;
}

.wcmcw-button,
.wcmcw-link-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	text-decoration: none;
}

.wcmcw-link {
	display: inline-flex;
	align-items: center;
}

.wcmcw-order-details-link-wrap {
	margin: 18px 0 0;
	padding: 14px 16px;
	border: 1px solid var(--wcmcw-border-soft, #e5e7eb);
	border-radius: 6px;
	background: var(--wcmcw-surface, #f8fafc);
}

.wcmcw-order-details-link {
	margin: 0;
}

.wcmcw-notice {
	margin-bottom: 16px;
	padding: 12px 14px;
	border-left: 4px solid var(--wcmcw-text-muted);
	background: #f3f4f6;
	color: #111827;
}

.wcmcw-notice-error {
	border-left-color: #b91c1c;
	background: #fef2f2;
}

.wcmcw-notice-success {
	border-left-color: #047857;
	background: #ecfdf5;
}

.wcmcw-notice-list {
	margin: 0;
	padding-left: 20px;
}

.wcmcw-review {
	display: grid;
	gap: 18px;
}

.wcmcw-review-text {
	margin: 0;
	color: var(--wcmcw-text-muted);
}

.wcmcw-review-grid {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
}

.wcmcw-review-row {
	display: grid;
	gap: 4px;
	padding: 12px;
	border: 1px solid var(--wcmcw-border-soft);
	border-radius: 4px;
	background: var(--wcmcw-surface-soft);
}

.wcmcw-review-label {
	font-weight: 600;
}

.wcmcw-review-value {
	margin: 0;
}

.wcmcw-order-items {
	display: grid;
	gap: 12px;
}

.wcmcw-order-item {
	display: grid;
	gap: 6px;
	padding: 12px;
	border: 1px solid var(--wcmcw-border-soft);
	border-radius: 4px;
	background: #fff;
}

.wcmcw-order-item-name {
	font-weight: 600;
}

.wcmcw-order-item-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	color: var(--wcmcw-text-muted);
	font-size: 0.95rem;
}

.wcmcw-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.wcmcw-account {
	display: grid;
	gap: 20px;
}

.wcmcw-account-header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.wcmcw-account-title,
.wcmcw-account-intro {
	margin: 0;
}

.wcmcw-account-intro {
	margin-top: 8px;
}

.wcmcw-account-table-wrap {
	overflow-x: auto;
}

.wcmcw-account-table {
	width: 100%;
}

.wcmcw-account-status {
	font-weight: 600;
}

.wcmcw-account-empty {
	margin: 0;
}

.wcmcw-account-details {
	margin: 0;
}

.wcmcw-account-detail-row {
	display: grid;
	grid-template-columns: minmax(150px, 210px) minmax(0, 1fr);
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid var(--wcmcw-border-soft, #e5e7eb);
}

.wcmcw-account-detail-row dt {
	font-weight: 600;
}

.wcmcw-account-detail-row dt,
.wcmcw-account-detail-row dd {
	margin: 0;
}

.wcmcw-account-order-items h3 {
	margin-top: 0;
}

@media screen and (max-width: 600px) {
	.wcmcw-account-detail-row {
		grid-template-columns: minmax(0, 1fr);
		gap: 4px;
	}
}
