/* Malwa — edycja bileciku w koszyku.
   Celowo neutralne: to jedyny fragment wtyczki żyjący wewnątrz motywu,
   więc dziedziczy jego font i kolory zamiast narzucać własne. */

.malwa-edit {
	margin-top: 8px;
	font-size: 13px;
	line-height: 1.5;
}

.malwa-edit button,
.malwa-edit .malwa-relink {
	background: none;
	border: 0;
	padding: 0;
	margin: 0 14px 0 0;
	font: inherit;
	color: inherit;
	opacity: .65;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.malwa-edit button:hover,
.malwa-edit .malwa-relink:hover {
	opacity: 1;
}

.malwa-edit button:disabled {
	opacity: .35;
	cursor: default;
}

.malwa-form {
	margin-top: 10px;
	max-width: 380px;
}

.malwa-form[hidden] {
	display: none;
}

.malwa-form label {
	display: block;
	margin-bottom: 6px;
	opacity: .65;
	font-size: 12px;
}

.malwa-form textarea {
	width: 100%;
	box-sizing: border-box;
	resize: vertical;
	padding: 10px 12px;
	font: inherit;
	font-size: 14px;
	line-height: 1.45;
	border: 1px solid rgba(0, 0, 0, .18);
	border-radius: 6px;
	background: #fff;
}

.malwa-form textarea:focus {
	outline: none;
	border-color: rgba(0, 0, 0, .45);
}

.malwa-form-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 8px;
}

.malwa-count {
	opacity: .55;
	font-size: 12px;
	font-variant-numeric: tabular-nums;
}

.malwa-actions {
	display: flex;
	gap: 14px;
}

.malwa-actions .malwa-save {
	opacity: 1;
	font-weight: 600;
}

.malwa-actions .malwa-drop {
	opacity: .55;
}

.malwa-error {
	margin: 8px 0 0;
	font-size: 12.5px;
	color: #a3312a;
}

.malwa-edit.is-saving {
	opacity: .6;
}

.malwa-qty {
	display: inline-block;
	min-width: 2em;
	text-align: center;
	font-variant-numeric: tabular-nums;
}
