.smm-order-builder {
	margin: 1.5em 0;
	padding: 1.25em;
	border: 1px solid var(--woocommerce-form-border-color, #e0e0e0);
	border-radius: 8px;
	background: var(--woocommerce-form-background, #fafafa);
}

.smm-field {
	margin-bottom: 1.25em;
}

.smm-field label {
	display: block;
	margin-bottom: 0.5em;
}

.smm-field-link input {
	width: 100%;
}

.smm-qty-grid,
.smm-extra-qty-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 10px;
}

.smm-qty-option {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 12px 8px;
	border: 2px solid #ddd;
	border-radius: 8px;
	cursor: pointer;
	text-align: center;
	transition: border-color 0.15s, background 0.15s;
}

.smm-qty-option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.smm-qty-option:has(input:checked) {
	border-color: var(--woocommerce-primary, #720eec);
	background: rgba(114, 14, 236, 0.06);
}

.smm-qty-label {
	font-weight: 600;
	font-size: 1.05em;
}

.smm-qty-price {
	font-size: 0.9em;
	color: #555;
	margin-top: 4px;
}

.smm-extra-block {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px dashed #ddd;
}

.smm-extra-toggle {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	margin-bottom: 8px;
}

.smm-hidden {
	display: none !important;
}

.smm-total-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 1em;
	border-top: 2px solid #ddd;
	font-size: 1.15em;
}

.smm-notice {
	color: #b32d2e;
}

form.cart:has(.smm-order-builder) .quantity {
	display: none !important;
}

.smm-customer-order-services {
	margin: 2em 0;
}

.smm-customer-order-services h2 {
	font-size: 1.25em;
	margin-bottom: 0.75em;
}

.smm-customer-order-note {
	background: #f0f6fc;
	border-left: 4px solid #2271b1;
	padding: 10px 14px;
	margin-bottom: 1em;
}

.smm-customer-services-table {
	width: 100%;
	margin-bottom: 0.75em;
}

.smm-customer-services-table th {
	font-weight: 600;
}

.smm-customer-progress-summary {
	color: #50575e;
	font-size: 0.95em;
}

.smm-customer-done {
	color: #1e8c45;
}

.smm-status-completed,
.smm-status-complete {
	color: #1e8c45;
	font-weight: 600;
}

.smm-status-partial {
	color: #9a6700;
}

.smm-status-pending,
.smm-status-processing,
.smm-status-in-progress {
	color: #135e96;
}
