/* Retur Digital Produse – stiluri minimale (poți suprascrie din tema ta). */

.rdp-wrapper {
	margin: 16px 0;
}

.rdp-load-button {
	cursor: pointer;
}

.rdp-load-button[disabled] {
	opacity: 0.6;
	cursor: progress;
}

.rdp-message {
	margin: 12px 0;
	padding: 10px 14px;
	border-radius: 6px;
	font-size: 14px;
}

.rdp-message-error {
	background: #fdecea;
	color: #8a1c14;
	border: 1px solid #f5c2bd;
}

.rdp-message-info {
	background: #eaf3fd;
	color: #14508a;
	border: 1px solid #bdd9f5;
}

.rdp-products-intro {
	margin: 12px 0 8px;
	font-weight: 600;
}

.rdp-product-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.rdp-product-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border: 1px solid #e2e2e2;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.rdp-product-item:hover {
	background: #fafafa;
	border-color: #cfcfcf;
}

.rdp-product-checkbox {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
}

.rdp-product-name {
	font-size: 15px;
	line-height: 1.3;
}

/* --- Selector cantitate per produs --- */

.rdp-product-item {
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
}

.rdp-product-item.is-selected {
	border-color: #2b8a3e;
	background: #f3faf4;
}

.rdp-product-label {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	flex: 1 1 auto;
}

.rdp-qty-wrap {
	display: flex;
	align-items: center;
	gap: 6px;
	flex: 0 0 auto;
}

.rdp-qty-btn {
	width: 30px;
	height: 30px;
	line-height: 1;
	font-size: 18px;
	border: 1px solid #cfcfcf;
	border-radius: 6px;
	background: #fff;
	cursor: pointer;
	padding: 0;
}

.rdp-qty-btn:hover:not([disabled]) {
	background: #f0f0f0;
}

.rdp-qty-btn[disabled] {
	opacity: 0.4;
	cursor: not-allowed;
}

.rdp-qty-input {
	width: 56px;
	height: 30px;
	text-align: center;
	border: 1px solid #cfcfcf;
	border-radius: 6px;
	font-size: 15px;
	padding: 0 4px;
}

.rdp-qty-input[disabled] {
	opacity: 0.5;
	background: #f5f5f5;
}

.rdp-qty-of {
	font-size: 13px;
	color: #777;
	white-space: nowrap;
}
