.sald-admin-checks,
.sald-product-info {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
}

.sald-admin-checks label,
.woocommerce_options_panel .sald-admin-checks label,
.woocommerce_variable_attributes .sald-admin-checks label {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	float: none;
	width: auto;
	min-width: 0;
	max-width: 100%;
	margin: 0;
	padding: 0;
	overflow-wrap: anywhere;
}

.sald-admin-checks label input[type="checkbox"] {
	flex-shrink: 0;
	float: none;
	margin: 0;
}

.sald-product-info {
	margin: 18px 0;
	padding: 14px 16px;
	flex-direction: column;
	border: 1px solid #e0a800;
	border-radius: 8px;
	background: #fffbea;
}

.sald-product-info p,
.sald-product-info details {
	margin: 0;
}

.sald-assignment-warning {
	margin-top: 8px;
	padding: 9px 11px;
	color: #7a2e0e;
	background: #fff1e8;
	border: 1px solid #f1b38f;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 700;
}

.sald-assignment-warning.is-blocking {
	color: #8f1111;
	background: #fff0f0;
	border-color: #df8b8b;
}

.sald-catalog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
	gap: 16px;
	max-width: 1400px;
}
.sald-catalog-card {
	padding: 20px;
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 8px;
}
.sald-catalog-card h3 { margin-top: 0; }
.sald-word-list { display: flex; flex-wrap: wrap; gap: 6px; }
.sald-word-list li { padding: 4px 9px; border-radius: 12px; background: #edf4fa; overflow-wrap: anywhere; }
.sald-catalog-card label { display: block; margin: 12px 0 6px; font-weight: 600; }
.sald-catalog-card textarea,
.sald-catalog-card input { width: 100%; box-sizing: border-box; }
.sald-catalog-new { border-style: dashed; }
.sald-card-editor summary { cursor: pointer; }
.sald-card-editor[open] summary { margin-bottom: 8px; }
.sald-visual-groups > .wrap > div[style*="display:grid"] { grid-template-columns: minmax(0, 1fr) !important; }
.sald-picker { margin: 24px 0; }
.sald-picker [hidden] { display: none !important; }
.sald-picker-toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.sald-picker-toolbar input { flex: 1 1 220px; min-width: 0; max-width: 100%; }
.sald-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); gap: 12px; }
.sald-product-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 2px solid #dcdcde; border-radius: 10px; cursor: pointer; background: #fff; min-width: 0; overflow-wrap: anywhere; }
.sald-product-card:hover { border-color: #2271b1; }
.sald-product-card:has(input:checked) { border-color: #007c65; background: #effaf6; box-shadow: 0 0 0 1px #007c65; }
.sald-product-card:focus-within { outline: 2px solid #2271b1; outline-offset: 3px; }
.sald-product-card input[type="checkbox"] { position: absolute; top: 18px; left: 18px; margin: 0; width: 20px; height: 20px; appearance: auto; -webkit-appearance: auto; accent-color: #007c65; background-color: white; }
.sald-product-card input[type="checkbox"]::before { display: none; }
.sald-product-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; border-radius: 6px; background: #f6f7f7; }
.sald-product-card small { color: #50575e; }
.sald-picker-selected { display: flex; flex-wrap: wrap; gap: 6px; max-height: 160px; overflow: auto; padding: 4px; }
.sald-selected-chip { border: 1px solid #b5d7cb; background: #effaf6; color: #154d3c; border-radius: 16px; padding: 6px 10px; cursor: pointer; text-align: left; overflow-wrap: anywhere; max-width: 100%; }
.sald-selected-chip:focus { outline: 2px solid #2271b1; }
@media (max-width: 600px) {
	.sald-product-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 120px), 1fr)); }
}
@media (max-width: 1100px) {
	.sald-shared-groups > .wrap > div[style*="display:grid"] { grid-template-columns: minmax(0, 1fr) !important; }
	.sald-shared-groups .regular-text { max-width: 100%; }
}

