* {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 24px;
	font-family: Arial, Helvetica, sans-serif;
	background: #f6f7fb;
	color: #1f2937;
}

.container {
	max-width: 900px;
	margin: 0 auto;
	background: #ffffff;
	padding: 24px;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

h1,
h2 {
	margin: 0 0 16px;
}

.products {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
	margin-bottom: 24px;
}

.product {
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 16px;
	background: #fafafa;
}

.product-name {
	font-weight: 700;
	margin-bottom: 8px;
}

.product-price {
	color: #4b5563;
	margin-bottom: 12px;
}

.btn {
	display: inline-block;
	padding: 8px 12px;
	border: none;
	border-radius: 8px;
	background: #2563eb;
	color: #ffffff;
	cursor: pointer;
	font-weight: 600;
}

.btn:hover {
    background: #1d4ed8;
}

.btn-secondary {
	background: #6b7280;
}

.btn-secondary:hover {
	background: #dc2626;
}

table {
	width: 100%;
	border-collapse: collapse;
}

th,
td {
	padding: 10px 8px;
	border-bottom: 1px solid #e5e7eb;
	text-align: left;
}

th:nth-child(2),
td:nth-child(2) {
    text-align: center;
}

th:nth-child(3),
th:nth-child(4),
td:nth-child(3),
td:nth-child(4) {
    text-align: right;
}

.totale-row {
    border-top: 2px solid #1f2937;
    font-weight: bold;
}

.totale-label {
    text-align: right !important;
}

.totale-value {
    font-size: 1.1em;
    color: #2563eb;
}

