/* 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;
}

/* --- Formularul propriu [formular_retur] (moștenește fontul și butoanele temei) --- */

.ssm-rf { max-width: 760px; }
.ssm-rf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.ssm-rf-field { margin: 0 0 16px; }
.ssm-rf-field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 14px; }
.ssm-rf abbr { color: #d63638; text-decoration: none; border: 0; }
.ssm-rf input[type="text"], .ssm-rf input[type="tel"], .ssm-rf input[type="email"], .ssm-rf textarea { width: 100%; box-sizing: border-box; }
.ssm-rf .is-invalid { border-color: #d63638 !important; box-shadow: 0 0 0 2px rgba(214, 54, 56, .15) !important; }
.ssm-rf-products { margin: 4px 0 20px; }
.ssm-rf-check { margin: 4px 0 18px; font-size: 14px; }
.ssm-rf-check label { display: flex; gap: 8px; align-items: flex-start; cursor: pointer; }
.ssm-rf-check input { margin-top: 3px; flex: none; }
.ssm-rf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ssm-rf-actions { margin: 0; }
.ssm-rf-submit[disabled] { opacity: .6; cursor: wait; }
.ssm-rf-msg { margin-top: 16px; padding: 12px 14px; border-radius: 6px; font-size: 14px; }
.ssm-rf-msg.is-ok { background: #edfaef; color: #1a6e30; border: 1px solid #b8e6c1; }
.ssm-rf-msg.is-err { background: #fdecea; color: #8a1c14; border: 1px solid #f5c2bd; }
@media (max-width: 600px) { .ssm-rf-grid { grid-template-columns: 1fr; } }
