/* Retragere din comandă – stiluri publice */

.rc-container {
	max-width: 560px;
	margin: 1.5em 0;
}

.rc-form {
	border: 1px solid #e2e4e7;
	border-radius: 8px;
	padding: 1.5em;
	background: #fff;
}

.rc-form .rc-title {
	margin-top: 0;
	font-size: 1.25em;
}

.rc-form p {
	margin: 0 0 1em;
}

.rc-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.3em;
}

.rc-form input[type="text"],
.rc-form input[type="email"] {
	width: 100%;
	padding: 0.6em;
	border: 1px solid #c7cbd1;
	border-radius: 4px;
	box-sizing: border-box;
}

.rc-items {
	list-style: none;
	margin: 0 0 1.2em;
	padding: 0;
}

.rc-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1em;
	padding: 0.7em 0;
	border-bottom: 1px solid #eef0f2;
}

.rc-item:last-child {
	border-bottom: 0;
}

.rc-item-name {
	flex: 1;
}

.rc-item-qty {
	display: flex;
	align-items: center;
	gap: 0.5em;
	font-weight: 400;
	margin: 0;
}

.rc-item-qty input[type="number"] {
	width: 4.5em;
	padding: 0.4em;
	border: 1px solid #c7cbd1;
	border-radius: 4px;
}

.rc-item-max {
	color: #6c7781;
	font-size: 0.9em;
}

.rc-form .button,
.rc-form button[type="submit"] {
	background: #2b6cb0;
	color: #fff;
	border: 0;
	padding: 0.7em 1.4em;
	border-radius: 4px;
	cursor: pointer;
	font-size: 1em;
}

.rc-form .button:hover,
.rc-form button[type="submit"]:hover {
	background: #245a91;
}

.rc-notice {
	border-left: 4px solid #2b6cb0;
	background: #f3f7fb;
	padding: 1em 1.2em;
	border-radius: 4px;
}

/* Buton sticky (flotant) */
.rc-sticky {
	position: fixed;
	bottom: 20px;
	z-index: 9999;
	display: inline-block;
	padding: 0.75em 1.25em;
	background: #2b6cb0;
	color: #fff;
	font-size: 0.95em;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	border-radius: 999px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
	transition: background 0.15s ease, transform 0.15s ease;
}

.rc-sticky:hover,
.rc-sticky:focus {
	background: #245a91;
	color: #fff;
	transform: translateY(-2px);
}

.rc-sticky--center:hover,
.rc-sticky--center:focus {
	transform: translateX(-50%) translateY(-2px);
}

.rc-sticky--left {
	left: 20px;
}

.rc-sticky--right {
	right: 20px;
}

.rc-sticky--center {
	left: 50%;
	transform: translateX(-50%);
}

@media (max-width: 480px) {
	.rc-sticky {
		bottom: 12px;
		padding: 0.65em 1em;
		font-size: 0.9em;
	}

	.rc-sticky--left {
		left: 12px;
	}

	.rc-sticky--right {
		right: 12px;
	}
}
