/**
 * Shipping label print view.
 */

* {
	box-sizing: border-box;
}

body {
	font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
	color: #111;
	margin: 0;
	padding: 1.5rem;
	background: #f0f0f1;
}

.actions {
	margin-bottom: 1.25rem;
	display: flex;
	gap: 0.75rem;
	align-items: center;
	flex-wrap: wrap;
}

.actions button {
	font-size: 1rem;
	padding: 0.6rem 1rem;
	cursor: pointer;
}

.label {
	width: 100%;
	max-width: 4in;
	min-height: 3in;
	margin: 0 auto;
	padding: 0.55in 0.45in;
	background: #fff;
	border: 1px solid #c3c4c7;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.from {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #646970;
	margin: 0 0 0.15rem;
}

.shop {
	font-size: 0.85rem;
	margin: 0 0 0.85rem;
	padding-bottom: 0.65rem;
	border-bottom: 1px solid #dcdcde;
}

.to-label {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #646970;
	margin: 0 0 0.35rem;
}

.address {
	font-size: 1.35rem;
	font-weight: 600;
	line-height: 1.35;
	margin: 0;
	white-space: pre-line;
}

.order-ref {
	margin-top: 1rem;
	font-size: 0.75rem;
	color: #646970;
}

@media print {
	body {
		background: #fff;
		padding: 0;
	}

	.actions {
		display: none !important;
	}

	.label {
		max-width: none;
		min-height: 0;
		border: none;
		box-shadow: none;
		margin: 0;
		padding: 0.35in 0.3in;
	}
}
