.smt-hidden-size-row,
.smt-default-quantity-hidden {
	display: none !important;
}

.smt-size-selector {
	width: 100%;
	margin: 14px 0 18px;
}

.smt-table {
	width: 100%;
	border-top: 1px solid rgba(0, 0, 0, 0.12);
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.smt-table-head,
.smt-size-row,
.smt-table-total {
	display: grid;
	grid-template-columns: minmax(70px, 1fr) minmax(150px, auto);
	align-items: center;
	gap: 18px;
}

.smt-table-head {
	padding: 11px 0;
	font-size: 14px;
	font-weight: 600;
	color: inherit;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.smt-table-head span:last-child {
	text-align: right;
}

.smt-size-row {
	min-height: 52px;
	padding: 7px 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.smt-size-row:last-child {
	border-bottom: 0;
}

.smt-size-label {
	font-size: 15px;
	line-height: 1.2;
}

.smt-qty-control {
	display: grid;
	grid-template-columns: 38px 54px 38px;
	justify-content: end;
	align-items: center;
	gap: 6px;
}

.smt-qty-btn,
.smt-qty-input {
	box-sizing: border-box;
	height: 38px;
	margin: 0 !important;
	border: 1px solid rgba(0, 0, 0, 0.16) !important;
	border-radius: 5px !important;
	background: transparent !important;
	color: inherit !important;
	box-shadow: none !important;
}

.smt-qty-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 !important;
	font-size: 22px !important;
	font-weight: 400 !important;
	line-height: 1 !important;
	cursor: pointer;
}

.smt-qty-btn:hover:not(:disabled) {
	background: rgba(0, 0, 0, 0.04) !important;
}

.smt-qty-input {
	width: 54px !important;
	padding: 0 4px !important;
	text-align: center;
	font-size: 15px !important;
	-moz-appearance: textfield;
}

.smt-qty-input::-webkit-outer-spin-button,
.smt-qty-input::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.smt-size-row-unavailable {
	opacity: 0.38;
}

.smt-size-row-unavailable .smt-qty-btn,
.smt-size-row-unavailable .smt-qty-input {
	cursor: not-allowed;
}

.smt-table-total {
	padding: 12px 0;
	border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.smt-total-value {
	text-align: right;
}

.smt-status {
	margin: 0;
	padding: 14px 0;
	font-size: 14px;
}

@media (max-width: 480px) {
	.smt-table-head,
	.smt-size-row,
	.smt-table-total {
		grid-template-columns: minmax(50px, 1fr) auto;
		gap: 10px;
	}

	.smt-qty-control {
		grid-template-columns: 36px 48px 36px;
		gap: 5px;
	}

	.smt-qty-btn,
	.smt-qty-input {
		height: 36px;
	}

	.smt-qty-input {
		width: 48px !important;
	}
}
