.product-table-container {
	display: grid;
	grid-template-columns: repeat(var(--prodcols), 1fr);
	border: 1px solid #ccc;
	font-family: sans-serif;
	width: 100%;
	align-items: center;
	border-radius: inherit;
}

.table-header {
	display: contents;
	background-color: #2b3990;
	color: -var(--font-color, black);
	font-weight: bold;
	text-align: center;
	padding: 1rem 0;
}

.table-header>div {
	white-space: nowrap;
	padding: 0.5rem;
	border-bottom: 1px solid #ccc;
}

.table-header>div::first-letter {
  text-transform: uppercase;
}

.table-row {
	display: contents;
	text-align: center;
	border-bottom: 1px solid #ddd;
}

.table-row>div {
	padding: 0.75rem;
	border-bottom: 1px solid #eee;
	height: 100%;
	text-align: center;
	align-content: center;
}

.old-price {
	text-decoration: line-through;
	color: #777;
	font-size: 0.9rem;
}

.new-price {
	font-size: 1.2rem;
	font-weight: bold;
	color: #002984;
}

.discount {
	font-size: 0.8rem;
	color: #777;
}

input[type="number"] {
	width: 60px;
	padding: 4px;
	text-align: center;
}

input[type="checkbox"] {
	transform: scale(1.2);
}

.table-footer {
	display: flex;
	justify-content: flex-end;
	padding: 1rem;
	gap: 1rem;
}

.table-footer button {
	font-weight: bold;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 17px 20px;
	background: linear-gradient(90deg, #344ea3 0%, #ee2225 100%);
	border-radius: 5px;
	color: #ffffff;
	font-size: 16px;
	height: 58px;
	height: 3rem;
	width: fit-content;
	padding: 1rem;
	background: linear-gradient(90deg, #344ea3 0%, #ee2225 100%);
	border: none;
	border-radius: 5px;
	color: #ffffff;
	font-size: 16px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
}

.qta_number {
	border: 1px solid #cccccc;
	border-radius: var(--radius-input, 10px);
}

.add-to-cart, .view-cart {
	height: 2rem;
	padding: 0 1.25rem;
	background: var(--gradient-primary, #344ea3);
	border-radius: var(--radius-button, 10px);
	color: var(--text-color-button, #ffffff);
	font-size: 0.875rem;
	font-weight: 700;
	border: none;
	cursor: pointer;
}

.view-cart {
	position: relative;
}

.view-cart .cart-count {
	position: absolute;
	left: 4.5rem;
	top: -0.75rem;
}

.qta-container {
  display: flex;           /* mette bottoni e input sulla stessa riga */
  align-items: center;     /* li allinea verticalmente */
  justify-content: center; /* opzionale: li centra orizzontalmente */

  padding: 0.75rem;
  border-bottom: 1px solid #eee;
  height: 100%;
  text-align: center;
}

.qta-container > button {
  width: 1rem;
  border-radius: var(--radius-button, 10px);
  cursor: pointer;
  border: none;
}

.qta-container > input.qta_number {
  width: 3rem;          /* puoi regolare la larghezza a piacere */
  text-align: center;
  margin: 0 0.25rem;    /* piccolo spazio tra bottoni e input */
}