.vt-wrap {
	--vt-head-bg: #143a78;
	--vt-head-color: #fff;
	--vt-border: #143a78;
	--vt-stripe: #eef3fb;
	--vt-selected: #d9e6fb;
	--vt-pad-y: 10px;
	--vt-align: center;
	margin: 1.5em 0;
}

.vt-table-scroll {
	overflow-x: auto;
	border: 1px solid var(--vt-border);
	border-radius: var(--vt-radius, 0);
}

.vt-table {
	width: 100%;
	border-collapse: collapse;
	border: 0;
	margin: 0;
}

.vt-table th,
.vt-table td {
	font-size: var(--vt-font-size, inherit);
	text-align: var(--vt-align, center);
	vertical-align: middle;
	border: 0;
	padding: var(--vt-pad-y, 10px) 14px;
}

.vt-table th {
	background: var(--vt-head-bg);
	color: var(--vt-head-color);
	font-weight: 700;
	padding-top: calc(var(--vt-pad-y, 10px) + 2px);
	padding-bottom: calc(var(--vt-pad-y, 10px) + 2px);
}

.vt-table td {
	border-top: 1px solid var(--vt-border);
}

.vt-table th.vt-left,
.vt-table td.vt-left {
	text-align: left;
}

.vt-table tbody tr:nth-child(even) {
	background: var(--vt-stripe);
}

.vt-table tbody tr.vt-row {
	cursor: pointer;
}

.vt-table tbody tr.vt-row.is-selected {
	background: var(--vt-selected);
}

.vt-table tbody tr.is-out {
	opacity: 0.55;
	cursor: not-allowed;
}

.vt-col-check {
	width: 44px;
}

.vt-check,
.vt-check-all {
	width: 18px;
	height: 18px;
	margin: 0;
	cursor: pointer;
}

.vt-qty {
	width: 72px;
	text-align: center;
	padding: 6px;
}

.vt-qty:disabled {
	opacity: 0.45;
}

.vt-out-label {
	display: block;
	color: #b32d2e;
}

.vt-summary {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	margin-top: 14px;
}

.vt-add-to-cart.loading {
	opacity: 0.6;
	pointer-events: none;
}

.vt-message {
	margin-top: 10px;
}

.vt-message:empty {
	display: none;
}

.vt-message.is-success {
	color: #0a6b2d;
}

.vt-message.is-error {
	color: #b32d2e;
}

/* Add-ons shown under the model name once the row is ticked */
.vt-cell-main {
	display: block;
}

.vt-addons {
	display: none;
	margin-top: 8px;
	padding: 8px 10px;
	border-left: 3px solid var(--vt-border);
	background: rgba(255, 255, 255, 0.65);
	font-size: 0.92em;
	font-weight: 400;
	text-align: left;
}

.vt-row.is-selected .vt-addons {
	display: block;
}

.vt-addons-title {
	display: block;
	font-weight: 600;
	margin-bottom: 4px;
}

.vt-addon {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	margin: 4px 0;
	cursor: pointer;
}

.vt-addon input {
	margin-top: 3px;
	flex-shrink: 0;
}

@media (max-width: 640px) {
	.vt-cell-main {
		flex: 1;
		text-align: right;
	}

	.vt-table thead {
		display: none;
	}

	.vt-table,
	.vt-table tbody,
	.vt-table tr,
	.vt-table td {
		display: block;
		width: 100%;
	}

	.vt-table tbody tr {
		border-top: 1px solid var(--vt-border);
		padding: 6px 0;
	}

	.vt-table tbody tr:first-child {
		border-top: 0;
	}

	.vt-table td {
		display: flex;
		justify-content: space-between;
		align-items: center;
		text-align: right;
		border: 0;
		padding: 6px 12px;
	}

	.vt-table td::before {
		content: attr(data-label);
		font-weight: 600;
		text-align: left;
		margin-right: 1em;
	}
}
